Scippy

SoPlex

Sequential object-oriented simPlex

SPxSteepExPR< R > Class Template Reference

Steepest edge pricer. More...

#include <spxsteepexpr.h>

Public Member Functions

Construction / destruction
 SPxSteepExPR ()
 
 SPxSteepExPR (const SPxSteepExPR &old)
 copy constructor More...
 
SPxSteepExPRoperator= (const SPxSteepExPR &rhs)
 assignment operator More...
 
virtual ~SPxSteepExPR ()
 destructor More...
 
virtual SPxSteepPR< R > * clone () const
 clone function for polymorphism More...
 
- Public Member Functions inherited from SPxSteepPR< R >
void setupWeights (typename SPxSolverBase< R >::Type type)
 setup steepest edge weights More...
 
 SPxSteepPR (const char *name="Steep", Setup mode=DEFAULT)
 
 SPxSteepPR (const SPxSteepPR &old)
 copy constructor More...
 
SPxSteepPRoperator= (const SPxSteepPR &rhs)
 assignment operator More...
 
virtual ~SPxSteepPR ()
 destructor More...
 
virtual void load (SPxSolverBase< R > *base)
 sets the solver More...
 
virtual void clear ()
 clear solver and preferences More...
 
virtual void setType (typename SPxSolverBase< R >::Type)
 set entering/leaving algorithm More...
 
virtual void setRep (typename SPxSolverBase< R >::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< R >
virtual const char * getName () const
 get name of pricer. More...
 
virtual SPxSolverBase< R > * solver () const
 returns loaded SPxSolverBase object. More...
 
virtual void setPricingTolerance (R tol)
 sets pricing tolerance. More...
 
virtual R pricingTolerance () const
 returns the pricing tolerance More...
 
virtual void setTolerances (std::shared_ptr< Tolerances > newTolerances)
 set the _tolerances member variable 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...
 
 SPxPricer (const char *p_name)
 constructor More...
 
 SPxPricer (const SPxPricer &old)
 copy constructor More...
 
SPxPriceroperator= (const SPxPricer &rhs)
 assignment operator More...
 
virtual ~SPxPricer ()
 destructor. More...
 

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 More...
 
SPxSolverBase< R > * thesolver
 the solver More...
 
thetolerance
 violation bound More...
 
std::shared_ptr< Tolerances_tolerances
 tolerances used by the solver More...
 

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]

Definition at line 59 of file spxsteepexpr.h.

References SPxSteepPR< R >::isConsistent().

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

◆ SPxSteepExPR() [2/2]

SPxSteepExPR ( const SPxSteepExPR< R > &  old)

copy constructor

Definition at line 65 of file spxsteepexpr.h.

References SPxSteepPR< R >::isConsistent().

◆ ~SPxSteepExPR()

virtual ~SPxSteepExPR ( )
virtual

destructor

Definition at line 83 of file spxsteepexpr.h.

Member Function Documentation

◆ clone()

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=()

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

assignment operator

Definition at line 71 of file spxsteepexpr.h.

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