Bonmin
1.7
|
#include <BonHeuristicRINS.hpp>
Public Member Functions | |
HeuristicRINS () | |
Default constructor. | |
HeuristicRINS (BonminSetup *setup) | |
Constructor with setup. | |
HeuristicRINS (const HeuristicRINS &other) | |
Copy constructor. | |
virtual CbcHeuristic * | clone () const |
Virtual constructor. | |
virtual | ~HeuristicRINS () |
Destructor. | |
int | solution (double &objectiveValue, double *newSolution) |
Runs heuristic. | |
void | Initialize (Ipopt::SmartPtr< Ipopt::OptionsList > options) |
Initiaize using passed options. | |
void | setHowOften (int value) |
Sets how often to do it. | |
Static Public Member Functions | |
static void | registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions) |
Register the options common to all local search based heuristics. | |
Private Attributes | |
int | howOften_ |
How often to do (code can change) | |
int | numberSolutions_ |
Number of solutions so we can do something at solution. |
Definition at line 16 of file BonHeuristicRINS.hpp.
Bonmin::HeuristicRINS::HeuristicRINS | ( | ) |
Default constructor.
Referenced by clone().
Bonmin::HeuristicRINS::HeuristicRINS | ( | BonminSetup * | setup | ) |
Constructor with setup.
Bonmin::HeuristicRINS::HeuristicRINS | ( | const HeuristicRINS & | other | ) |
Copy constructor.
virtual Bonmin::HeuristicRINS::~HeuristicRINS | ( | ) | [virtual] |
Destructor.
virtual CbcHeuristic* Bonmin::HeuristicRINS::clone | ( | ) | const [inline, virtual] |
Virtual constructor.
Implements Bonmin::LocalSolverBasedHeuristic.
Definition at line 26 of file BonHeuristicRINS.hpp.
References HeuristicRINS().
int Bonmin::HeuristicRINS::solution | ( | double & | objectiveValue, |
double * | newSolution | ||
) | [virtual] |
Runs heuristic.
Implements Bonmin::LocalSolverBasedHeuristic.
static void Bonmin::HeuristicRINS::registerOptions | ( | Ipopt::SmartPtr< Bonmin::RegisteredOptions > | roptions | ) | [static] |
Register the options common to all local search based heuristics.
Reimplemented from Bonmin::LocalSolverBasedHeuristic.
void Bonmin::HeuristicRINS::Initialize | ( | Ipopt::SmartPtr< Ipopt::OptionsList > | options | ) |
Initiaize using passed options.
Reimplemented from Bonmin::LocalSolverBasedHeuristic.
void Bonmin::HeuristicRINS::setHowOften | ( | int | value | ) | [inline] |
int Bonmin::HeuristicRINS::howOften_ [private] |
How often to do (code can change)
Definition at line 48 of file BonHeuristicRINS.hpp.
Referenced by setHowOften().
int Bonmin::HeuristicRINS::numberSolutions_ [private] |
Number of solutions so we can do something at solution.
Definition at line 50 of file BonHeuristicRINS.hpp.