Base class for postsolving operations.Class PostStep is an abstract base class providing the interface for operations in the postsolving process. More...
Public Member Functions | |
PostStep (const char *p_name, 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 |
Static Public Member Functions | |
static R | eps () |
Private Attributes | |
const char * | m_name |
name of the simplifier More... | |
int | nCols |
number of cols More... | |
int | nRows |
number of rows 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 75 of file spxmainsm.h.
PostStep | ( | const char * | p_name, |
int | nR = 0 , |
||
int | nC = 0 |
||
) |
constructor.
Definition at line 87 of file spxmainsm.h.
copy constructor.
Definition at line 93 of file spxmainsm.h.
|
virtual |
destructor.
Definition at line 104 of file spxmainsm.h.
|
virtual |
Referenced by SPxMainSM< R >::PostStep::getName().
|
pure virtual |
clone function for polymorphism
Implemented in SPxMainSM< R >::TightenBoundsPS, SPxMainSM< R >::MultiAggregationPS, SPxMainSM< R >::AggregationPS, SPxMainSM< R >::DuplicateColsPS, SPxMainSM< R >::DuplicateRowsPS, SPxMainSM< R >::DoubletonEquationPS, SPxMainSM< R >::FreeColSingletonPS, SPxMainSM< R >::ZeroObjColSingletonPS, SPxMainSM< R >::FreeZeroObjVariablePS, SPxMainSM< R >::FixBoundsPS, SPxMainSM< R >::FixVariablePS, SPxMainSM< R >::ForceConstraintPS, SPxMainSM< R >::RowSingletonPS, SPxMainSM< R >::EmptyConstraintPS, SPxMainSM< R >::FreeConstraintPS, and SPxMainSM< R >::RowObjPS.
Referenced by SPxMainSM< R >::PostStep::getName().
|
static |
Definition at line 129 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FixBoundsPS::FixBoundsPS(), and SPxMainSM< R >::simplify().
|
pure virtual |
executes the postsolving.
Implemented in SPxMainSM< R >::TightenBoundsPS, SPxMainSM< R >::MultiAggregationPS, SPxMainSM< R >::AggregationPS, SPxMainSM< R >::DuplicateColsPS, SPxMainSM< R >::DuplicateRowsPS, SPxMainSM< R >::DoubletonEquationPS, SPxMainSM< R >::FreeColSingletonPS, SPxMainSM< R >::ZeroObjColSingletonPS, SPxMainSM< R >::FreeZeroObjVariablePS, SPxMainSM< R >::FixBoundsPS, SPxMainSM< R >::FixVariablePS, SPxMainSM< R >::ForceConstraintPS, SPxMainSM< R >::RowSingletonPS, SPxMainSM< R >::EmptyConstraintPS, SPxMainSM< R >::FreeConstraintPS, and SPxMainSM< R >::RowObjPS.
Referenced by SPxMainSM< R >::RowSingletonPS::clone(), SPxMainSM< R >::ForceConstraintPS::clone(), SPxMainSM< R >::FixVariablePS::clone(), SPxMainSM< R >::FixBoundsPS::clone(), SPxMainSM< R >::FreeZeroObjVariablePS::clone(), SPxMainSM< R >::ZeroObjColSingletonPS::clone(), SPxMainSM< R >::FreeColSingletonPS::clone(), SPxMainSM< R >::DoubletonEquationPS::clone(), SPxMainSM< R >::DuplicateRowsPS::clone(), SPxMainSM< R >::DuplicateColsPS::clone(), SPxMainSM< R >::AggregationPS::clone(), SPxMainSM< R >::MultiAggregationPS::clone(), SPxMainSM< R >::TightenBoundsPS::clone(), SPxMainSM< R >::PostStep::getName(), SPxMainSM< R >::RowObjPS::operator=(), SPxMainSM< R >::FreeConstraintPS::operator=(), and SPxMainSM< R >::EmptyConstraintPS::operator=().
|
virtual |
get name of simplifying step.
Definition at line 109 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::checkBasisDim(), SPxMainSM< R >::PostStep::clone(), SPxMainSM< R >::PostStep::execute(), and SPxMainSM< R >::PostStep::m_name.
assignment operator
Definition at line 99 of file spxmainsm.h.
Referenced by SPxMainSM< R >::RowSingletonPS::operator=(), SPxMainSM< R >::ForceConstraintPS::operator=(), SPxMainSM< R >::FixVariablePS::operator=(), SPxMainSM< R >::FixBoundsPS::operator=(), SPxMainSM< R >::FreeZeroObjVariablePS::operator=(), SPxMainSM< R >::ZeroObjColSingletonPS::operator=(), SPxMainSM< R >::FreeColSingletonPS::operator=(), SPxMainSM< R >::DoubletonEquationPS::operator=(), SPxMainSM< R >::DuplicateRowsPS::operator=(), SPxMainSM< R >::DuplicateColsPS::operator=(), SPxMainSM< R >::AggregationPS::operator=(), and SPxMainSM< R >::MultiAggregationPS::operator=().
|
private |
name of the simplifier
Definition at line 79 of file spxmainsm.h.
Referenced by SPxMainSM< R >::PostStep::getName().
|
private |
number of cols
Definition at line 81 of file spxmainsm.h.
|
private |
number of rows
Definition at line 83 of file spxmainsm.h.