|
SoPlex
|
Postsolves variable fixing. More...
Public Member Functions | |
| FixVariablePS (const SPxLPBase< R > &lp, SPxMainSM &simplifier, int _j, const R val, std::shared_ptr< Tolerances > tols, bool correctIdx=true) | |
| FixVariablePS (const FixVariablePS &old) | |
| copy constructor | |
| FixVariablePS & | operator= (const FixVariablePS &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 |
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. | |
| 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 |
| const int | m_old_j |
| const R | m_val |
| const R | m_obj |
| const R | m_lower |
| const R | m_upper |
| const bool | m_correctIdx |
| DSVectorBase< R > | m_col |
| does the index mapping have to be updated in postsolving? | |
Postsolves variable fixing.
Definition at line 480 of file spxmainsm.h.
| FixVariablePS | ( | const SPxLPBase< R > & | lp, |
| SPxMainSM & | simplifier, | ||
| int | _j, | ||
| const R | val, | ||
| std::shared_ptr< Tolerances > | tols, | ||
| bool | correctIdx = true ) |
Definition at line 494 of file spxmainsm.h.
References SPxSimplifier< R >::addObjoffset(), m_col, m_correctIdx, m_j, m_lower, m_obj, m_old_j, m_upper, m_val, SPxMainSM< R >::PostStep::nCols, SPxMainSM< R >::PostStep::nRows, SPxLPBase< R >::obj(), SPxMainSM< R >::PostStep::PostStep(), and SPxMainSM< R >::SPxMainSM().
Referenced by FixVariablePS(), and operator=().
| FixVariablePS | ( | const FixVariablePS & | old | ) |
copy constructor
Definition at line 509 of file spxmainsm.h.
References FixVariablePS(), m_col, m_correctIdx, m_j, m_lower, m_obj, m_old_j, m_upper, m_val, and SPxMainSM< R >::PostStep::PostStep().
|
virtual |
clone function for polymorphism
Implements SPxMainSM< R >::PostStep.
Definition at line 532 of file spxmainsm.h.
References SPxMainSM< R >::FixVariablePS, and SPxMainSM< R >::PostStep::PostStep().
|
virtual |
Implements SPxMainSM< R >::PostStep.
| FixVariablePS & operator= | ( | const FixVariablePS & | rhs | ) |
assignment operator
Definition at line 521 of file spxmainsm.h.
References FixVariablePS(), m_col, and SPxMainSM< R >::PostStep::operator=().
|
private |
does the index mapping have to be updated in postsolving?
Definition at line 490 of file spxmainsm.h.
Referenced by FixVariablePS(), FixVariablePS(), and operator=().
|
private |
Definition at line 489 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 483 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 487 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 486 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 484 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 488 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().
|
private |
Definition at line 485 of file spxmainsm.h.
Referenced by FixVariablePS(), and FixVariablePS().