Postsolves variable fixing. More...
Public Member Functions | |
FixVariablePS (const SPxLPBase< R > &lp, SPxMainSM &simplifier, int _j, const R 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 (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, 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< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) 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? More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM< R >::PostStep | |
static R | eps () |
Postsolves variable fixing.
Definition at line 459 of file spxmainsm.h.
FixVariablePS | ( | const SPxLPBase< R > & | lp, |
SPxMainSM & | simplifier, | ||
int | _j, | ||
const R | val, | ||
bool | correctIdx = true |
||
) |
Definition at line 473 of file spxmainsm.h.
References SPxLPBase< R >::obj().
FixVariablePS | ( | const FixVariablePS & | old | ) |
copy constructor
Definition at line 488 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM< R >::PostStep.
Definition at line 511 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::execute(), and SPxMainSM< R >::FixVariablePS.
|
virtual |
Implements SPxMainSM< R >::PostStep.
FixVariablePS& operator= | ( | const FixVariablePS & | rhs | ) |
assignment operator
Definition at line 500 of file spxmainsm.h.
References SPxMainSM< R >::FixVariablePS::m_col, and SPxMainSM< R >::PostStep::operator=().
|
private |
does the index mapping have to be updated in postsolving?
Definition at line 469 of file spxmainsm.h.
Referenced by SPxMainSM< R >::FixVariablePS::operator=().
|
private |
Definition at line 468 of file spxmainsm.h.
|
private |
Definition at line 462 of file spxmainsm.h.
|
private |
Definition at line 466 of file spxmainsm.h.
|
private |
Definition at line 465 of file spxmainsm.h.
|
private |
Definition at line 463 of file spxmainsm.h.
|
private |
Definition at line 467 of file spxmainsm.h.
|
private |
Definition at line 464 of file spxmainsm.h.