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

#include <BonMilpRounding.hpp>

List of all members.

Public Member Functions

 MilpRounding (BonminSetup *setup)
 Constructor with setup.
 MilpRounding (const MilpRounding &copy)
 Copy constructor.
 ~MilpRounding ()
 Destructor.
MilpRoundingoperator= (const MilpRounding &rhs)
 Assignment operator.
virtual CbcHeuristic * clone () const
 Clone.
void Initialize (BonminSetup *setup)
 Initialize method.
virtual void resetModel (CbcModel *model)
 Resets stuff if model changes.
virtual void setSetup (BonminSetup *setup)
 Change setup used for heuristic.
virtual int solution (double &solutionValue, double *betterSolution)
 Performs heuristic.

Static Public Member Functions

static void registerOptions (Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)

Protected Attributes

BonminSetupsetup_
 Setup to use for local searches (will make copies).

Private Attributes

int howOften_
 How often to do (code can change)
SubMipSolvermip_
 A subsolver for MIP.
OsiCuts noGoods

Detailed Description

Definition at line 21 of file BonMilpRounding.hpp.


Constructor & Destructor Documentation

Bonmin::MilpRounding::MilpRounding ( BonminSetup setup)

Constructor with setup.

Referenced by clone().

Bonmin::MilpRounding::MilpRounding ( const MilpRounding copy)

Copy constructor.

Bonmin::MilpRounding::~MilpRounding ( )

Destructor.


Member Function Documentation

MilpRounding& Bonmin::MilpRounding::operator= ( const MilpRounding rhs)

Assignment operator.

virtual CbcHeuristic* Bonmin::MilpRounding::clone ( ) const [inline, virtual]

Clone.

Definition at line 38 of file BonMilpRounding.hpp.

References MilpRounding().

void Bonmin::MilpRounding::Initialize ( BonminSetup setup)

Initialize method.

virtual void Bonmin::MilpRounding::resetModel ( CbcModel *  model) [inline, virtual]

Resets stuff if model changes.

Definition at line 46 of file BonMilpRounding.hpp.

virtual void Bonmin::MilpRounding::setSetup ( BonminSetup setup) [inline, virtual]

Change setup used for heuristic.

Definition at line 51 of file BonMilpRounding.hpp.

References setup_.

virtual int Bonmin::MilpRounding::solution ( double &  solutionValue,
double *  betterSolution 
) [virtual]

Performs heuristic.

static void Bonmin::MilpRounding::registerOptions ( Ipopt::SmartPtr< Bonmin::RegisteredOptions roptions) [static]

Member Data Documentation

Setup to use for local searches (will make copies).

Definition at line 63 of file BonMilpRounding.hpp.

Referenced by setSetup().

How often to do (code can change)

Definition at line 67 of file BonMilpRounding.hpp.

A subsolver for MIP.

Definition at line 69 of file BonMilpRounding.hpp.

OsiCuts Bonmin::MilpRounding::noGoods [private]

Definition at line 71 of file BonMilpRounding.hpp.


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