SoPlex
Loading...
Searching...
No Matches
SPxMainSM< R >::FreeConstraintPS Class Reference

Postsolves unconstraint constraints. More...

Inheritance diagram for SPxMainSM< R >::FreeConstraintPS:
SPxMainSM< R >::PostStep

Public Member Functions

 FreeConstraintPS (const SPxLPBase< R > &lp, int _i, std::shared_ptr< Tolerances > tols)
 FreeConstraintPS (const FreeConstraintPS &old)
 copy constructor
FreeConstraintPSoperator= (const FreeConstraintPS &rhs)
 assignment operator
virtual void execute (VectorBase< R > &x, VectorBase< R > &y, VectorBase< R > &s, VectorBase< R > &r, DataArray< typename SPxSolverBase< R >::VarStatus > &cBasis, DataArray< typename SPxSolverBase< R >::VarStatus > &rBasis, bool isOptimal) const
virtual PostStepclone () const
 clone function for polymorphism
Public Member Functions inherited from SPxMainSM< R >::PostStep
 PostStep (const char *p_name, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0)
 constructor.
 PostStep (const PostStep &old)
 copy constructor.
PostStepoperator= (const PostStep &)
 assignment operator
virtual ~PostStep ()
 destructor.
virtual const char * getName () const
 get name of simplifying step.
virtual bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
virtual R feastol () const
virtual R epsilon () const

Private Attributes

int m_i
int m_old_i
DSVectorBase< R > m_row
m_row_obj

Detailed Description

template<class R>
class soplex::SPxMainSM< R >::FreeConstraintPS

Postsolves unconstraint constraints.

Definition at line 202 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FreeConstraintPS() [1/2]

template<class R>
FreeConstraintPS ( const SPxLPBase< R > & lp,
int _i,
std::shared_ptr< Tolerances > tols )

◆ FreeConstraintPS() [2/2]

template<class R>
FreeConstraintPS ( const FreeConstraintPS & old)

copy constructor

Definition at line 220 of file spxmainsm.h.

References FreeConstraintPS(), m_i, m_old_i, m_row, m_row_obj, and SPxMainSM< R >::PostStep::PostStep().

Member Function Documentation

◆ clone()

template<class R>
virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 245 of file spxmainsm.h.

References SPxMainSM< R >::FreeConstraintPS, and SPxMainSM< R >::PostStep::PostStep().

◆ execute()

template<class R>
virtual void execute ( VectorBase< R > & x,
VectorBase< R > & y,
VectorBase< R > & s,
VectorBase< R > & r,
DataArray< typename SPxSolverBase< R >::VarStatus > & cBasis,
DataArray< typename SPxSolverBase< R >::VarStatus > & rBasis,
bool isOptimal ) const
virtual

◆ operator=()

template<class R>
FreeConstraintPS & operator= ( const FreeConstraintPS & rhs)

assignment operator

Definition at line 228 of file spxmainsm.h.

References FreeConstraintPS(), m_i, m_old_i, m_row, and m_row_obj.

Member Data Documentation

◆ m_i

template<class R>
int m_i
private

Definition at line 205 of file spxmainsm.h.

Referenced by FreeConstraintPS(), FreeConstraintPS(), and operator=().

◆ m_old_i

template<class R>
int m_old_i
private

Definition at line 206 of file spxmainsm.h.

Referenced by FreeConstraintPS(), FreeConstraintPS(), and operator=().

◆ m_row

template<class R>
DSVectorBase<R> m_row
private

Definition at line 207 of file spxmainsm.h.

Referenced by FreeConstraintPS(), FreeConstraintPS(), and operator=().

◆ m_row_obj

template<class R>
R m_row_obj
private

Definition at line 208 of file spxmainsm.h.

Referenced by FreeConstraintPS(), FreeConstraintPS(), and operator=().