Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::EmptyConstraintPS Class Reference

Postsolves empty constraints. More...

Public Member Functions

 EmptyConstraintPS (const SPxLP &lp, int _i)
 
 EmptyConstraintPS (const EmptyConstraintPS &old)
 copy constructor More...
 
EmptyConstraintPSoperator= (const EmptyConstraintPS &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
 
int m_old_i
 
Real m_row_obj
 

Additional Inherited Members

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

Detailed Description

Postsolves empty constraints.

Definition at line 232 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ EmptyConstraintPS() [1/2]

EmptyConstraintPS ( const SPxLP lp,
int  _i 
)

Definition at line 241 of file spxmainsm.h.

◆ EmptyConstraintPS() [2/2]

copy constructor

Definition at line 248 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 271 of file spxmainsm.h.

References SPxMainSM::EmptyConstraintPS.

◆ 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 166 of file spxmainsm.cpp.

References SPxSolver::BASIC, and SPxMainSM::PostStep::checkBasisDim().

◆ operator=()

Member Data Documentation

◆ m_i

int m_i
private

Definition at line 235 of file spxmainsm.h.

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

◆ m_old_i

int m_old_i
private

Definition at line 236 of file spxmainsm.h.

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

◆ m_row_obj

Real m_row_obj
private

Definition at line 237 of file spxmainsm.h.

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