Postsolves variable fixing. More...
Public Member Functions | |
FixVariablePS (const SPxLP &lp, SPxMainSM &simplifier, int _j, const Real val, bool correctIdx=true) | |
FixVariablePS (const FixVariablePS &old) | |
copy constructor More... | |
FixVariablePS & | operator= (const FixVariablePS &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 Real | m_val |
const Real | m_obj |
const Real | m_lower |
const Real | m_upper |
const bool | m_correctIdx |
DSVector | m_col |
does the index mapping have to be updated in postsolving? More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM::PostStep | |
static Real | eps () |
Postsolves variable fixing.
Definition at line 456 of file spxmainsm.h.
FixVariablePS | ( | const SPxLP & | lp, |
SPxMainSM & | simplifier, | ||
int | _j, | ||
const Real | val, | ||
bool | correctIdx = true |
||
) |
Definition at line 470 of file spxmainsm.h.
References SPxSimplifier::addObjoffset(), and SPxLPBase< R >::obj().
FixVariablePS | ( | const FixVariablePS & | old | ) |
copy constructor
Definition at line 485 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM::PostStep.
Definition at line 508 of file spxmainsm.h.
References SPxMainSM::PostStep::execute(), and SPxMainSM::FixVariablePS.
|
virtual |
Implements SPxMainSM::PostStep.
Definition at line 488 of file spxmainsm.cpp.
References SPxMainSM::PostStep::checkBasisDim(), soplex::EQrel(), SPxSolver::FIXED, SPxSolver::ON_LOWER, SPxSolver::ON_UPPER, and SPxSolver::ZERO.
FixVariablePS& operator= | ( | const FixVariablePS & | rhs | ) |
assignment operator
Definition at line 497 of file spxmainsm.h.
References SPxMainSM::FixVariablePS::m_col, and SPxMainSM::PostStep::operator=().
|
private |
does the index mapping have to be updated in postsolving?
Definition at line 466 of file spxmainsm.h.
Referenced by SPxMainSM::FixVariablePS::operator=().
|
private |
Definition at line 465 of file spxmainsm.h.
|
private |
Definition at line 459 of file spxmainsm.h.
|
private |
Definition at line 463 of file spxmainsm.h.
|
private |
Definition at line 462 of file spxmainsm.h.
|
private |
Definition at line 460 of file spxmainsm.h.
|
private |
Definition at line 464 of file spxmainsm.h.
|
private |
Definition at line 461 of file spxmainsm.h.