Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::FixBoundsPS Class Reference

Postsolves variable bound fixing. More...

Public Member Functions

 FixBoundsPS (const SPxLPBase< R > &lp, int j, R val, std::shared_ptr< Tolerances > tols)
 
 FixBoundsPS (const FixBoundsPS &old)
 copy constructor More...
 
FixBoundsPSoperator= (const FixBoundsPS &rhs)
 assignment operator More...
 
virtual PostStepclone () const
 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
 
- 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 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

const int m_j
 
SPxSolverBase< R >::VarStatus m_status
 

Detailed Description

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

Postsolves variable bound fixing.

Definition at line 545 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FixBoundsPS() [1/2]

FixBoundsPS ( const SPxLPBase< R > &  lp,
int  j,
val,
std::shared_ptr< Tolerances tols 
)

◆ FixBoundsPS() [2/2]

FixBoundsPS ( const FixBoundsPS old)

copy constructor

Definition at line 571 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 588 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::execute(), SPxMainSM< R >::FixBoundsPS, and soplex::spx_alloc().

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

FixBoundsPS& operator= ( const FixBoundsPS rhs)

assignment operator

Definition at line 577 of file spxmainsm.h.

References SPxMainSM< R >::FixBoundsPS::m_status, and SPxMainSM< R >::PostStep::operator=().

Member Data Documentation

◆ m_j

const int m_j
private

Definition at line 548 of file spxmainsm.h.

◆ m_status

SPxSolverBase<R>::VarStatus m_status
private

Definition at line 549 of file spxmainsm.h.

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