Loading...
Searching...
No Matches
SPxWeightPR< R > Class Template Reference Weighted pricing. More...
Inheritance diagram for SPxWeightPR< R >:
![]()
Detailed DescriptionWeighted pricing. Class SPxWeightPR is an implemantation class of SPxPricer that uses weights for columns and rows for selecting the Simplex pivots. The weights are computed by methods computeCP() and computeRP() which may be overridden by derived classes. The weights are interpreted as follows: The higher a value is, the more likely the corresponding row or column is set on one of its bounds. See SPxPricer for a class documentation. Definition at line 51 of file spxweightpr.h. Constructor & Destructor Documentation◆ SPxWeightPR() [1/2]
default constructor Definition at line 89 of file spxweightpr.h. Referenced by SPxWeightPR< R >::clone(). ◆ SPxWeightPR() [2/2]
copy constructor Definition at line 96 of file spxweightpr.h. References SPxWeightPR< R >::coPenalty, SPxWeightPR< R >::cPenalty, DataArray< T >::get_const_ptr(), SPxWeightPR< R >::penalty, and SPxWeightPR< R >::rPenalty. ◆ ~SPxWeightPR()
destructor Definition at line 146 of file spxweightpr.h. Member Function Documentation◆ addedCoVecs()
Reimplemented from SPxPricer< R >. ◆ addedVecs()
Reimplemented from SPxPricer< R >. ◆ clone()clone function for polymorphism Implements SPxPricer< R >. Definition at line 149 of file spxweightpr.h. References SPxWeightPR< R >::SPxWeightPR(). ◆ computeCP()◆ computeLeavePenalty()◆ computeRP()◆ isConsistent()checks for consistency Reimplemented from SPxPricer< R >. ◆ load()sets the solver Reimplemented from SPxPricer< R >. ◆ operator=()
assignment operator Definition at line 119 of file spxweightpr.h. References SPxWeightPR< R >::coPenalty, SPxWeightPR< R >::cPenalty, DataArray< T >::get_const_ptr(), SPxWeightPR< R >::leavePenalty, SPxWeightPR< R >::objlength, SPxPricer< R >::operator=(), SPxWeightPR< R >::penalty, and SPxWeightPR< R >::rPenalty. ◆ removedCoVec()
Reimplemented from SPxPricer< R >. ◆ removedCoVecs()
◆ removedVec()
Reimplemented from SPxPricer< R >. ◆ removedVecs()
◆ selectEnter()Implements SPxPricer< R >. ◆ selectLeave()Implements SPxPricer< R >. ◆ setRep()set row/column representation Reimplemented from SPxPricer< R >. ◆ setType()set entering/leaving algorithm Reimplemented from SPxPricer< R >. Member Data Documentation◆ coPenaltyDefinition at line 67 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(), and SPxWeightPR< R >::SPxWeightPR(). ◆ cPenalty
column penalties Definition at line 59 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(), and SPxWeightPR< R >::SPxWeightPR(). ◆ leavePenalty
penalties for leaving alg Definition at line 63 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(). ◆ objlengthlength of objective vector. Definition at line 69 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(). ◆ penaltyDefinition at line 65 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(), and SPxWeightPR< R >::SPxWeightPR(). ◆ rPenalty
row penalties Definition at line 61 of file spxweightpr.h. Referenced by SPxWeightPR< R >::operator=(), and SPxWeightPR< R >::SPxWeightPR().
|