#include <BonFpForMinlp.hpp>
Inheritance diagram for Bonmin::MinlpFeasPump:


Public Member Functions | |
| MinlpFeasPump (BabSetupBase &b) | |
| Constructor with basic setup. | |
| MinlpFeasPump (const MinlpFeasPump ©) | |
| Copy constructor. | |
| ~MinlpFeasPump () | |
| Destructor. | |
| void | setStrategy (const CbcStrategy &strategy) |
| virtual CglCutGenerator * | clone () const |
Static Public Member Functions | |
| static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
| Register OA options. | |
Protected Member Functions | |
| virtual double | performOa (OsiCuts &cs, solverManip &lpManip, SubMipSolver *&subMip, BabInfo *babInfo, double &cutoff, const CglTreeInfo &info) const |
| virtual method which performs the OA algorithm by modifying lp and nlp. | |
| virtual bool | doLocalSearch (BabInfo *babInfo) const |
| virutal method to decide if local search is performed | |
| void | set_fp_objective (OsiSolverInterface &si, const double *colsol) const |
| Put objective of MIP according to FP scheme. | |
Definition at line 15 of file BonFpForMinlp.hpp.
| Bonmin::MinlpFeasPump::MinlpFeasPump | ( | BabSetupBase & | b | ) |
Constructor with basic setup.
Definition at line 29 of file BonFpForMinlp.cpp.
References Bonmin::OaDecompositionBase::assignLpInterface(), Bonmin::OsiTMINLPInterface::extractLinearRelaxation(), Bonmin::BabSetupBase::getDoubleParameter(), Bonmin::BabSetupBase::getIntParameter(), Bonmin::BabSetupBase::MaxSolutions, Bonmin::BabSetupBase::MaxTime, Bonmin::BabSetupBase::nonlinearSolver(), Bonmin::BabSetupBase::options(), Bonmin::OaDecompositionBase::parameter(), Bonmin::BabSetupBase::prefix(), and setStrategy().
Referenced by clone().
| Bonmin::MinlpFeasPump::MinlpFeasPump | ( | const MinlpFeasPump & | copy | ) | [inline] |
| Bonmin::MinlpFeasPump::~MinlpFeasPump | ( | ) |
| void Bonmin::MinlpFeasPump::setStrategy | ( | const CbcStrategy & | strategy | ) | [inline] |
Definition at line 28 of file BonFpForMinlp.hpp.
References Bonmin::OaDecompositionBase::parameters_.
Referenced by MinlpFeasPump().
| virtual CglCutGenerator* Bonmin::MinlpFeasPump::clone | ( | ) | const [inline, virtual] |
| void Bonmin::MinlpFeasPump::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register OA options.
Definition at line 276 of file BonFpForMinlp.cpp.
References Bonmin::RegisteredOptions::BonminCategory.
Referenced by Bonmin::BonminSetup::registerAllOptions().
| double Bonmin::MinlpFeasPump::performOa | ( | OsiCuts & | cs, | |
| solverManip & | lpManip, | |||
| SubMipSolver *& | subMip, | |||
| BabInfo * | babInfo, | |||
| double & | cutoff, | |||
| const CglTreeInfo & | info | |||
| ) | const [protected, virtual] |
virtual method which performs the OA algorithm by modifying lp and nlp.
do we have a subMip? if not create a new one.
endif localSearch
Definition at line 83 of file BonFpForMinlp.cpp.
References Bonmin::OsiTMINLPInterface::addObjectiveFunction(), e, Bonmin::SubMipSolver::find_good_sol(), Bonmin::fixIntegers(), Bonmin::FP_DISTANCE, Bonmin::FP_MAJOR_ITERATION, Bonmin::FP_MILP_VAL, Bonmin::FP_MINOR_ITERATION, Bonmin::OsiTMINLPInterface::getColLower(), Bonmin::OsiTMINLPInterface::getColSolution(), Bonmin::OsiTMINLPInterface::getColUpper(), Bonmin::SubMipSolver::getLastSolution(), Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::getObjValue(), Bonmin::OsiTMINLPInterface::getOuterApproximation(), Bonmin::OaDecompositionBase::handler_, Bonmin::installCuts(), Bonmin::OsiTMINLPInterface::isProvenOptimal(), Bonmin::SubMipSolver::iterationCount(), Bonmin::LOCAL_SEARCH_ABORT, lp, Bonmin::OaDecompositionBase::messages_, Bonmin::OaDecompositionBase::nLocalSearch_, Bonmin::OaDecompositionBase::nlp_, Bonmin::OaDecompositionBase::nObjects_, Bonmin::SubMipSolver::nodeCount(), Bonmin::OaDecompositionBase::numSols_, Bonmin::OASUCCESS, Bonmin::OaDecompositionBase::objects_, Bonmin::OaDecompositionBase::parameter(), Bonmin::OaDecompositionBase::parameters_, Bonmin::OaDecompositionBase::post_nlp_solve(), Bonmin::relaxIntegers(), Bonmin::OsiTMINLPInterface::resolve(), set_fp_objective(), Bonmin::OsiTMINLPInterface::setColLower(), Bonmin::OsiTMINLPInterface::setColUpper(), Bonmin::SOLVED_LOCAL_SEARCH, Bonmin::OsiTMINLPInterface::solveFeasibilityProblem(), Bonmin::SubMipSolver::solver(), Bonmin::OaDecompositionBase::timeBegin_, and Bonmin::txt_id.
| bool Bonmin::MinlpFeasPump::doLocalSearch | ( | BabInfo * | babInfo | ) | const [protected, virtual] |
virutal method to decide if local search is performed
Implements Bonmin::OaDecompositionBase.
Definition at line 75 of file BonFpForMinlp.cpp.
References Bonmin::OaDecompositionBase::nLocalSearch_, Bonmin::OaDecompositionBase::numSols_, Bonmin::OaDecompositionBase::parameters_, and Bonmin::OaDecompositionBase::timeBegin_.
| void Bonmin::MinlpFeasPump::set_fp_objective | ( | OsiSolverInterface & | si, | |
| const double * | colsol | |||
| ) | const [protected] |
Put objective of MIP according to FP scheme.
Definition at line 297 of file BonFpForMinlp.cpp.
References Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::isInteger(), Bonmin::OaDecompositionBase::nlp_, Bonmin::OaDecompositionBase::nObjects_, and Bonmin::OaDecompositionBase::objects_.
Referenced by performOa().
1.4.7