Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::DuplicateColsPS Class Reference

Postsolves duplicate columns. More...

Public Member Functions

 DuplicateColsPS (const SPxLP &lp, int _j, int _k, Real scale, DataArray< int > perm, bool isFirst=false, bool isTheLast=false)
 
 DuplicateColsPS (const DuplicateColsPS &old)
 copy constructor More...
 
DuplicateColsPSoperator= (const DuplicateColsPS &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_k
 
const Real m_loJ
 
const Real m_upJ
 
const Real m_loK
 
const Real m_upK
 
const Real m_scale
 
const bool m_isFirst
 
const bool m_isLast
 
DataArray< int > m_perm
 

Additional Inherited Members

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

Detailed Description

Postsolves duplicate columns.

Definition at line 993 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ DuplicateColsPS() [1/2]

DuplicateColsPS ( const SPxLP lp,
int  _j,
int  _k,
Real  scale,
DataArray< int >  perm,
bool  isFirst = false,
bool  isTheLast = false 
)

Definition at line 1008 of file spxmainsm.h.

◆ DuplicateColsPS() [2/2]

DuplicateColsPS ( const DuplicateColsPS old)

copy constructor

Definition at line 1023 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 1047 of file spxmainsm.h.

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

◆ execute()

◆ operator=()

DuplicateColsPS& operator= ( const DuplicateColsPS rhs)

assignment operator

Definition at line 1037 of file spxmainsm.h.

References SPxMainSM::PostStep::operator=().

Member Data Documentation

◆ m_isFirst

const bool m_isFirst
private

Definition at line 1003 of file spxmainsm.h.

◆ m_isLast

const bool m_isLast
private

Definition at line 1004 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 996 of file spxmainsm.h.

◆ m_k

const int m_k
private

Definition at line 997 of file spxmainsm.h.

◆ m_loJ

const Real m_loJ
private

Definition at line 998 of file spxmainsm.h.

◆ m_loK

const Real m_loK
private

Definition at line 1000 of file spxmainsm.h.

◆ m_perm

DataArray<int> m_perm
private

Definition at line 1005 of file spxmainsm.h.

◆ m_scale

const Real m_scale
private

Definition at line 1002 of file spxmainsm.h.

◆ m_upJ

const Real m_upJ
private

Definition at line 999 of file spxmainsm.h.

◆ m_upK

const Real m_upK
private

Definition at line 1001 of file spxmainsm.h.