Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::ZeroObjColSingletonPS Class Reference

Postsolves column singletons with zero objective. More...

Public Member Functions

 ZeroObjColSingletonPS (const SPxLP &lp, const SPxMainSM &, int _j, int _i)
 
 ZeroObjColSingletonPS (const ZeroObjColSingletonPS &old)
 copy constructor More...
 
ZeroObjColSingletonPSoperator= (const ZeroObjColSingletonPS &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
 
const int m_i
 
const int m_old_j
 
const Real m_lhs
 
const Real m_rhs
 
const Real m_lower
 
const Real m_upper
 
DSVector m_row
 

Additional Inherited Members

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

Detailed Description

Postsolves column singletons with zero objective.

Definition at line 666 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ZeroObjColSingletonPS() [1/2]

ZeroObjColSingletonPS ( const SPxLP lp,
const SPxMainSM ,
int  _j,
int  _i 
)

Definition at line 680 of file spxmainsm.h.

◆ ZeroObjColSingletonPS() [2/2]

copy constructor

Definition at line 692 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 715 of file spxmainsm.h.

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

◆ execute()

◆ operator=()

ZeroObjColSingletonPS& operator= ( const ZeroObjColSingletonPS rhs)

assignment operator

Definition at line 704 of file spxmainsm.h.

References SPxMainSM::ZeroObjColSingletonPS::m_row, and SPxMainSM::PostStep::operator=().

Member Data Documentation

◆ m_i

const int m_i
private

Definition at line 670 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 669 of file spxmainsm.h.

◆ m_lhs

const Real m_lhs
private

Definition at line 672 of file spxmainsm.h.

◆ m_lower

const Real m_lower
private

Definition at line 674 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 671 of file spxmainsm.h.

◆ m_rhs

const Real m_rhs
private

Definition at line 673 of file spxmainsm.h.

◆ m_row

DSVector m_row
private

Definition at line 676 of file spxmainsm.h.

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

◆ m_upper

const Real m_upper
private

Definition at line 675 of file spxmainsm.h.