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