10 #ifndef BonHeuristicDiveVectorLength_H 11 #define BonHeuristicDiveVectorLength_H 35 delete [] columnLength_;
42 virtual CbcHeuristic *
clone()
const;
58 const double* newSolution,
virtual void setInternalVariables(TMINLP2TNLP *minlp)
sets internal variables
HeuristicDiveVectorLength & operator=(const HeuristicDiveVectorLength &rhs)
Assignment operator.
static void registerOptions(Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions)
Register the options common to all local search based heuristics.
(C) Copyright International Business Machines Corporation 2007
HeuristicDiveVectorLength()
Default Constructor.
Ipopt::SmartPtr< Ipopt::OptionsList > options()
Acces list of Options.
virtual void setSetup(BonminSetup *setup)
Change setup used for heuristic.
virtual CbcHeuristic * clone() const
Clone.
~HeuristicDiveVectorLength()
Destructor.
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.
This is an adapter class that converts a TMINLP to a TNLP to be solved by Ipopt.
void Initialize(Ipopt::SmartPtr< Ipopt::OptionsList > options)
Initiaize using passed options.