#include <BonLocalSolverBasedHeuristic.hpp>
◆ LocalSolverBasedHeuristic() [1/3]
Bonmin::LocalSolverBasedHeuristic::LocalSolverBasedHeuristic |
( |
| ) |
|
◆ LocalSolverBasedHeuristic() [2/3]
Bonmin::LocalSolverBasedHeuristic::LocalSolverBasedHeuristic |
( |
BonminSetup * |
setup | ) |
|
◆ LocalSolverBasedHeuristic() [3/3]
◆ ~LocalSolverBasedHeuristic()
Bonmin::LocalSolverBasedHeuristic::~LocalSolverBasedHeuristic |
( |
| ) |
|
◆ clone()
virtual CbcHeuristic * Bonmin::LocalSolverBasedHeuristic::clone |
( |
| ) |
const |
|
pure virtual |
◆ operator=()
◆ resetModel()
virtual void Bonmin::LocalSolverBasedHeuristic::resetModel |
( |
CbcModel * |
model | ) |
|
|
inlinevirtual |
◆ setSetup()
void Bonmin::LocalSolverBasedHeuristic::setSetup |
( |
BonminSetup * |
setup | ) |
|
|
inline |
◆ solution() [1/2]
virtual int Bonmin::LocalSolverBasedHeuristic::solution |
( |
double & |
objectiveValue, |
|
|
double * |
newSolution |
|
) |
| |
|
pure virtual |
◆ solution() [2/2]
virtual int Bonmin::LocalSolverBasedHeuristic::solution |
( |
double & |
objectiveValue, |
|
|
double * |
newSolution, |
|
|
OsiCuts & |
cs |
|
) |
| |
|
inlinevirtual |
◆ doLocalSearch()
int Bonmin::LocalSolverBasedHeuristic::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.
◆ registerOptions()
Register the options common to all local search based heuristics.
◆ setupDefaults()
◆ Initialize()
Initiaize using passed options.
◆ changeIfNotSet() [1/3]
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const std::string & |
value |
|
) |
| |
|
staticprotected |
◆ changeIfNotSet() [2/3]
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const double & |
value |
|
) |
| |
|
staticprotected |
◆ changeIfNotSet() [3/3]
static void Bonmin::LocalSolverBasedHeuristic::changeIfNotSet |
( |
Ipopt::SmartPtr< Ipopt::OptionsList > |
options, |
|
|
std::string |
prefix, |
|
|
const std::string & |
option, |
|
|
const int & |
value |
|
) |
| |
|
staticprotected |
◆ setup_
The documentation for this class was generated from the following file: