Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::RowObjPS Class Reference

Postsolves row objectives. More...

Public Member Functions

 RowObjPS (const SPxLP &lp, int _i, int _j)
 
 RowObjPS (const RowObjPS &old)
 copy constructor More...
 
RowObjPSoperator= (const RowObjPS &rhs)
 assignment operator More...
 
virtual void execute (DVector &x, DVector &y, DVector &s, DVector &r, DataArray< SPxSolver::VarStatus > &cBasis, DataArray< SPxSolver::VarStatus > &rBasis, bool isOptimal) const
 
virtual PostStepclone () const
 clone function for polymorphism More...
 
- 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

int m_i
 row index More...
 
int m_j
 slack column index More...
 

Additional Inherited Members

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

Detailed Description

Postsolves row objectives.

Definition at line 136 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ RowObjPS() [1/2]

RowObjPS ( const SPxLP lp,
int  _i,
int  _j 
)

Definition at line 144 of file spxmainsm.h.

◆ RowObjPS() [2/2]

RowObjPS ( const RowObjPS old)

copy constructor

Definition at line 150 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 171 of file spxmainsm.h.

◆ execute()

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

◆ operator=()

RowObjPS& operator= ( const RowObjPS rhs)

assignment operator

Definition at line 156 of file spxmainsm.h.

References SPxMainSM::PostStep::execute(), SPxMainSM::RowObjPS::m_i, and SPxMainSM::RowObjPS::m_j.

Member Data Documentation

◆ m_i

int m_i
private

row index

Definition at line 139 of file spxmainsm.h.

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

◆ m_j

int m_j
private

slack column index

Definition at line 140 of file spxmainsm.h.

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