Postsolves duplicate rows. More...
Public Member Functions | |
DuplicateRowsPS (const SPxLP &lp, int _i, int maxLhsIdx, int minRhsIdx, const DSVector &dupRows, const DataArray< Real > scale, const DataArray< int > perm, const DataArray< bool > isLhsEqualRhs, bool isTheLast, bool isFixedRow, bool isFirst=false) | |
DuplicateRowsPS (const DuplicateRowsPS &old) | |
copy constructor More... | |
DuplicateRowsPS & | operator= (const DuplicateRowsPS &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_i |
const Real | m_i_rowObj |
const int | m_maxLhsIdx |
const int | m_minRhsIdx |
const bool | m_maxSense |
const bool | m_isFirst |
const bool | m_isLast |
const bool | m_fixed |
const int | m_nCols |
DSVector | m_scale |
DSVector | m_rowObj |
DataArray< int > | m_rIdxLocalOld |
DataArray< int > | m_perm |
DataArray< bool > | m_isLhsEqualRhs |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM::PostStep | |
static Real | eps () |
Postsolves duplicate rows.
Definition at line 897 of file spxmainsm.h.
DuplicateRowsPS | ( | const SPxLP & | lp, |
int | _i, | ||
int | maxLhsIdx, | ||
int | minRhsIdx, | ||
const DSVector & | dupRows, | ||
const DataArray< Real > | scale, | ||
const DataArray< int > | perm, | ||
const DataArray< bool > | isLhsEqualRhs, | ||
bool | isTheLast, | ||
bool | isFixedRow, | ||
bool | isFirst = false |
||
) |
Definition at line 916 of file spxmainsm.h.
References DSVectorBase< R >::add(), SVectorBase< R >::index(), SPxLPBase< R >::rowObj(), and SVectorBase< R >::size().
DuplicateRowsPS | ( | const DuplicateRowsPS & | old | ) |
copy constructor
Definition at line 946 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM::PostStep.
Definition at line 979 of file spxmainsm.h.
References SPxMainSM::DuplicateRowsPS, SPxMainSM::PostStep::execute(), and soplex::spx_alloc().
|
virtual |
Implements SPxMainSM::PostStep.
Definition at line 984 of file spxmainsm.cpp.
References ASSERT_WARN, SPxSolver::BASIC, SPxMainSM::PostStep::checkBasisDim(), SPxSolver::FIXED, soplex::isNotZero(), SPxSolver::ON_LOWER, SPxSolver::ON_UPPER, and SPxMainSM::rIdx().
DuplicateRowsPS& operator= | ( | const DuplicateRowsPS & | rhs | ) |
assignment operator
Definition at line 964 of file spxmainsm.h.
References SPxMainSM::DuplicateRowsPS::m_isLhsEqualRhs, SPxMainSM::DuplicateRowsPS::m_perm, SPxMainSM::DuplicateRowsPS::m_rIdxLocalOld, SPxMainSM::DuplicateRowsPS::m_rowObj, SPxMainSM::DuplicateRowsPS::m_scale, and SPxMainSM::PostStep::operator=().
|
private |
Definition at line 907 of file spxmainsm.h.
|
private |
Definition at line 900 of file spxmainsm.h.
|
private |
Definition at line 901 of file spxmainsm.h.
|
private |
Definition at line 905 of file spxmainsm.h.
|
private |
Definition at line 906 of file spxmainsm.h.
|
private |
Definition at line 913 of file spxmainsm.h.
Referenced by SPxMainSM::DuplicateRowsPS::operator=().
|
private |
Definition at line 902 of file spxmainsm.h.
|
private |
Definition at line 904 of file spxmainsm.h.
|
private |
Definition at line 903 of file spxmainsm.h.
|
private |
Definition at line 908 of file spxmainsm.h.
|
private |
Definition at line 912 of file spxmainsm.h.
Referenced by SPxMainSM::DuplicateRowsPS::operator=().
|
private |
Definition at line 911 of file spxmainsm.h.
Referenced by SPxMainSM::DuplicateRowsPS::operator=().
|
private |
Definition at line 910 of file spxmainsm.h.
Referenced by SPxMainSM::DuplicateRowsPS::operator=().
|
private |
Definition at line 909 of file spxmainsm.h.
Referenced by SPxMainSM::DuplicateRowsPS::operator=().