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

Postsolves forcing constraints. More...

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

Public Member Functions

 ForceConstraintPS (const SPxLPBase< R > &lp, int _i, bool lhsFixed, DataArray< bool > &fixCols, Array< R > &lo, Array< R > &up, std::shared_ptr< Tolerances > tols)
 
 ForceConstraintPS (const ForceConstraintPS &old)
 copy constructor
 
ForceConstraintPSoperator= (const ForceConstraintPS &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_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
 

Detailed Description

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

Postsolves forcing constraints.

Definition at line 386 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ ForceConstraintPS() [1/2]

◆ ForceConstraintPS() [2/2]

Member Function Documentation

◆ clone()

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

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 467 of file spxmainsm.h.

References SPxMainSM< R >::ForceConstraintPS, and SPxMainSM< R >::PostStep::PostStep().

◆ 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>
ForceConstraintPS & operator= ( const ForceConstraintPS & rhs)

assignment operator

Definition at line 451 of file spxmainsm.h.

References ForceConstraintPS(), m_cols, m_fixed, m_objs, m_oldLowers, m_oldUppers, m_row, and SPxMainSM< R >::PostStep::operator=().

Member Data Documentation

◆ m_cols

template<class R>
Array<DSVectorBase<R> > m_cols
private

Definition at line 395 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_fixed

template<class R>
DataArray<bool> m_fixed
private

Definition at line 394 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_i

template<class R>
const int m_i
private

Definition at line 389 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_lhs

template<class R>
const R m_lhs
private

Definition at line 400 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_lhsFixed

template<class R>
const bool m_lhsFixed
private

Definition at line 396 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_lRhs

template<class R>
const R m_lRhs
private

Definition at line 391 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_maxSense

template<class R>
const bool m_maxSense
private

Definition at line 397 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_objs

template<class R>
Array<R> m_objs
private

Definition at line 393 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_old_i

template<class R>
const int m_old_i
private

Definition at line 390 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_oldLowers

template<class R>
Array<R> m_oldLowers
private

Definition at line 398 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_oldUppers

template<class R>
Array<R> m_oldUppers
private

Definition at line 399 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_rhs

template<class R>
const R m_rhs
private

Definition at line 401 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().

◆ m_row

template<class R>
DSVectorBase<R> m_row
private

Definition at line 392 of file spxmainsm.h.

Referenced by ForceConstraintPS(), ForceConstraintPS(), and operator=().

◆ m_rowobj

template<class R>
const R m_rowobj
private

Definition at line 402 of file spxmainsm.h.

Referenced by ForceConstraintPS(), and ForceConstraintPS().