SoPlex start basis generation base class. More...
#include <spxstarter.h>
Public Member Functions | |
virtual void | setTolerances (const std::shared_ptr< Tolerances > &tolerances) |
set the tolerances to be used by the starter More... | |
virtual const std::shared_ptr< Tolerances > & | tolerances () const |
get the toelrances used by the starter More... | |
Access | |
virtual const char * | getName () const |
get name of starter. More... | |
Starting | |
virtual void | generate (SPxSolverBase< R > &base)=0 |
generates start basis for loaded basis. More... | |
Misc | |
virtual bool | isConsistent () const |
checks consistency. More... | |
Private Member Functions | |
Blocked | |
SPxStarter () | |
we have no default constructor. More... | |
Data | |
const char * | m_name |
name of the starter More... | |
std::shared_ptr< Tolerances > | _tolerances |
tolerances for the starter More... | |
SPxStarter (const char *name) | |
constructor More... | |
SPxStarter (const SPxStarter &old) | |
copy constructor More... | |
SPxStarter & | operator= (const SPxStarter &rhs) |
assignment operator More... | |
virtual | ~SPxStarter () |
destructor. More... | |
virtual SPxStarter * | clone () const =0 |
clone function for polymorphism More... | |
SoPlex start basis generation base class.
SPxStarter is the virtual base class for classes generating a starter basis for the Simplex solver SoPlex. When a SPxStarter object has been loaded to a SoPlex solver, the latter will call method generate() in order to have a start basis generated. Implementations of method generate() must terminate by loading the generated basis to SoPlex. Loaded bases must be nonsingular.
Definition at line 51 of file spxstarter.h.
|
explicit |
constructor
Definition at line 70 of file spxstarter.h.
SPxStarter | ( | const SPxStarter< R > & | old | ) |
copy constructor
Definition at line 74 of file spxstarter.h.
|
virtual |
|
private |
we have no default constructor.
|
pure virtual |
clone function for polymorphism
Implemented in SPxSumST< R >, SPxVectorST< R >, and SPxWeightST< R >.
|
pure virtual |
generates start basis for loaded basis.
Implemented in SPxWeightST< R >.
|
virtual |
get name of starter.
Definition at line 100 of file spxstarter.h.
References SPxStarter< R >::m_name.
|
virtual |
checks consistency.
Reimplemented in SPxWeightST< R >.
SPxStarter & operator= | ( | const SPxStarter< R > & | rhs | ) |
assignment operator
Definition at line 78 of file spxstarter.h.
References SPxStarter< R >::m_name.
Referenced by SPxWeightST< R >::operator=().
|
virtual |
set the tolerances to be used by the starter
Definition at line 114 of file spxstarter.h.
References SPxStarter< R >::_tolerances, and SPxStarter< R >::tolerances().
|
virtual |
get the toelrances used by the starter
Definition at line 119 of file spxstarter.h.
References SPxStarter< R >::_tolerances.
Referenced by SPxStarter< R >::setTolerances().
|
protected |
tolerances for the starter
Definition at line 61 of file spxstarter.h.
Referenced by SPxStarter< R >::setTolerances(), and SPxStarter< R >::tolerances().
|
protected |
name of the starter
Definition at line 59 of file spxstarter.h.
Referenced by SPxStarter< R >::getName(), SPxStarter< R >::operator=(), SPxSumST< R >::SPxSumST(), SPxVectorST< R >::SPxVectorST(), and SPxStarter< R >::~SPxStarter().