Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM< R >::DuplicateColsPS Class Reference

Postsolves duplicate columns. More...

Public Member Functions

 DuplicateColsPS (const SPxLPBase< R > &lp, int _j, int _k, R 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 (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, 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< typename SPxSolverBase< R >::VarStatus > rows, DataArray< typename SPxSolverBase< R >::VarStatus > cols) const
 

Private Attributes

const int m_j
 
const int m_k
 
const R m_loJ
 
const R m_upJ
 
const R m_loK
 
const R m_upK
 
const R m_scale
 
const bool m_isFirst
 
const bool m_isLast
 
DataArray< int > m_perm
 

Additional Inherited Members

- Static Public Member Functions inherited from SPxMainSM< R >::PostStep
static R eps ()
 

Detailed Description

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

Postsolves duplicate columns.

Definition at line 994 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ DuplicateColsPS() [1/2]

DuplicateColsPS ( const SPxLPBase< R > &  lp,
int  _j,
int  _k,
scale,
DataArray< int >  perm,
bool  isFirst = false,
bool  isTheLast = false 
)

Definition at line 1009 of file spxmainsm.h.

◆ DuplicateColsPS() [2/2]

DuplicateColsPS ( const DuplicateColsPS old)

copy constructor

Definition at line 1024 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM< R >::PostStep.

Definition at line 1048 of file spxmainsm.h.

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

◆ execute()

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=()

DuplicateColsPS& operator= ( const DuplicateColsPS rhs)

assignment operator

Definition at line 1038 of file spxmainsm.h.

References SPxMainSM< R >::PostStep::operator=().

Member Data Documentation

◆ m_isFirst

const bool m_isFirst
private

Definition at line 1004 of file spxmainsm.h.

◆ m_isLast

const bool m_isLast
private

Definition at line 1005 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 997 of file spxmainsm.h.

◆ m_k

const int m_k
private

Definition at line 998 of file spxmainsm.h.

◆ m_loJ

const R m_loJ
private

Definition at line 999 of file spxmainsm.h.

◆ m_loK

const R m_loK
private

Definition at line 1001 of file spxmainsm.h.

◆ m_perm

DataArray<int> m_perm
private

Definition at line 1006 of file spxmainsm.h.

◆ m_scale

const R m_scale
private

Definition at line 1003 of file spxmainsm.h.

◆ m_upJ

const R m_upJ
private

Definition at line 1000 of file spxmainsm.h.

◆ m_upK

const R m_upK
private

Definition at line 1002 of file spxmainsm.h.