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 SPxLP &lp, int _j, bool loFree, SVector col_idx_sorted) | |
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 (DVector &x, DVector &y, DVector &s, DVector &r, DataArray< SPxSolver::VarStatus > &cBasis, DataArray< SPxSolver::VarStatus > &rBasis, bool isOptimal) const |
Public Member Functions inherited from SPxMainSM::PostStep | |
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 bool | checkBasisDim (DataArray< SPxSolver::VarStatus > rows, DataArray< SPxSolver::VarStatus > cols) const |
Private Attributes | |
const int | m_j |
const int | m_old_j |
const int | m_old_i |
const Real | m_bnd |
DSVector | m_col |
DSVector | m_lRhs |
DSVector | m_rowObj |
Array< DSVector > | m_rows |
const bool | m_loFree |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM::PostStep | |
static Real | eps () |
Postsolves the case when constraints are removed due to a variable with zero objective that is free in one direction.
Definition at line 580 of file spxmainsm.h.
FreeZeroObjVariablePS | ( | const SPxLP & | lp, |
int | _j, | ||
bool | loFree, | ||
SVector | col_idx_sorted | ||
) |
Definition at line 595 of file spxmainsm.h.
References DSVectorBase< R >::add(), SVectorBase< R >::index(), soplex::isNotZero(), SPxLPBase< R >::lhs(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rowObj(), SPxLPBase< R >::rowVector(), SVectorBase< R >::size(), and SVectorBase< R >::value().
FreeZeroObjVariablePS | ( | const FreeZeroObjVariablePS & | old | ) |
copy constructor
Definition at line 624 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM::PostStep.
Definition at line 651 of file spxmainsm.h.
References SPxMainSM::PostStep::execute(), SPxMainSM::FreeZeroObjVariablePS, and soplex::spx_alloc().
|
virtual |
Implements SPxMainSM::PostStep.
Definition at line 550 of file spxmainsm.cpp.
References SVectorBase< R >::add(), SPxSolver::BASIC, SPxMainSM::PostStep::checkBasisDim(), SVectorBase< R >::index(), soplex::infinity, soplex::isZero(), soplex::maxAbs(), SPxSolver::ON_LOWER, SPxSolver::ON_UPPER, SPxMainSM::rIdx(), SVectorBase< R >::size(), and SVectorBase< R >::value().
FreeZeroObjVariablePS& operator= | ( | const FreeZeroObjVariablePS & | rhs | ) |
assignment operator
Definition at line 637 of file spxmainsm.h.
References SPxMainSM::FreeZeroObjVariablePS::m_col, SPxMainSM::FreeZeroObjVariablePS::m_lRhs, SPxMainSM::FreeZeroObjVariablePS::m_rowObj, SPxMainSM::FreeZeroObjVariablePS::m_rows, and SPxMainSM::PostStep::operator=().
|
private |
Definition at line 586 of file spxmainsm.h.
|
private |
Definition at line 587 of file spxmainsm.h.
Referenced by SPxMainSM::FreeZeroObjVariablePS::operator=().
|
private |
Definition at line 583 of file spxmainsm.h.
|
private |
Definition at line 591 of file spxmainsm.h.
|
private |
Definition at line 588 of file spxmainsm.h.
Referenced by SPxMainSM::FreeZeroObjVariablePS::operator=().
|
private |
Definition at line 585 of file spxmainsm.h.
|
private |
Definition at line 584 of file spxmainsm.h.
|
private |
Definition at line 589 of file spxmainsm.h.
Referenced by SPxMainSM::FreeZeroObjVariablePS::operator=().
Definition at line 590 of file spxmainsm.h.
Referenced by SPxMainSM::FreeZeroObjVariablePS::operator=().