Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::FreeColSingletonPS Class Reference

Postsolves free column singletons. More...

Public Member Functions

 FreeColSingletonPS (const SPxLP &lp, SPxMainSM &simplifier, int _j, int _i, Real slackVal)
 
 FreeColSingletonPS (const FreeColSingletonPS &old)
 copy constructor More...
 
FreeColSingletonPSoperator= (const FreeColSingletonPS &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_j
 
const int m_i
 
const int m_old_j
 
const int m_old_i
 
const Real m_obj
 
const Real m_lRhs
 
const bool m_onLhs
 
const bool m_eqCons
 
DSVector m_row
 

Additional Inherited Members

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

Detailed Description

Postsolves free column singletons.

Definition at line 730 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ FreeColSingletonPS() [1/2]

FreeColSingletonPS ( const SPxLP lp,
SPxMainSM simplifier,
int  _j,
int  _i,
Real  slackVal 
)

Definition at line 745 of file spxmainsm.h.

References SPxSimplifier::addObjoffset(), and SPxLPBase< R >::obj().

◆ FreeColSingletonPS() [2/2]

copy constructor

Definition at line 761 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 785 of file spxmainsm.h.

References SPxMainSM::PostStep::execute(), SPxMainSM::FreeColSingletonPS, and soplex::spx_alloc().

◆ execute()

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

◆ operator=()

FreeColSingletonPS& operator= ( const FreeColSingletonPS rhs)

assignment operator

Definition at line 774 of file spxmainsm.h.

References SPxMainSM::FreeColSingletonPS::m_row, and SPxMainSM::PostStep::operator=().

Member Data Documentation

◆ m_eqCons

const bool m_eqCons
private

Definition at line 740 of file spxmainsm.h.

◆ m_i

const int m_i
private

Definition at line 734 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 733 of file spxmainsm.h.

◆ m_lRhs

const Real m_lRhs
private

Definition at line 738 of file spxmainsm.h.

◆ m_obj

const Real m_obj
private

Definition at line 737 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 736 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 735 of file spxmainsm.h.

◆ m_onLhs

const bool m_onLhs
private

Definition at line 739 of file spxmainsm.h.

◆ m_row

DSVector m_row
private

Definition at line 741 of file spxmainsm.h.

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