SPxAutoPR Class Reference Auto pricer.This pricer switches between Devex and Steepest edge pricer based on the difficulty of the problem which is determined by the number of iterations. More...
Inheritance diagram for SPxAutoPR:
![]()
Detailed DescriptionAuto pricer. This pricer switches between Devex and Steepest edge pricer based on the difficulty of the problem which is determined by the number of iterations. See SPxPricer for a class documentation. Definition at line 40 of file spxautopr.h. Constructor & Destructor Documentation
copy constructor Definition at line 65 of file spxautopr.h. References SPxAutoPR::activepricer, SPxAutoPR::devex, and SPxAutoPR::steep.
destructor Definition at line 97 of file spxautopr.h. Member Function Documentation
clear the data Reimplemented from SPxPricer. Definition at line 33 of file spxautopr.cpp. References SPxPricer::clear(), SPxSteepPR::clear(), SPxAutoPR::devex, SPxAutoPR::steep, and SPxPricer::thesolver. Referenced by SPxAutoPR::clone().
clone function for polymorphism Implements SPxPricer. Definition at line 100 of file spxautopr.h. References SPxAutoPR::clear(), SPxAutoPR::entered4(), SPxAutoPR::left4(), SPxAutoPR::load(), SPxAutoPR::selectEnter(), SPxAutoPR::selectLeave(), SPxAutoPR::setEpsilon(), SPxAutoPR::setRep(), SPxAutoPR::setSwitchIters(), SPxAutoPR::setType(), and SPxAutoPR::SPxAutoPR().
Reimplemented from SPxPricer. Definition at line 100 of file spxautopr.cpp. References SPxAutoPR::activepricer, and SPxPricer::entered4(). Referenced by SPxAutoPR::clone().
Reimplemented from SPxPricer. Definition at line 87 of file spxautopr.cpp. References SPxAutoPR::activepricer, and SPxPricer::left4(). Referenced by SPxAutoPR::clone().
set the solver Reimplemented from SPxPricer. Definition at line 25 of file spxautopr.cpp. References SPxAutoPR::devex, SPxDevexPR::load(), SPxSteepPR::load(), SPxAutoPR::setType(), SPxAutoPR::steep, SPxPricer::thesolver, and SPxSolver::type(). Referenced by SPxAutoPR::clone(). assignment operator Definition at line 78 of file spxautopr.h. References SPxAutoPR::activepricer, SPxAutoPR::devex, SPxPricer::operator=(), SPxAutoPR::steep, and SPxAutoPR::switchIters.
Implements SPxPricer. Definition at line 92 of file spxautopr.cpp. References SPxAutoPR::activepricer, SPxSolver::ENTER, SPxPricer::getName(), MSG_INFO1, SPxPricer::selectEnter(), SPxAutoPR::setActivePricer(), SPxSolver::spxout, and SPxPricer::thesolver. Referenced by SPxAutoPR::clone().
Implements SPxPricer. Definition at line 79 of file spxautopr.cpp. References SPxAutoPR::activepricer, SPxPricer::getName(), SPxSolver::LEAVE, MSG_INFO1, SPxPricer::selectLeave(), SPxAutoPR::setActivePricer(), SPxSolver::spxout, and SPxPricer::thesolver. Referenced by SPxAutoPR::clone().
switches active pricing method Definition at line 58 of file spxautopr.cpp. References SPxAutoPR::activepricer, SPxAutoPR::devex, SPxSolver::iterations(), SPxPricer::setType(), SPxAutoPR::steep, SPxAutoPR::switchIters, and SPxPricer::thesolver. Referenced by SPxAutoPR::selectEnter(), and SPxAutoPR::selectLeave().
set epsilon of internal pricers Reimplemented from SPxPricer. Definition at line 40 of file spxautopr.cpp. References SPxAutoPR::devex, SPxPricer::setEpsilon(), SPxAutoPR::steep, and SPxPricer::theeps. Referenced by SPxAutoPR::clone().
set row/column representation Reimplemented from SPxPricer. Definition at line 52 of file spxautopr.cpp. References SPxAutoPR::devex, SPxDevexPR::setRep(), SPxSteepPR::setRep(), and SPxAutoPR::steep. Referenced by SPxAutoPR::clone().
set max number of iterations before switching pricers Referenced by SPxAutoPR::clone().
set entering/leaving algorithm Reimplemented from SPxPricer. Definition at line 47 of file spxautopr.cpp. References SPxAutoPR::activepricer, and SPxPricer::setType(). Referenced by SPxAutoPR::clone(), and SPxAutoPR::load(). Member Data Documentation
pointer to currently selected pricer Definition at line 45 of file spxautopr.h. Referenced by SPxAutoPR::entered4(), SPxAutoPR::left4(), SPxAutoPR::operator=(), SPxAutoPR::selectEnter(), SPxAutoPR::selectLeave(), SPxAutoPR::setActivePricer(), SPxAutoPR::setType(), and SPxAutoPR::SPxAutoPR().
internal Devex pricer Definition at line 46 of file spxautopr.h. Referenced by SPxAutoPR::clear(), SPxAutoPR::load(), SPxAutoPR::operator=(), SPxAutoPR::setActivePricer(), SPxAutoPR::setEpsilon(), SPxAutoPR::setRep(), and SPxAutoPR::SPxAutoPR().
internal Steepest edge pricer Definition at line 47 of file spxautopr.h. Referenced by SPxAutoPR::clear(), SPxAutoPR::load(), SPxAutoPR::operator=(), SPxAutoPR::setActivePricer(), SPxAutoPR::setEpsilon(), SPxAutoPR::setRep(), and SPxAutoPR::SPxAutoPR().
number of iterations before switching pricers Definition at line 44 of file spxautopr.h. Referenced by SPxAutoPR::operator=(), and SPxAutoPR::setActivePricer(). |