Loading...
Searching...
No Matches
SPxVectorST< R > Class Template Reference Solution vector based start basis. More...
Inheritance diagram for SPxVectorST< R >:
![]()
Detailed Descriptiontemplate<class R> class soplex::SPxVectorST< R > Solution vector based start basis. This version of SPxWeightST can be used to construct a starting basis for an LP to be solved with SoPlex if an approximate solution vector or dual vector (possibly optained by a heuristic) is available. This is done by setting up weights for the SPxWeightST it is derived from. The primal vector to be used is loaded by calling method primal() while dual() setups for the dual vector. Methods primal() or dual() must be called before generate() is called by SoPlex to set up a starting basis. If more than one call of method primal() or dual() occurred only the most recent one is valid for generating the starting base. Definition at line 54 of file spxvectorst.h. Member Enumeration Documentation◆ anonymous enum
template<class R >
specifies whether to work on the primal, the dual, or not at all.
Definition at line 62 of file spxvectorst.h. Constructor & Destructor Documentation◆ SPxVectorST() [1/2]
template<class R >
default constructor. Definition at line 87 of file spxvectorst.h. References SPxStarter< R >::m_name. Referenced by SPxVectorST< R >::clone(). ◆ SPxVectorST() [2/2]
template<class R >
copy constructor Definition at line 93 of file spxvectorst.h. References SPxWeightST< R >::isConsistent(). ◆ ~SPxVectorST()
template<class R >
destructor. Definition at line 115 of file spxvectorst.h. Member Function Documentation◆ clone()
template<class R >
clone function for polymorphism Reimplemented from SPxWeightST< R >. Reimplemented in SPxSumST< R >. Definition at line 118 of file spxvectorst.h. References SPxVectorST< R >::SPxVectorST(). ◆ dual()
template<class R >
sets up primal solution vector. Definition at line 134 of file spxvectorst.h. References SPxVectorST< R >::DVEC, SPxVectorST< R >::state, and SPxVectorST< R >::vec. ◆ operator=()
template<class R >
assignment operator Definition at line 101 of file spxvectorst.h. References SPxWeightST< R >::isConsistent(), SPxWeightST< R >::operator=(), SPxVectorST< R >::state, and SPxVectorST< R >::vec. Referenced by SPxSumST< R >::operator=(). ◆ primal()
template<class R >
sets up primal solution vector. Definition at line 128 of file spxvectorst.h. References SPxVectorST< R >::PVEC, SPxVectorST< R >::state, and SPxVectorST< R >::vec. ◆ setupWeights()
template<class R >
sets up variable weights. Reimplemented from SPxWeightST< R >. Member Data Documentation◆ []
specifies whether to work on the primal, the dual, or not at all. Referenced by SPxVectorST< R >::dual(), SPxVectorST< R >::operator=(), and SPxVectorST< R >::primal(). ◆ vec
template<class R >
the current (approximate) primal or dual vector Definition at line 69 of file spxvectorst.h. Referenced by SPxVectorST< R >::dual(), SPxVectorST< R >::operator=(), and SPxVectorST< R >::primal().
|