SoPlex Documentation
Loading...
Searching...
No Matches
SPxSteepExPR< R > Class Template Reference

Steepest edge pricer. More...

#include <spxsteepexpr.h>

Inheritance diagram for SPxSteepExPR< R >:
SPxSteepPR< R > SPxPricer< R >

Public Member Functions

Construction / destruction
 SPxSteepExPR ()
 
 SPxSteepExPR (const SPxSteepExPR &old)
 copy constructor
 
SPxSteepExPRoperator= (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
 
SPxSteepPRoperator= (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
 
SPxPriceroperator= (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
 
thetolerance
 violation bound
 
std::shared_ptr< Tolerances_tolerances
 tolerances used by the solver
 

Detailed Description

template<class R>
class soplex::SPxSteepExPR< R >

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.

Constructor & Destructor Documentation

◆ SPxSteepExPR() [1/2]

template<class R >
SPxSteepExPR ( )

Definition at line 59 of file spxsteepexpr.h.

References SPxSteepPR< R >::isConsistent().

Referenced by SPxSteepExPR< R >::clone().

◆ SPxSteepExPR() [2/2]

template<class R >
SPxSteepExPR ( const SPxSteepExPR< R > & old)

copy constructor

Definition at line 65 of file spxsteepexpr.h.

References SPxSteepPR< R >::isConsistent().

◆ ~SPxSteepExPR()

template<class R >
virtual ~SPxSteepExPR ( )
virtual

destructor

Definition at line 83 of file spxsteepexpr.h.

Member Function Documentation

◆ clone()

template<class R >
virtual SPxSteepPR< R > * clone ( ) const
virtual

clone function for polymorphism

Reimplemented from SPxSteepPR< R >.

Definition at line 86 of file spxsteepexpr.h.

References SPxSteepExPR< R >::SPxSteepExPR().

◆ operator=()

template<class R >
SPxSteepExPR & operator= ( const SPxSteepExPR< R > & rhs)

assignment operator

Definition at line 71 of file spxsteepexpr.h.

References SPxSteepPR< R >::isConsistent(), and SPxSteepPR< R >::operator=().