10#ifndef BonHeuristicDiveVectorLength_H
11#define BonHeuristicDiveVectorLength_H
35 delete [] columnLength_;
42 virtual CbcHeuristic *
clone()
const;
58 const double* newSolution,
Ipopt::SmartPtr< Ipopt::OptionsList > options()
Acces list of Options.
virtual void setInternalVariables(TMINLP2TNLP *minlp)
sets internal variables
HeuristicDiveVectorLength(const HeuristicDiveVectorLength ©)
Copy constructor.
virtual CbcHeuristic * clone() const
Clone.
~HeuristicDiveVectorLength()
Destructor.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register the options common to all local search based heuristics.
HeuristicDiveVectorLength()
Default Constructor.
HeuristicDiveVectorLength(BonminSetup *setup)
Constructor with setup.
HeuristicDiveVectorLength & operator=(const HeuristicDiveVectorLength &rhs)
Assignment operator.
virtual void setSetup(BonminSetup *setup)
Change setup used for heuristic.
virtual void selectVariableToBranch(TMINLP2TNLP *minlp, const vector< int > &integerColumns, const double *newSolution, int &bestColumn, int &bestRound)
Selects the next variable to branch on.
void Initialize(Ipopt::SmartPtr< Ipopt::OptionsList > options)
Initiaize using passed options.
virtual void setSetup(BonminSetup *setup)
Change setup used for heuristic.
This is an adapter class that converts a TMINLP to a TNLP to be solved by Ipopt.
A small wrap around std::vector to give easy access to array for interfacing with fortran code.
(C) Copyright International Business Machines Corporation 2007