Postsolves forcing constraints. More...
Public Member Functions | |
ForceConstraintPS (const SPxLP &lp, int _i, bool lhsFixed, DataArray< bool > &fixCols, DataArray< Real > &lo, DataArray< Real > &up) | |
ForceConstraintPS (const ForceConstraintPS &old) | |
copy constructor More... | |
ForceConstraintPS & | operator= (const ForceConstraintPS &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 int | m_old_i |
const Real | m_lRhs |
DSVector | m_row |
DataArray< Real > | m_objs |
DataArray< bool > | m_fixed |
Array< DSVector > | m_cols |
const bool | m_lhsFixed |
const bool | m_maxSense |
DataArray< Real > | m_oldLowers |
DataArray< Real > | m_oldUppers |
const Real | m_lhs |
const Real | m_rhs |
const Real | m_rowobj |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM::PostStep | |
static Real | eps () |
Postsolves forcing constraints.
Definition at line 364 of file spxmainsm.h.
ForceConstraintPS | ( | const SPxLP & | lp, |
int | _i, | ||
bool | lhsFixed, | ||
DataArray< bool > & | fixCols, | ||
DataArray< Real > & | lo, | ||
DataArray< Real > & | up | ||
) |
Definition at line 384 of file spxmainsm.h.
References SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< Real >::MINIMIZE, SPxLPBase< R >::obj(), SVectorBase< R >::size(), and SPxLPBase< R >::spxSense().
ForceConstraintPS | ( | const ForceConstraintPS & | old | ) |
copy constructor
Definition at line 409 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM::PostStep.
Definition at line 443 of file spxmainsm.h.
References SPxMainSM::PostStep::execute(), and SPxMainSM::ForceConstraintPS.
|
virtual |
Implements SPxMainSM::PostStep.
Definition at line 380 of file spxmainsm.cpp.
References SPxSolver::BASIC, SPxMainSM::PostStep::checkBasisDim(), SPxMainSM::cIdx(), SPxMainSM::PostStep::eps(), soplex::EQrel(), SPxSolver::FIXED, SVectorBase< R >::index(), SPxSolver::ON_LOWER, SPxSolver::ON_UPPER, SVectorBase< R >::size(), soplex::spxAbs(), and SVectorBase< R >::value().
ForceConstraintPS& operator= | ( | const ForceConstraintPS & | rhs | ) |
assignment operator
Definition at line 427 of file spxmainsm.h.
References SPxMainSM::ForceConstraintPS::m_cols, SPxMainSM::ForceConstraintPS::m_fixed, SPxMainSM::ForceConstraintPS::m_objs, SPxMainSM::ForceConstraintPS::m_oldLowers, SPxMainSM::ForceConstraintPS::m_oldUppers, SPxMainSM::ForceConstraintPS::m_row, and SPxMainSM::PostStep::operator=().
Definition at line 373 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
|
private |
Definition at line 372 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
|
private |
Definition at line 367 of file spxmainsm.h.
|
private |
Definition at line 378 of file spxmainsm.h.
|
private |
Definition at line 374 of file spxmainsm.h.
|
private |
Definition at line 369 of file spxmainsm.h.
|
private |
Definition at line 375 of file spxmainsm.h.
Definition at line 371 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
|
private |
Definition at line 368 of file spxmainsm.h.
Definition at line 376 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
Definition at line 377 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
|
private |
Definition at line 379 of file spxmainsm.h.
|
private |
Definition at line 370 of file spxmainsm.h.
Referenced by SPxMainSM::ForceConstraintPS::operator=().
|
private |
Definition at line 380 of file spxmainsm.h.