#include <BonDummyPump.hpp>
Public Member Functions | |
DummyPump () | |
Default constructor. More... | |
DummyPump (BonminSetup *setup) | |
Constructor with setup. More... | |
DummyPump (const DummyPump &other) | |
Copy constructor. More... | |
virtual CbcHeuristic * | clone () const |
Virtual constructor. More... | |
virtual | ~DummyPump () |
Destructor. More... | |
int | solution (double &objectiveValue, double *newSolution) |
Runs heuristic. More... | |
void | Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Initiaize using passed options. More... | |
![]() | |
LocalSolverBasedHeuristic () | |
Default constructor. More... | |
LocalSolverBasedHeuristic (BonminSetup *setup) | |
Constructor with setup. More... | |
LocalSolverBasedHeuristic (const LocalSolverBasedHeuristic &other) | |
Copy constructor. More... | |
~LocalSolverBasedHeuristic () | |
Destructor. More... | |
LocalSolverBasedHeuristic & | operator= (const LocalSolverBasedHeuristic &rhs) |
Assignment operator. More... | |
virtual void | resetModel (CbcModel *model) |
Resets stuff if model changes. More... | |
void | setSetup (BonminSetup *setup) |
Change setup used for heuristic. More... | |
virtual int | solution (double &objectiveValue, double *newSolution, OsiCuts &cs) |
Performs heuristic which adds cuts. More... | |
int | doLocalSearch (OsiTMINLPInterface *solver, double *solution, double &solValue, double cutoff, std::string prefix="local_solver.") const |
Do a local search based on setup and passed solver. More... | |
virtual void | setupDefaults (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Setup the defaults. More... | |
void | Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Initiaize using passed options. More... | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register the options common to all local search based heuristics. More... | |
![]() | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register the options common to all local search based heuristics. More... | |
Additional Inherited Members | |
![]() | |
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const std::string &value) |
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const double &value) |
static void | changeIfNotSet (Ipopt::SmartPtr< Ipopt::OptionsList > options, std::string prefix, const std::string &option, const int &value) |
![]() | |
BonminSetup * | setup_ |
Setup to use for local searches (will make copies). More... | |
Definition at line 14 of file BonDummyPump.hpp.
Bonmin::DummyPump::DummyPump | ( | ) |
Default constructor.
Definition at line 16 of file BonDummyPump.cpp.
Bonmin::DummyPump::DummyPump | ( | BonminSetup * | setup | ) |
Constructor with setup.
Definition at line 20 of file BonDummyPump.cpp.
Bonmin::DummyPump::DummyPump | ( | const DummyPump & | other | ) |
Copy constructor.
Definition at line 26 of file BonDummyPump.cpp.
|
virtual |
Destructor.
Definition at line 30 of file BonDummyPump.cpp.
|
inlinevirtual |
Virtual constructor.
Implements Bonmin::LocalSolverBasedHeuristic.
Definition at line 24 of file BonDummyPump.hpp.
|
virtual |
Runs heuristic.
Implements Bonmin::LocalSolverBasedHeuristic.
Definition at line 35 of file BonDummyPump.cpp.
|
static |
Register the options common to all local search based heuristics.
Definition at line 64 of file BonDummyPump.cpp.
void Bonmin::DummyPump::Initialize | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options | ) |
Initiaize using passed options.
Definition at line 78 of file BonDummyPump.cpp.