Base class for postsolving operations. More...
Public Member Functions | |
PostStep (const char *p_name, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0) | |
constructor. More... | |
PostStep (const PostStep &old) | |
copy constructor. More... | |
PostStep & | operator= (const PostStep &) |
assignment operator More... | |
virtual | ~PostStep () |
destructor. More... | |
virtual const char * | getName () const |
get name of simplifying step. More... | |
virtual PostStep * | clone () const =0 |
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 =0 |
executes the postsolving. More... | |
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 char * | m_name |
name of the simplifier More... | |
int | nCols |
number of cols More... | |
int | nRows |
number of rows More... | |
std::shared_ptr< Tolerances > | _tolerances |
0-epsilon of this poststep More... | |
Base class for postsolving operations.
Class PostStep is an abstract base class providing the interface for operations in the postsolving process.
Definition at line 84 of file spxmainsm.h.
PostStep | ( | const char * | p_name, |
std::shared_ptr< Tolerances > | tols, | ||
int | nR = 0 , |
||
int | nC = 0 |
||
) |
constructor.
Definition at line 98 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::_tolerances.
copy constructor.
Definition at line 106 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::_tolerances.
|
virtual |
destructor.
Definition at line 119 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::m_name.
|
virtual |
|
pure virtual |
clone function for polymorphism
Implemented in SPxMainSM< R >::RowObjPS, SPxMainSM< R >::FreeConstraintPS, SPxMainSM< R >::EmptyConstraintPS, SPxMainSM< R >::RowSingletonPS, SPxMainSM< R >::ForceConstraintPS, SPxMainSM< R >::FixVariablePS, SPxMainSM< R >::FixBoundsPS, SPxMainSM< R >::FreeZeroObjVariablePS, SPxMainSM< R >::ZeroObjColSingletonPS, SPxMainSM< R >::FreeColSingletonPS, SPxMainSM< R >::DoubletonEquationPS, SPxMainSM< R >::DuplicateRowsPS, SPxMainSM< R >::DuplicateColsPS, SPxMainSM< R >::AggregationPS, SPxMainSM< R >::MultiAggregationPS, and SPxMainSM< R >::TightenBoundsPS.
|
virtual |
Definition at line 149 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::_tolerances.
|
pure virtual |
executes the postsolving.
Implemented in SPxMainSM< R >::RowObjPS, SPxMainSM< R >::FreeConstraintPS, SPxMainSM< R >::EmptyConstraintPS, SPxMainSM< R >::RowSingletonPS, SPxMainSM< R >::ForceConstraintPS, SPxMainSM< R >::FixVariablePS, SPxMainSM< R >::FixBoundsPS, SPxMainSM< R >::FreeZeroObjVariablePS, SPxMainSM< R >::ZeroObjColSingletonPS, SPxMainSM< R >::FreeColSingletonPS, SPxMainSM< R >::DoubletonEquationPS, SPxMainSM< R >::DuplicateRowsPS, SPxMainSM< R >::DuplicateColsPS, SPxMainSM< R >::AggregationPS, SPxMainSM< R >::MultiAggregationPS, and SPxMainSM< R >::TightenBoundsPS.
|
virtual |
Definition at line 144 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::_tolerances.
|
virtual |
get name of simplifying step.
Definition at line 124 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::m_name.
assignment operator
Definition at line 114 of file spxmainsm.h.
Referenced by SPxMainSM< R >::AggregationPS::operator=(), SPxMainSM< R >::DoubletonEquationPS::operator=(), SPxMainSM< R >::DuplicateColsPS::operator=(), SPxMainSM< R >::DuplicateRowsPS::operator=(), SPxMainSM< R >::FixBoundsPS::operator=(), SPxMainSM< R >::FixVariablePS::operator=(), SPxMainSM< R >::ForceConstraintPS::operator=(), SPxMainSM< R >::FreeColSingletonPS::operator=(), SPxMainSM< R >::FreeZeroObjVariablePS::operator=(), SPxMainSM< R >::MultiAggregationPS::operator=(), SPxMainSM< R >::RowSingletonPS::operator=(), and SPxMainSM< R >::ZeroObjColSingletonPS::operator=().
|
private |
0-epsilon of this poststep
Definition at line 94 of file spxmainsm.h.
Referenced by SPxMainSM< R >::PostStep::epsilon(), SPxMainSM< R >::PostStep::feastol(), and SPxMainSM< R >::PostStep::PostStep().
|
private |
name of the simplifier
Definition at line 88 of file spxmainsm.h.
Referenced by SPxMainSM< R >::PostStep::getName(), and SPxMainSM< R >::PostStep::~PostStep().
|
private |
number of cols
Definition at line 90 of file spxmainsm.h.
|
private |
number of rows
Definition at line 92 of file spxmainsm.h.