|
SoPlex
|
Steepest edge pricer. More...
#include <spxsteepexpr.h>
Public Member Functions | |
Construction / destruction | |
| SPxSteepExPR () | |
| SPxSteepExPR (const SPxSteepExPR &old) | |
| copy constructor | |
| SPxSteepExPR & | operator= (const SPxSteepExPR &rhs) |
| assignment operator | |
| virtual | ~SPxSteepExPR () |
| destructor | |
| virtual SPxSteepPR< R > * | clone () const |
| clone function for polymorphism | |
| Public Member Functions inherited from SPxSteepPR< R > | |
| void | setupWeights (typename SPxSolverBase< R >::Type type) |
| setup steepest edge weights | |
| SPxSteepPR (const char *name="Steep", Setup mode=DEFAULT) | |
| SPxSteepPR (const SPxSteepPR &old) | |
| copy constructor | |
| SPxSteepPR & | operator= (const SPxSteepPR &rhs) |
| assignment operator | |
| virtual | ~SPxSteepPR () |
| destructor | |
| virtual void | load (SPxSolverBase< R > *base) |
| sets the solver | |
| virtual void | clear () |
| clear solver and preferences | |
| virtual void | setType (typename SPxSolverBase< R >::Type) |
| set entering/leaving algorithm | |
| virtual void | setRep (typename SPxSolverBase< R >::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< R > | |
| virtual const char * | getName () const |
| get name of pricer. | |
| virtual SPxSolverBase< R > * | solver () const |
| returns loaded SPxSolverBase object. | |
| virtual void | setPricingTolerance (R tol) |
| sets pricing tolerance. | |
| virtual R | pricingTolerance () const |
| returns the pricing tolerance | |
| virtual void | setTolerances (std::shared_ptr< Tolerances > newTolerances) |
| set the _tolerances member variable | |
| 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. | |
| SPxPricer (const char *p_name) | |
| constructor | |
| SPxPricer (const SPxPricer &old) | |
| copy constructor | |
| SPxPricer & | operator= (const SPxPricer &rhs) |
| assignment operator | |
| virtual | ~SPxPricer () |
| destructor. | |
Additional Inherited Members | |
| Public Types inherited from SPxSteepPR< R > | |
| enum | Setup { EXACT , DEFAULT } |
| How to setup the direction multipliers. More... | |
| Public Types inherited from SPxPricer< R > | |
| enum | ViolationType { NOT_VIOLATED = 0 , VIOLATED = 1 , VIOLATED_AND_CHECKED = 2 } |
| Protected Attributes inherited from SPxPricer< R > | |
| IdxCompare | compare |
| const char * | m_name |
| name of the pricer | |
| SPxSolverBase< R > * | thesolver |
| the solver | |
| R | thetolerance |
| violation bound | |
| std::shared_ptr< Tolerances > | _tolerances |
| tolerances used by the solver | |
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 50 of file spxsteepexpr.h.
| SPxSteepExPR | ( | ) |
Definition at line 59 of file spxsteepexpr.h.
References SPxSteepPR< R >::EXACT, SPxSteepPR< R >::isConsistent(), and SPxSteepPR< R >::SPxSteepPR().
Referenced by clone(), operator=(), and SPxSteepExPR().
| SPxSteepExPR | ( | const SPxSteepExPR< R > & | old | ) |
copy constructor
Definition at line 65 of file spxsteepexpr.h.
References SPxSteepPR< R >::isConsistent(), SPxSteepExPR(), and SPxSteepPR< R >::SPxSteepPR().
|
virtual |
destructor
Definition at line 83 of file spxsteepexpr.h.
|
virtual |
clone function for polymorphism
Reimplemented from SPxSteepPR< R >.
Definition at line 86 of file spxsteepexpr.h.
References SPxSteepExPR(), and SPxSteepPR< R >::SPxSteepPR().
| SPxSteepExPR & operator= | ( | const SPxSteepExPR< R > & | rhs | ) |
assignment operator
Definition at line 71 of file spxsteepexpr.h.
References SPxSteepPR< R >::isConsistent(), SPxSteepPR< R >::operator=(), and SPxSteepExPR().