SoPlex
|
Postsolves variable bound fixing. More...
Public Member Functions | |
FixBoundsPS (const SPxLPBase< R > &lp, int j, R val, std::shared_ptr< Tolerances > tols) | |
FixBoundsPS (const FixBoundsPS &old) | |
copy constructor | |
FixBoundsPS & | operator= (const FixBoundsPS &rhs) |
assignment operator | |
virtual PostStep * | clone () 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 |
![]() | |
PostStep (const char *p_name, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0) | |
constructor. | |
PostStep (const PostStep &old) | |
copy constructor. | |
PostStep & | operator= (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 |
SPxSolverBase< R >::VarStatus | m_status |
Postsolves variable bound fixing.
Definition at line 545 of file spxmainsm.h.
FixBoundsPS | ( | const SPxLPBase< R > & | lp, |
int | j, | ||
R | val, | ||
std::shared_ptr< Tolerances > | tols ) |
Definition at line 553 of file spxmainsm.h.
References SPxSolverBase< R >::FIXED, soplex::infinity, SPxLPBase< R >::lower(), m_j, m_status, SPxMainSM< R >::PostStep::nCols, SPxMainSM< R >::PostStep::nRows, SPxSolverBase< R >::ON_LOWER, SPxSolverBase< R >::ON_UPPER, SPxMainSM< R >::PostStep::PostStep(), SPxLPBase< R >::upper(), and SPxSolverBase< R >::ZERO.
Referenced by clone(), FixBoundsPS(), and operator=().
FixBoundsPS | ( | const FixBoundsPS & | old | ) |
copy constructor
Definition at line 571 of file spxmainsm.h.
References FixBoundsPS(), m_j, m_status, and SPxMainSM< R >::PostStep::PostStep().
|
virtual |
clone function for polymorphism
Implements SPxMainSM< R >::PostStep.
Definition at line 588 of file spxmainsm.h.
References SPxMainSM< R >::FixBoundsPS, FixBoundsPS(), SPxMainSM< R >::PostStep::PostStep(), and soplex::spx_alloc().
|
virtual |
Implements SPxMainSM< R >::PostStep.
FixBoundsPS & operator= | ( | const FixBoundsPS & | rhs | ) |
assignment operator
Definition at line 577 of file spxmainsm.h.
References FixBoundsPS(), m_status, and SPxMainSM< R >::PostStep::operator=().
|
private |
Definition at line 548 of file spxmainsm.h.
Referenced by FixBoundsPS(), and FixBoundsPS().
|
private |
Definition at line 549 of file spxmainsm.h.
Referenced by FixBoundsPS(), FixBoundsPS(), and operator=().