Scippy

SoPlex

Sequential object-oriented simPlex

SPxMainSM::AggregationPS Class Reference

Postsolves aggregation. More...

Public Member Functions

 AggregationPS (const SPxLP &lp, int _i, int _j, Real rhs, Real oldupper, Real oldlower)
 
 AggregationPS (const AggregationPS &old)
 copy constructor More...
 
AggregationPSoperator= (const AggregationPS &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_upper
 
const Real m_lower
 
const Real m_obj
 
const Real m_oldupper
 
const Real m_oldlower
 
const Real m_rhs
 
DSVector m_row
 
DSVector m_col
 

Additional Inherited Members

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

Detailed Description

Postsolves aggregation.

Definition at line 1061 of file spxmainsm.h.

Constructor & Destructor Documentation

◆ AggregationPS() [1/2]

AggregationPS ( const SPxLP lp,
int  _i,
int  _j,
Real  rhs,
Real  oldupper,
Real  oldlower 
)

Definition at line 1079 of file spxmainsm.h.

◆ AggregationPS() [2/2]

AggregationPS ( const AggregationPS old)

copy constructor

Definition at line 1097 of file spxmainsm.h.

Member Function Documentation

◆ clone()

virtual PostStep* clone ( ) const
virtual

clone function for polymorphism

Implements SPxMainSM::PostStep.

Definition at line 1125 of file spxmainsm.h.

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

◆ execute()

◆ operator=()

AggregationPS& operator= ( const AggregationPS rhs)

Member Data Documentation

◆ m_col

DSVector m_col
private

Definition at line 1075 of file spxmainsm.h.

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

◆ m_i

const int m_i
private

Definition at line 1065 of file spxmainsm.h.

◆ m_j

const int m_j
private

Definition at line 1064 of file spxmainsm.h.

◆ m_lower

const Real m_lower
private

Definition at line 1069 of file spxmainsm.h.

◆ m_obj

const Real m_obj
private

Definition at line 1070 of file spxmainsm.h.

◆ m_old_i

const int m_old_i
private

Definition at line 1067 of file spxmainsm.h.

◆ m_old_j

const int m_old_j
private

Definition at line 1066 of file spxmainsm.h.

◆ m_oldlower

const Real m_oldlower
private

Definition at line 1072 of file spxmainsm.h.

◆ m_oldupper

const Real m_oldupper
private

Definition at line 1071 of file spxmainsm.h.

◆ m_rhs

const Real m_rhs
private

Definition at line 1073 of file spxmainsm.h.

◆ m_row

DSVector m_row
private

Definition at line 1074 of file spxmainsm.h.

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

◆ m_upper

const Real m_upper
private

Definition at line 1068 of file spxmainsm.h.