Loading...
Searching...
No Matches
SPxWeightST< R > Class Template Reference Weighted start basis. More...
Inheritance diagram for SPxWeightST< R >:
![]()
Detailed Descriptiontemplate<class R> class soplex::SPxWeightST< R > Weighted start basis. Class SPxWeightST is an implementation of a SPxStarter for generating a Simplex starting basis. Using method setupWeights() it sets up arrays weight and coWeight, or equivalently rowWeight and colWeight. (rowWeight and colWeight are just pointers initialized to weight and coWeight according to the representation of SoPlex The weight values are then used to setup a starting basis for the LP: vectors with low values are likely to become dual (i.e. basic for a column basis) and such with high values are likely to become primal (i.e. nonbasic for a column basis). However, if a variable having an upper and lower bound is to become primal, there is still a choice for setting it either to its upper or lower bound. Members rowRight and colUp are used to determine where to set a primal variable. If rowRight[i] is set to a nonzero value, the right-hand side inequality is set tightly for the Definition at line 66 of file spxweightst.h. Constructor & Destructor Documentation◆ SPxWeightST() [1/2]
template<class R >
default constructor. Definition at line 120 of file spxweightst.h. References SPxWeightST< R >::coWeight, SPxWeightST< R >::isConsistent(), and SPxWeightST< R >::weight. Referenced by SPxWeightST< R >::clone(). ◆ SPxWeightST() [2/2]
template<class R >
copy constructor Definition at line 128 of file spxweightst.h. References SPxWeightST< R >::colWeight, SPxWeightST< R >::isConsistent(), SPxWeightST< R >::rowWeight, and SPxWeightST< R >::weight. ◆ ~SPxWeightST()
template<class R >
destructor. Definition at line 185 of file spxweightst.h. References SPxWeightST< R >::coWeight, and SPxWeightST< R >::weight. Member Function Documentation◆ clone()
template<class R >
clone function for polymorphism Implements SPxStarter< R >. Reimplemented in SPxSumST< R >, and SPxVectorST< R >. Definition at line 191 of file spxweightst.h. References SPxWeightST< R >::SPxWeightST(). ◆ generate()
template<class R >
generates start basis for loaded basis. Implements SPxStarter< R >. ◆ isConsistent()
template<class R >
consistency check. Reimplemented from SPxStarter< R >. Referenced by SPxSumST< R >::operator=(), SPxVectorST< R >::operator=(), SPxWeightST< R >::operator=(), SPxSumST< R >::SPxSumST(), SPxVectorST< R >::SPxVectorST(), SPxWeightST< R >::SPxWeightST(), and SPxWeightST< R >::SPxWeightST(). ◆ operator=()
template<class R >
assignment operator Definition at line 155 of file spxweightst.h. References SPxWeightST< R >::colUp, SPxWeightST< R >::colWeight, SPxWeightST< R >::coWeight, SPxWeightST< R >::forbidden, SPxWeightST< R >::isConsistent(), SPxStarter< R >::operator=(), SPxWeightST< R >::rowRight, SPxWeightST< R >::rowWeight, and SPxWeightST< R >::weight. Referenced by SPxVectorST< R >::operator=(). ◆ setPrimalStatus()
template<class R >
◆ setupWeights()
template<class R >
sets up variable weights. This method is called in order to setup the weights for all variables. It has been declared Reimplemented in SPxSumST< R >, and SPxVectorST< R >. Member Data Documentation◆ colUp
template<class R >
set primal variable to upper bound. Definition at line 100 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(). ◆ colWeight
template<class R >
weight value for LP columns. Definition at line 96 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(), and SPxWeightST< R >::SPxWeightST(). ◆ coWeight
template<class R >
Definition at line 78 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(), SPxWeightST< R >::SPxWeightST(), and SPxWeightST< R >::~SPxWeightST(). ◆ forbidden
template<class R >
Definition at line 74 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(). ◆ rowRight
template<class R >
set variable to rhs?. Definition at line 98 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(). ◆ rowWeight
template<class R >
weight value for LP rows. Definition at line 94 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(), and SPxWeightST< R >::SPxWeightST(). ◆ weight
template<class R >
Definition at line 76 of file spxweightst.h. Referenced by SPxWeightST< R >::operator=(), SPxWeightST< R >::SPxWeightST(), SPxWeightST< R >::SPxWeightST(), and SPxWeightST< R >::~SPxWeightST().
|