Postsolves forcing constraints. More...
Public Member Functions | |
ForceConstraintPS (const SPxLPBase< R > &lp, int _i, bool lhsFixed, DataArray< bool > &fixCols, Array< R > &lo, Array< R > &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 (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_i |
const int | m_old_i |
const R | m_lRhs |
DSVectorBase< R > | m_row |
Array< R > | m_objs |
DataArray< bool > | m_fixed |
Array< DSVectorBase< R > > | m_cols |
const bool | m_lhsFixed |
const bool | m_maxSense |
Array< R > | m_oldLowers |
Array< R > | m_oldUppers |
const R | m_lhs |
const R | m_rhs |
const R | m_rowobj |
Additional Inherited Members | |
Static Public Member Functions inherited from SPxMainSM< R >::PostStep | |
static R | eps () |
Postsolves forcing constraints.
Definition at line 366 of file spxmainsm.h.
ForceConstraintPS | ( | const SPxLPBase< R > & | lp, |
int | _i, | ||
bool | lhsFixed, | ||
DataArray< bool > & | fixCols, | ||
Array< R > & | lo, | ||
Array< R > & | up | ||
) |
Definition at line 386 of file spxmainsm.h.
References SPxLPBase< R >::colVector(), SVectorBase< R >::index(), SPxLPBase< R >::obj(), SVectorBase< R >::size(), and SPxLPBase< R >::spxSense().
ForceConstraintPS | ( | const ForceConstraintPS & | old | ) |
copy constructor
Definition at line 412 of file spxmainsm.h.
|
virtual |
clone function for polymorphism
Implements SPxMainSM< R >::PostStep.
Definition at line 446 of file spxmainsm.h.
References SPxMainSM< R >::PostStep::execute(), and SPxMainSM< R >::ForceConstraintPS.
|
virtual |
Implements SPxMainSM< R >::PostStep.
ForceConstraintPS& operator= | ( | const ForceConstraintPS & | rhs | ) |
assignment operator
Definition at line 430 of file spxmainsm.h.
References SPxMainSM< R >::ForceConstraintPS::m_cols, SPxMainSM< R >::ForceConstraintPS::m_fixed, SPxMainSM< R >::ForceConstraintPS::m_objs, SPxMainSM< R >::ForceConstraintPS::m_oldLowers, SPxMainSM< R >::ForceConstraintPS::m_oldUppers, SPxMainSM< R >::ForceConstraintPS::m_row, and SPxMainSM< R >::PostStep::operator=().
|
private |
Definition at line 375 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 374 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 369 of file spxmainsm.h.
|
private |
Definition at line 380 of file spxmainsm.h.
|
private |
Definition at line 376 of file spxmainsm.h.
|
private |
Definition at line 371 of file spxmainsm.h.
|
private |
Definition at line 377 of file spxmainsm.h.
|
private |
Definition at line 373 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 370 of file spxmainsm.h.
|
private |
Definition at line 378 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 379 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 381 of file spxmainsm.h.
|
private |
Definition at line 372 of file spxmainsm.h.
Referenced by SPxMainSM< R >::ForceConstraintPS::operator=().
|
private |
Definition at line 382 of file spxmainsm.h.