Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::ForceConstraintPS Class Reference

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...
 
ForceConstraintPSoperator= (const ForceConstraintPS &rhs)
 assignment operator More...
 
virtual PostStepclone () 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...
 
PostStepoperator= (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< Realm_objs
 
DataArray< bool > m_fixed
 
Array< DSVectorm_cols
 
const bool m_lhsFixed
 
const bool m_maxSense
 
DataArray< Realm_oldLowers
 
DataArray< Realm_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 ()
 

Detailed Description

Postsolves forcing constraints.

Definition at line 364 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ForceConstraintPS() [1/2]

ForceConstraintPS ( const SPxLP lp,
int  _i,
bool  lhsFixed,
DataArray< bool > &  fixCols,
DataArray< Real > &  lo,
DataArray< Real > &  up 
)

◆ ForceConstraintPS() [2/2]

copy constructor

Definition at line 409 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 443 of file spxmainsm.h.

References SPxMainSM::PostStep::execute(), and SPxMainSM::ForceConstraintPS.

◆ execute()

◆ operator=()

Member Data Documentation

◆ m_cols

Array<DSVector> m_cols
private

Definition at line 373 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_fixed

DataArray<bool> m_fixed
private

Definition at line 372 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_i

const int m_i
private

Definition at line 367 of file spxmainsm.h.

◆ m_lhs

const Real m_lhs
private

Definition at line 378 of file spxmainsm.h.

◆ m_lhsFixed

const bool m_lhsFixed
private

Definition at line 374 of file spxmainsm.h.

◆ m_lRhs

const Real m_lRhs
private

Definition at line 369 of file spxmainsm.h.

◆ m_maxSense

const bool m_maxSense
private

Definition at line 375 of file spxmainsm.h.

◆ m_objs

DataArray<Real> m_objs
private

Definition at line 371 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_old_i

const int m_old_i
private

Definition at line 368 of file spxmainsm.h.

◆ m_oldLowers

DataArray<Real> m_oldLowers
private

Definition at line 376 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_oldUppers

DataArray<Real> m_oldUppers
private

Definition at line 377 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_rhs

const Real m_rhs
private

Definition at line 379 of file spxmainsm.h.

◆ m_row

DSVector m_row
private

Definition at line 370 of file spxmainsm.h.

Referenced by SPxMainSM::ForceConstraintPS::operator=().

◆ m_rowobj

const Real m_rowobj
private

Definition at line 380 of file spxmainsm.h.