SoPlex Documentation
Loading...
Searching...
No Matches
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...

Inheritance diagram for SPxMainSM< R >::FreeZeroObjVariablePS:
SPxMainSM< R >::PostStep

Public Member Functions

 FreeZeroObjVariablePS (const SPxLPBase< R > &lp, int _j, bool loFree, DSVectorBase< R > col_idx_sorted, std::shared_ptr< Tolerances > tols)
 
 FreeZeroObjVariablePS (const FreeZeroObjVariablePS &old)
 copy constructor
 
FreeZeroObjVariablePSoperator= (const FreeZeroObjVariablePS &rhs)
 assignment operator
 
virtual PostStepclone () const
 clone function for polymorphism
 
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, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0)
 constructor.
 
 PostStep (const PostStep &old)
 copy constructor.
 
PostStepoperator= (const PostStep &)
 assignment operator
 
virtual ~PostStep ()
 destructor.
 
virtual const char * getName () const
 get name of simplifying step.
 
virtual bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 
virtual R feastol () const
 
virtual R epsilon () 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
 

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 604 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FreeZeroObjVariablePS() [1/2]

◆ FreeZeroObjVariablePS() [2/2]

template<class R >
FreeZeroObjVariablePS ( const FreeZeroObjVariablePS & old)

copy constructor

Definition at line 647 of file spxmainsm.h.

Member Function Documentation

◆ clone()

template<class R >
virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 674 of file spxmainsm.h.

References SPxMainSM< R >::FreeZeroObjVariablePS, and soplex::spx_alloc().

◆ execute()

template<class R >
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

template<class R >
const R m_bnd
private

Definition at line 610 of file spxmainsm.h.

◆ m_col

◆ m_j

template<class R >
const int m_j
private

Definition at line 607 of file spxmainsm.h.

◆ m_loFree

template<class R >
const bool m_loFree
private

◆ m_lRhs

◆ m_old_i

template<class R >
const int m_old_i
private

Definition at line 609 of file spxmainsm.h.

◆ m_old_j

template<class R >
const int m_old_j
private

Definition at line 608 of file spxmainsm.h.

◆ m_rowObj

template<class R >
DSVectorBase<R> m_rowObj
private

◆ m_rows