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>
Public Member Functions | |
Construction / destruction | |
| SPxSteepExPR () | |
| SPxSteepExPR (const SPxSteepExPR &old) | |
| copy constructor More... | |
| SPxSteepExPR & | operator= (const SPxSteepExPR &rhs) |
| assignment operator More... | |
| virtual | ~SPxSteepExPR () |
| destructor More... | |
| virtual SPxSteepPR * | clone () const |
| clone function for polymorphism More... | |
Public Member Functions inherited from SPxSteepPR | |
| void | setupWeights (SPxSolver::Type type) |
| setup steepest edge weights More... | |
| SPxSteepPR (const char *name="Steep", Setup mode=DEFAULT) | |
| SPxSteepPR (const SPxSteepPR &old) | |
| copy constructor More... | |
| SPxSteepPR & | operator= (const SPxSteepPR &rhs) |
| assignment operator More... | |
| virtual | ~SPxSteepPR () |
| destructor More... | |
| virtual void | load (SPxSolver *base) |
| sets the solver More... | |
| virtual void | clear () |
| clear solver and preferences More... | |
| virtual void | setType (SPxSolver::Type) |
| set entering/leaving algorithm More... | |
| virtual void | setRep (SPxSolver::Representation rep) |
| set row/column representation More... | |
| 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. More... | |
| virtual void | addedCoVecs (int n) |
n covectors have been added to loaded LP. More... | |
| virtual void | removedVec (int i) |
the i'th vector has been removed from the loaded LP. More... | |
| virtual void | removedCoVec (int i) |
the i'th covector has been removed from the loaded LP. More... | |
| virtual void | removedVecs (const int perm[]) |
n vectors have been removed from loaded LP. More... | |
| virtual void | removedCoVecs (const int perm[]) |
n covectors have been removed from loaded LP. More... | |
| virtual bool | isConsistent () const |
Public Member Functions inherited from SPxPricer | |
| virtual const char * | getName () const |
| get name of pricer. More... | |
| virtual SPxSolver * | solver () const |
| returns loaded SPxSolver object. More... | |
| virtual Real | epsilon () const |
| returns violation bound theeps. More... | |
| virtual void | setEpsilon (Real eps) |
| sets violation bound. More... | |
| virtual void | removedVecs (const int *) |
vectors given by perm have been removed from loaded LP. More... | |
| virtual void | removedCoVecs (const int *) |
covectors given by perm have been removed from loaded LP. More... | |
| virtual void | getNdualNorms (int &nrows, int &ncols) const |
| get number of available norms More... | |
| virtual bool | getDualNorms (int &nrows, int &ncols, Real *norms) const |
| export norms from pricer More... | |
| virtual bool | setDualNorms (int nrows, int ncols, Real *norms) |
| import norms into pricer More... | |
| SPxPricer (const char *p_name) | |
| constructor More... | |
| SPxPricer (const SPxPricer &old) | |
| copy constructor More... | |
| SPxPricer & | operator= (const SPxPricer &rhs) |
| assignment operator More... | |
| virtual | ~SPxPricer () |
| destructor. More... | |
Additional Inherited Members | |
Public Types inherited from SPxSteepPR | |
| enum | Setup { EXACT, DEFAULT } |
| How to setup the direction multipliers. More... | |
Public Types inherited from SPxPricer | |
| enum | ViolationType { NOT_VIOLATED = 0, VIOLATED = 1, VIOLATED_AND_CHECKED = 2 } |
Protected Attributes inherited from SPxPricer | |
| IdxCompare | compare |
| const char * | m_name |
| name of the pricer More... | |
| SPxSolver * | thesolver |
| the solver More... | |
| Real | theeps |
| violation bound More... | |
| DVector | weights |
| vector to store pricing weights or norms More... | |
| DVector | coWeights |
| bool | weightsAreSetup |
| are the weights already set up? More... | |
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.
| SPxSteepExPR | ( | ) |
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 |
destructor
Definition at line 73 of file spxsteepexpr.h.
|
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=().