Bonmin  1.7
Public Member Functions | Static Public Member Functions | Private Attributes
Bonmin::HeuristicRINS Class Reference

#include <BonHeuristicRINS.hpp>

Inheritance diagram for Bonmin::HeuristicRINS:
Bonmin::LocalSolverBasedHeuristic

List of all members.

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.

Detailed Description

Definition at line 16 of file BonHeuristicRINS.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Sets how often to do it.

Definition at line 43 of file BonHeuristicRINS.hpp.

References howOften_.


Member Data Documentation

How often to do (code can change)

Definition at line 48 of file BonHeuristicRINS.hpp.

Referenced by setHowOften().

Number of solutions so we can do something at solution.

Definition at line 50 of file BonHeuristicRINS.hpp.


The documentation for this class was generated from the following file: