Scippy

SoPlex

Sequential object-oriented simPlex

SPxSteepExPR Class Reference

Steepest edge pricer.Class SPxSteepExPR implements a steepest edge pricer to be used with SoPlex. Exact initialization of weights is used. More...

#include <spxsteepexpr.h>

Inheritance diagram for SPxSteepExPR:

Public Member Functions

Construction / destruction
 SPxSteepExPR ()
 
 SPxSteepExPR (const SPxSteepExPR &old)
 copy constructor
 
SPxSteepExPRoperator= (const SPxSteepExPR &rhs)
 assignment operator
 
virtual ~SPxSteepExPR ()
 destructor
 
virtual SPxSteepPRclone () const
 clone function for polymorphism
 
- Public Member Functions inherited from SPxSteepPR
void setupWeights (SPxSolver::Type type)
 setup steepest edge weights
 
 SPxSteepPR (const char *name="Steep", Setup mode=DEFAULT)
 
 SPxSteepPR (const SPxSteepPR &old)
 copy constructor
 
SPxSteepPRoperator= (const SPxSteepPR &rhs)
 assignment operator
 
virtual ~SPxSteepPR ()
 destructor
 
virtual void load (SPxSolver *base)
 sets the solver
 
virtual void clear ()
 clear solver and preferences
 
virtual void setType (SPxSolver::Type)
 set entering/leaving algorithm
 
virtual void setRep (SPxSolver::Representation rep)
 set row/column representation
 
virtual int selectLeave ()
 
virtual void left4 (int n, SPxId id)
 
virtual SPxId selectEnter ()
 
virtual void entered4 (SPxId id, int n)
 
virtual void addedVecs (int n)
 n vectors have been added to loaded LP.
 
virtual void addedCoVecs (int n)
 n covectors have been added to loaded LP.
 
virtual void removedVec (int i)
 the i'th vector has been removed from the loaded LP.
 
virtual void removedCoVec (int i)
 the i'th covector has been removed from the loaded LP.
 
virtual void removedVecs (const int perm[])
 n vectors have been removed from loaded LP.
 
virtual void removedCoVecs (const int perm[])
 n covectors have been removed from loaded LP.
 
virtual bool isConsistent () const
 
- Public Member Functions inherited from SPxPricer
virtual const char * getName () const
 get name of pricer.
 
virtual SPxSolversolver () const
 returns loaded SPxSolver object.
 
virtual Real epsilon () const
 returns violation bound theeps.
 
virtual void setEpsilon (Real eps)
 sets violation bound.
 
virtual void removedVecs (const int *)
 vectors given by perm have been removed from loaded LP.
 
virtual void removedCoVecs (const int *)
 covectors given by perm have been removed from loaded LP.
 
virtual void getNdualNorms (int &nrows, int &ncols) const
 get number of available norms
 
virtual bool getDualNorms (int &nrows, int &ncols, Real *norms) const
 export norms from pricer
 
virtual bool setDualNorms (int nrows, int ncols, Real *norms)
 import norms into pricer
 
 SPxPricer (const char *p_name)
 constructor
 
 SPxPricer (const SPxPricer &old)
 copy constructor
 
SPxPriceroperator= (const SPxPricer &rhs)
 assignment operator
 
virtual ~SPxPricer ()
 destructor.
 

Additional Inherited Members

- Public Types inherited from SPxSteepPR
enum  Setup { EXACT, DEFAULT }
 How to setup the direction multipliers. More...
 
- Protected Attributes inherited from SPxPricer
IdxCompare compare
 
const char * m_name
 name of the pricer
 
SPxSolverthesolver
 the solver
 
Real theeps
 violation bound
 
DVector weights
 vector to store pricing weights or norms
 
DVector coWeights
 
bool weightsAreSetup
 are the weights already set up?
 

Detailed Description

Steepest edge pricer.

Class SPxSteepExPR implements a steepest edge pricer to be used with SoPlex. Exact initialization of weights is used.

See SPxPricer for a class documentation.

Definition at line 40 of file spxsteepexpr.h.

Constructor & Destructor Documentation

Definition at line 49 of file spxsteepexpr.h.

References SPxSteepPR::isConsistent().

Referenced by SPxSteepExPR::clone().

SPxSteepExPR ( const SPxSteepExPR old)

copy constructor

Definition at line 55 of file spxsteepexpr.h.

References SPxSteepPR::isConsistent().

virtual ~SPxSteepExPR ( )
virtual

destructor

Definition at line 73 of file spxsteepexpr.h.

Member Function Documentation

virtual SPxSteepPR* clone ( ) const
virtual

clone function for polymorphism

Reimplemented from SPxSteepPR.

Definition at line 76 of file spxsteepexpr.h.

References SPxSteepExPR::SPxSteepExPR().

SPxSteepExPR& operator= ( const SPxSteepExPR rhs)

assignment operator

Definition at line 61 of file spxsteepexpr.h.

References SPxSteepPR::isConsistent(), and SPxSteepPR::operator=().