Postsolves duplicate columns. More...
Public Member Functions | |
DuplicateColsPS (const SPxLP &lp, int _j, int _k, Real scale, DataArray< int > perm, bool isFirst=false, bool isTheLast=false) | |
DuplicateColsPS (const DuplicateColsPS &old) | |
copy constructor More... | |
DuplicateColsPS & | operator= (const DuplicateColsPS &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_k |
const Real | m_loJ |
const Real | m_upJ |
const Real | m_loK |
const Real | m_upK |
const Real | m_scale |
const bool | m_isFirst |
const bool | m_isLast |
DataArray< int > | m_perm |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM::PostStep | |
static Real | eps () |
Postsolves duplicate columns.
Definition at line 993 of file spxmainsm.h.
DuplicateColsPS | ( | const SPxLP & | lp, |
int | _j, | ||
int | _k, | ||
Real | scale, | ||
DataArray< int > | perm, | ||
bool | isFirst = false , |
||
bool | isTheLast = false |
||
) |
Definition at line 1008 of file spxmainsm.h.
DuplicateColsPS | ( | const DuplicateColsPS & | old | ) |
copy constructor
Definition at line 1023 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM::PostStep.
Definition at line 1047 of file spxmainsm.h.
References SPxMainSM::DuplicateColsPS, SPxMainSM::PostStep::execute(), and soplex::spx_alloc().
|
virtual |
Implements SPxMainSM::PostStep.
Definition at line 1101 of file spxmainsm.cpp.
References ASSERT_WARN, SPxSolver::BASIC, SPxMainSM::PostStep::checkBasisDim(), SPxMainSM::cIdx(), SPxSolver::FIXED, soplex::GErel(), soplex::infinity, soplex::isNotZero(), soplex::isZero(), soplex::LErel(), soplex::LTrel(), soplex::maxAbs(), SPxSolver::ON_LOWER, SPxSolver::ON_UPPER, and SPxSolver::ZERO.
DuplicateColsPS& operator= | ( | const DuplicateColsPS & | rhs | ) |
assignment operator
Definition at line 1037 of file spxmainsm.h.
References SPxMainSM::PostStep::operator=().
|
private |
Definition at line 1003 of file spxmainsm.h.
|
private |
Definition at line 1004 of file spxmainsm.h.
|
private |
Definition at line 996 of file spxmainsm.h.
|
private |
Definition at line 997 of file spxmainsm.h.
|
private |
Definition at line 998 of file spxmainsm.h.
|
private |
Definition at line 1000 of file spxmainsm.h.
|
private |
Definition at line 1005 of file spxmainsm.h.
|
private |
Definition at line 1002 of file spxmainsm.h.
|
private |
Definition at line 999 of file spxmainsm.h.
|
private |
Definition at line 1001 of file spxmainsm.h.