SoPlex
|
Simple heuristic SPxStarter. More...
#include <spxsumst.h>
Public Member Functions | |
Construction / destruction | |
SPxSumST () | |
default constructor. | |
SPxSumST (const SPxSumST &old) | |
copy constructor | |
SPxSumST & | operator= (const SPxSumST &rhs) |
assignment operator | |
virtual | ~SPxSumST () |
destructor. | |
virtual SPxStarter< R > * | clone () const |
clone function for polymorphism | |
Public Member Functions inherited from SPxVectorST< R > | |
SPxVectorST () | |
default constructor. | |
SPxVectorST (const SPxVectorST &old) | |
copy constructor | |
SPxVectorST & | operator= (const SPxVectorST &rhs) |
assignment operator | |
virtual | ~SPxVectorST () |
destructor. | |
void | primal (const VectorBase< R > &v) |
sets up primal solution vector. | |
void | dual (const VectorBase< R > &v) |
sets up primal solution vector. | |
Public Member Functions inherited from SPxWeightST< R > | |
SPxWeightST () | |
default constructor. | |
SPxWeightST (const SPxWeightST &old) | |
copy constructor | |
SPxWeightST & | operator= (const SPxWeightST &rhs) |
assignment operator | |
virtual | ~SPxWeightST () |
destructor. | |
void | generate (SPxSolverBase< R > &base) |
generates start basis for loaded basis. | |
virtual bool | isConsistent () const |
consistency check. | |
Public Member Functions inherited from SPxStarter< R > | |
virtual void | setTolerances (const std::shared_ptr< Tolerances > &tolerances) |
set the tolerances to be used by the starter | |
virtual const std::shared_ptr< Tolerances > & | tolerances () const |
get the toelrances used by the starter | |
virtual const char * | getName () const |
get name of starter. | |
SPxStarter (const char *name) | |
constructor | |
SPxStarter (const SPxStarter &old) | |
copy constructor | |
SPxStarter & | operator= (const SPxStarter &rhs) |
assignment operator | |
virtual | ~SPxStarter () |
destructor. |
Protected Member Functions | |
Protected helpers | |
void | setupWeights (SPxSolverBase< R > &base) |
sets up variable weights. | |
Protected Member Functions inherited from SPxVectorST< R > | |
void | setupWeights (SPxSolverBase< R > &base) |
sets up variable weights. | |
Protected Member Functions inherited from SPxWeightST< R > |
Additional Inherited Members | |
Protected Attributes inherited from SPxWeightST< R > | |
Array< R > | rowWeight |
weight value for LP rows. | |
Array< R > | colWeight |
weight value for LP columns. | |
DataArray< bool > | rowRight |
set variable to rhs?. | |
DataArray< bool > | colUp |
set primal variable to upper bound. | |
const char * | m_name |
name of the starter | |
std::shared_ptr< Tolerances > | _tolerances |
tolerances for the starter |
Simple heuristic SPxStarter.
Testing version of an SPxVectorST using a very simplistic heuristic to build up an approximated solution vector.
Definition at line 47 of file spxsumst.h.
SPxSumST | ( | ) |
default constructor.
Definition at line 64 of file spxsumst.h.
References SPxStarter< R >::m_name.
Referenced by clone(), operator=(), and SPxSumST().
copy constructor
Definition at line 69 of file spxsumst.h.
References SPxWeightST< R >::isConsistent(), SPxSumST(), and SPxVectorST< R >::SPxVectorST().
|
virtual |
destructor.
Definition at line 87 of file spxsumst.h.
|
virtual |
clone function for polymorphism
Reimplemented from SPxVectorST< R >.
Definition at line 90 of file spxsumst.h.
References SPxSumST().
assignment operator
Definition at line 75 of file spxsumst.h.
References SPxWeightST< R >::isConsistent(), SPxVectorST< R >::operator=(), and SPxSumST().
|
protectedvirtual |
sets up variable weights.
Reimplemented from SPxWeightST< R >.