Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::RowSingletonPS Class Reference

Postsolves row singletons. More...

Public Member Functions

 RowSingletonPS (const SPxLP &lp, int _i, int _j, bool strictLo, bool strictUp, Real newLo, Real newUp, Real oldLo, Real oldUp)
 
 RowSingletonPS (const RowSingletonPS &old)
 copy constructor More...
 
RowSingletonPSoperator= (const RowSingletonPS &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 int m_j
 
const Real m_lhs
 
const Real m_rhs
 
const bool m_strictLo
 
const bool m_strictUp
 
const bool m_maxSense
 
const Real m_obj
 
DSVector m_col
 
const Real m_newLo
 
const Real m_newUp
 
const Real m_oldLo
 
const Real m_oldUp
 
const Real m_row_obj
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM::PostStep
static Real eps ()
 

Detailed Description

Postsolves row singletons.

Definition at line 280 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ RowSingletonPS() [1/2]

RowSingletonPS ( const SPxLP lp,
int  _i,
int  _j,
bool  strictLo,
bool  strictUp,
Real  newLo,
Real  newUp,
Real  oldLo,
Real  oldUp 
)

Definition at line 301 of file spxmainsm.h.

◆ RowSingletonPS() [2/2]

RowSingletonPS ( const RowSingletonPS old)

copy constructor

Definition at line 321 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 351 of file spxmainsm.h.

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

◆ execute()

void execute ( DVector x,
DVector y,
DVector s,
DVector r,
DataArray< SPxSolver::VarStatus > &  cBasis,
DataArray< SPxSolver::VarStatus > &  rBasis,
bool  isOptimal 
) const
virtual

◆ operator=()

RowSingletonPS& operator= ( const RowSingletonPS rhs)

assignment operator

Definition at line 340 of file spxmainsm.h.

References SPxMainSM::RowSingletonPS::m_col, and SPxMainSM::PostStep::operator=().

Member Data Documentation

◆ m_col

DSVector m_col
private

Definition at line 292 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 283 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 285 of file spxmainsm.h.

◆ m_lhs

const Real m_lhs
private

Definition at line 286 of file spxmainsm.h.

◆ m_maxSense

const bool m_maxSense
private

Definition at line 290 of file spxmainsm.h.

◆ m_newLo

const Real m_newLo
private

Definition at line 293 of file spxmainsm.h.

◆ m_newUp

const Real m_newUp
private

Definition at line 294 of file spxmainsm.h.

◆ m_obj

const Real m_obj
private

Definition at line 291 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 284 of file spxmainsm.h.

◆ m_oldLo

const Real m_oldLo
private

Definition at line 295 of file spxmainsm.h.

◆ m_oldUp

const Real m_oldUp
private

Definition at line 296 of file spxmainsm.h.

◆ m_rhs

const Real m_rhs
private

Definition at line 287 of file spxmainsm.h.

◆ m_row_obj

const Real m_row_obj
private

Definition at line 297 of file spxmainsm.h.

◆ m_strictLo

const bool m_strictLo
private

Definition at line 288 of file spxmainsm.h.

◆ m_strictUp

const bool m_strictUp
private

Definition at line 289 of file spxmainsm.h.