Postsolves the case when constraints are removed due to a variable with zero objective that is free in one direction. More...
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 More... | |
| FreeZeroObjVariablePS & | operator= (const FreeZeroObjVariablePS &rhs) |
| assignment operator More... | |
| virtual PostStep * | clone () const |
| 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 |
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. 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 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 |
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.
| FreeZeroObjVariablePS | ( | const SPxLPBase< R > & | lp, |
| int | _j, | ||
| bool | loFree, | ||
| DSVectorBase< R > | col_idx_sorted, | ||
| std::shared_ptr< Tolerances > | tols | ||
| ) |
Definition at line 619 of file spxmainsm.h.
References SPxLPBase< R >::lhs(), SPxMainSM< R >::FreeZeroObjVariablePS::m_col, SPxMainSM< R >::FreeZeroObjVariablePS::m_loFree, SPxMainSM< R >::FreeZeroObjVariablePS::m_lRhs, SPxMainSM< R >::FreeZeroObjVariablePS::m_rowObj, SPxMainSM< R >::FreeZeroObjVariablePS::m_rows, SPxLPBase< R >::rhs(), SPxLPBase< R >::rowObj(), and SPxLPBase< R >::rowVector().
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::clone().
| FreeZeroObjVariablePS | ( | const FreeZeroObjVariablePS & | old | ) |
copy constructor
Definition at line 647 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM< R >::PostStep.
Definition at line 674 of file spxmainsm.h.
References SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), and soplex::spx_alloc().
|
virtual |
Implements SPxMainSM< R >::PostStep.
| FreeZeroObjVariablePS & operator= | ( | const FreeZeroObjVariablePS & | rhs | ) |
assignment operator
Definition at line 660 of file spxmainsm.h.
References SPxMainSM< R >::FreeZeroObjVariablePS::m_col, SPxMainSM< R >::FreeZeroObjVariablePS::m_lRhs, SPxMainSM< R >::FreeZeroObjVariablePS::m_rowObj, SPxMainSM< R >::FreeZeroObjVariablePS::m_rows, and SPxMainSM< R >::PostStep::operator=().
|
private |
Definition at line 610 of file spxmainsm.h.
|
private |
Definition at line 611 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), and SPxMainSM< R >::FreeZeroObjVariablePS::operator=().
|
private |
Definition at line 607 of file spxmainsm.h.
|
private |
Definition at line 615 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS().
|
private |
Definition at line 612 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), and SPxMainSM< R >::FreeZeroObjVariablePS::operator=().
|
private |
Definition at line 609 of file spxmainsm.h.
|
private |
Definition at line 608 of file spxmainsm.h.
|
private |
Definition at line 613 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), and SPxMainSM< R >::FreeZeroObjVariablePS::operator=().
|
private |
Definition at line 614 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FreeZeroObjVariablePS::FreeZeroObjVariablePS(), and SPxMainSM< R >::FreeZeroObjVariablePS::operator=().