Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::FreeZeroObjVariablePS Class Reference

Postsolves the case when constraints are removed due to a variable with zero objective that is free in one direction. More...

Public Member Functions

 FreeZeroObjVariablePS (const SPxLPBase< R > &lp, int _j, bool loFree, DSVectorBase< R > col_idx_sorted)
 
 FreeZeroObjVariablePS (const FreeZeroObjVariablePS &old)
 copy constructor More...
 
FreeZeroObjVariablePSoperator= (const FreeZeroObjVariablePS &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, 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
 

Private Attributes

const int m_j
 
const int m_old_j
 
const int m_old_i
 
const R m_bnd
 
DSVectorBase< R > m_col
 
DSVectorBase< R > m_lRhs
 
DSVectorBase< R > m_rowObj
 
Array< DSVectorBase< R > > m_rows
 
const bool m_loFree
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM< R >::PostStep
static R eps ()
 

Detailed Description

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

Postsolves the case when constraints are removed due to a variable with zero objective that is free in one direction.

Definition at line 583 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FreeZeroObjVariablePS() [1/2]

◆ FreeZeroObjVariablePS() [2/2]

copy constructor

Definition at line 625 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 652 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::execute(), SPxMainSM< R >::FreeZeroObjVariablePS, 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=()

Member Data Documentation

◆ m_bnd

const R m_bnd
private

Definition at line 589 of file spxmainsm.h.

◆ m_col

DSVectorBase<R> m_col
private

Definition at line 590 of file spxmainsm.h.

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

◆ m_j

const int m_j
private

Definition at line 586 of file spxmainsm.h.

◆ m_loFree

const bool m_loFree
private

Definition at line 594 of file spxmainsm.h.

◆ m_lRhs

DSVectorBase<R> m_lRhs
private

Definition at line 591 of file spxmainsm.h.

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

◆ m_old_i

const int m_old_i
private

Definition at line 588 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 587 of file spxmainsm.h.

◆ m_rowObj

DSVectorBase<R> m_rowObj
private

Definition at line 592 of file spxmainsm.h.

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

◆ m_rows

Array<DSVectorBase<R> > m_rows
private

Definition at line 593 of file spxmainsm.h.

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