SoPlex Documentation
Loading...
Searching...
No Matches
SPxMainSM< R >::TightenBoundsPS Class Reference

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

Inheritance diagram for SPxMainSM< R >::TightenBoundsPS:
SPxMainSM< R >::PostStep

Public Member Functions

 TightenBoundsPS (const SPxLPBase< R > &lp, int j, R origupper, R origlower, std::shared_ptr< Tolerances > tols)
 
 TightenBoundsPS (const TightenBoundsPS &old)
 copy constructor
 
TightenBoundsPSoperator= (const TightenBoundsPS &rhs)
 assignment operator
 
virtual PostStepclone () const
 clone function for polymorphism
 
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, std::shared_ptr< Tolerances > tols, int nR=0, int nC=0)
 constructor.
 
 PostStep (const PostStep &old)
 copy constructor.
 
PostStepoperator= (const PostStep &)
 assignment operator
 
virtual ~PostStep ()
 destructor.
 
virtual const char * getName () const
 get name of simplifying step.
 
virtual bool checkBasisDim (DataArray< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 
virtual R feastol () const
 
virtual R epsilon () const
 

Private Attributes

const int m_j
 
const R m_origupper
 
const R m_origlower
 

Detailed Description

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

Postsolves variable bound tightening from pseudo objective propagation.

Definition at line 1248 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ TightenBoundsPS() [1/2]

template<class R >
TightenBoundsPS ( const SPxLPBase< R > & lp,
int j,
R origupper,
R origlower,
std::shared_ptr< Tolerances > tols )

Definition at line 1257 of file spxmainsm.h.

Referenced by SPxMainSM< R >::TightenBoundsPS::clone().

◆ TightenBoundsPS() [2/2]

template<class R >
TightenBoundsPS ( const TightenBoundsPS & old)

copy constructor

Definition at line 1266 of file spxmainsm.h.

Member Function Documentation

◆ clone()

template<class R >
virtual PostStep * clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1278 of file spxmainsm.h.

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

◆ execute()

template<class R >
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=()

template<class R >
TightenBoundsPS & operator= ( const TightenBoundsPS & rhs)

assignment operator

Definition at line 1273 of file spxmainsm.h.

Member Data Documentation

◆ m_j

template<class R >
const int m_j
private

Definition at line 1251 of file spxmainsm.h.

◆ m_origlower

template<class R >
const R m_origlower
private

Definition at line 1253 of file spxmainsm.h.

◆ m_origupper

template<class R >
const R m_origupper
private

Definition at line 1252 of file spxmainsm.h.