Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::FixBoundsPS Class Reference

Postsolves variable bound fixing. More...

Public Member Functions

 FixBoundsPS (const SPxLP &lp, int j, Real val)
 
 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 (DVector &x, DVector &y, DVector &s, DVector &r, DataArray< SPxSolver::VarStatus > &cBasis, DataArray< SPxSolver::VarStatus > &rBasis, bool isOptimal) const
 
- Public Member Functions inherited from SPxMainSM::PostStep
 PostStep (const char *p_name, 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< SPxSolver::VarStatus > rows, DataArray< SPxSolver::VarStatus > cols) const
 

Private Attributes

const int m_j
 
SPxSolver::VarStatus m_status
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM::PostStep
static Real eps ()
 

Detailed Description

Postsolves variable bound fixing.

Definition at line 521 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FixBoundsPS() [1/2]

◆ FixBoundsPS() [2/2]

FixBoundsPS ( const FixBoundsPS old)

copy constructor

Definition at line 547 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 564 of file spxmainsm.h.

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

◆ execute()

void execute ( DVector x,
DVector y,
DVector s,
DVector r,
DataArray< SPxSolver::VarStatus > &  cBasis,
DataArray< SPxSolver::VarStatus > &  rBasis,
bool  isOptimal 
) const
virtual

Implements SPxMainSM::PostStep.

Definition at line 542 of file spxmainsm.cpp.

◆ operator=()

FixBoundsPS& operator= ( const FixBoundsPS rhs)

assignment operator

Definition at line 553 of file spxmainsm.h.

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

Member Data Documentation

◆ m_j

const int m_j
private

Definition at line 524 of file spxmainsm.h.

◆ m_status

SPxSolver::VarStatus m_status
private

Definition at line 525 of file spxmainsm.h.

Referenced by SPxMainSM::FixBoundsPS::operator=().