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 * | clone () const |
clone function for polymorphism More... | |
Public Member Functions inherited from SPxVectorST | |
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 Vector &v) |
sets up primal solution vector. More... | |
void | dual (const Vector &v) |
sets up primal solution vector. More... | |
Public Member Functions inherited from SPxWeightST | |
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 (SPxSolver &base) |
generates start basis for loaded basis. More... | |
virtual bool | isConsistent () const |
consistency check. More... | |
Public Member Functions inherited from SPxStarter | |
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 (SPxSolver &base) |
sets up variable weights. More... | |
Protected Member Functions inherited from SPxVectorST | |
void | setupWeights (SPxSolver &base) |
sets up variable weights. More... | |
Protected helpers |
Additional Inherited Members | |
Protected Attributes inherited from SPxWeightST | |
DataArray< Real > | rowWeight |
weight value for LP rows. More... | |
DataArray< Real > | 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 | |
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 37 of file spxsumst.h.
SPxSumST | ( | ) |
default constructor.
Definition at line 54 of file spxsumst.h.
References SPxStarter::m_name.
Referenced by SPxSumST::clone().
|
virtual |
destructor.
Definition at line 77 of file spxsumst.h.
|
virtual |
clone function for polymorphism
Reimplemented from SPxVectorST.
Definition at line 80 of file spxsumst.h.
References SPxSumST::SPxSumST().
assignment operator
Definition at line 65 of file spxsumst.h.
References SPxWeightST::isConsistent(), and SPxVectorST::operator=().
|
protectedvirtual |
sets up variable weights.
Reimplemented from SPxWeightST.
Definition at line 25 of file spxsumst.cpp.
References VectorBase< R >::clear(), VectorBase< R >::get_ptr(), SPxLPBase< R >::lhs(), SPxLPBase< R >::lower(), VectorBase< R >::multAdd(), SPxLPBase< R >::nCols(), SPxLPBase< R >::nRows(), SPxVectorST::primal(), DVectorBase< R >::reDim(), SPxLPBase< R >::rhs(), SPxLPBase< R >::rowVector(), SPxVectorST::setupWeights(), and SPxLPBase< R >::upper().