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