Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::TightenBoundsPS Class Reference

Postsolves variable bound tightening from pseudo objective propagation. More...

Public Member Functions

 TightenBoundsPS (const SPxLPBase< R > &lp, int j, R origupper, R origlower)
 
 TightenBoundsPS (const TightenBoundsPS &old)
 copy constructor More...
 
TightenBoundsPSoperator= (const TightenBoundsPS &rhs)
 assignment operator More...
 
virtual PostStepclone () 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...
 
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< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 

Private Attributes

const int m_j
 
const R m_origupper
 
const R m_origlower
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM< R >::PostStep
static R eps ()
 

Detailed Description

template<class R>
class soplex::SPxMainSM< R >::TightenBoundsPS

Postsolves variable bound tightening from pseudo objective propagation.

Definition at line 1221 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ TightenBoundsPS() [1/2]

TightenBoundsPS ( const SPxLPBase< R > &  lp,
int  j,
origupper,
origlower 
)

Definition at line 1230 of file spxmainsm.h.

◆ TightenBoundsPS() [2/2]

TightenBoundsPS ( const TightenBoundsPS old)

copy constructor

Definition at line 1238 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1250 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::execute(), and soplex::spx_alloc().

◆ execute()

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
virtual

◆ operator=()

TightenBoundsPS& operator= ( const TightenBoundsPS rhs)

assignment operator

Definition at line 1245 of file spxmainsm.h.

Member Data Documentation

◆ m_j

const int m_j
private

Definition at line 1224 of file spxmainsm.h.

◆ m_origlower

const R m_origlower
private

Definition at line 1226 of file spxmainsm.h.

◆ m_origupper

const R m_origupper
private

Definition at line 1225 of file spxmainsm.h.