Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::FreeConstraintPS Class Reference

Postsolves unconstraint constraints. More...

Public Member Functions

 FreeConstraintPS (const SPxLPBase< R > &lp, int _i, std::shared_ptr< Tolerances > tols)
 
 FreeConstraintPS (const FreeConstraintPS &old)
 copy constructor More...
 
FreeConstraintPSoperator= (const FreeConstraintPS &rhs)
 assignment operator More...
 
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 More...
 
- 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. More...
 
 PostStep (const PostStep &old)
 copy constructor. More...
 
PostStepoperator= (const PostStep &)
 assignment operator More...
 
virtual ~PostStep ()
 destructor. More...
 
virtual const char * getName () const
 get name of simplifying step. More...
 
virtual PostStepclone () const =0
 clone function for polymorphism More...
 
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 =0
 executes the postsolving. More...
 
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]

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

Definition at line 212 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeConstraintPS::clone().

◆ FreeConstraintPS() [2/2]

copy constructor

Definition at line 220 of file spxmainsm.h.

Member Function Documentation

◆ clone()

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::FreeConstraintPS().

◆ execute()

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=()

Member Data Documentation

◆ m_i

int m_i
private

Definition at line 205 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeConstraintPS::operator=().

◆ m_old_i

int m_old_i
private

Definition at line 206 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeConstraintPS::operator=().

◆ m_row

DSVectorBase<R> m_row
private

Definition at line 207 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeConstraintPS::operator=().

◆ m_row_obj

R m_row_obj
private

Definition at line 208 of file spxmainsm.h.

Referenced by SPxMainSM< R >::FreeConstraintPS::operator=().