| 
    Bonmin
    1.8.8
    
   | 
 
#include <BonHeuristicDive.hpp>
  
 Public Member Functions | |
| HeuristicDive () | |
| Default constructor.  More... | |
| HeuristicDive (BonminSetup *setup) | |
| Constructor with setup.  More... | |
| HeuristicDive (const HeuristicDive ©) | |
| Copy constructor.  More... | |
| ~HeuristicDive () | |
| Destructor.  More... | |
| HeuristicDive & | operator= (const HeuristicDive &rhs) | 
| Assignment operator.  More... | |
| virtual CbcHeuristic * | clone () const =0 | 
| Clone.  More... | |
| virtual void | resetModel (CbcModel *model) | 
| Resets stuff if model changes.  More... | |
| virtual void | setSetup (BonminSetup *setup) | 
| Change setup used for heuristic.  More... | |
| void | setPercentageToFix (double value) | 
| Set percentage of integer variables to fix at bounds.  More... | |
| virtual int | solution (double &solutionValue, double *betterSolution) | 
| Performs heuristic.  More... | |
| virtual void | setInternalVariables (TMINLP2TNLP *minlp)=0 | 
| sets internal variables  More... | |
| virtual void | selectVariableToBranch (TMINLP2TNLP *minlp, const vector< int > &integerColumns, const double *newSolution, int &bestColumn, int &bestRound)=0 | 
| Selects the next variable to branch on.  More... | |
Protected Attributes | |
| BonminSetup * | setup_ | 
| Setup to use for local searches (will make copies).  More... | |
| double | percentageToFix_ | 
| Percentage of integer variables to fix at bounds.  More... | |
Private Attributes | |
| int | howOften_ | 
| How often to do (code can change)  More... | |
Definition at line 18 of file BonHeuristicDive.hpp.
| Bonmin::HeuristicDive::HeuristicDive | ( | ) | 
Default constructor.
| Bonmin::HeuristicDive::HeuristicDive | ( | BonminSetup * | setup | ) | 
Constructor with setup.
| Bonmin::HeuristicDive::HeuristicDive | ( | const HeuristicDive & | copy | ) | 
Copy constructor.
      
  | 
  inline | 
Destructor.
Definition at line 31 of file BonHeuristicDive.hpp.
| HeuristicDive& Bonmin::HeuristicDive::operator= | ( | const HeuristicDive & | rhs | ) | 
Assignment operator.
      
  | 
  pure virtual | 
Clone.
Implemented in Bonmin::HeuristicDiveVectorLength, and Bonmin::HeuristicDiveFractional.
      
  | 
  inlinevirtual | 
Resets stuff if model changes.
Definition at line 40 of file BonHeuristicDive.hpp.
      
  | 
  inlinevirtual | 
Change setup used for heuristic.
Reimplemented in Bonmin::HeuristicDiveVectorLength, and Bonmin::HeuristicDiveFractional.
Definition at line 45 of file BonHeuristicDive.hpp.
References setup_.
Referenced by Bonmin::HeuristicDiveFractional::setSetup(), and Bonmin::HeuristicDiveVectorLength::setSetup().
      
  | 
  inline | 
Set percentage of integer variables to fix at bounds.
Definition at line 51 of file BonHeuristicDive.hpp.
References percentageToFix_.
      
  | 
  virtual | 
Performs heuristic.
      
  | 
  pure virtual | 
sets internal variables
Implemented in Bonmin::HeuristicDiveVectorLength, and Bonmin::HeuristicDiveFractional.
      
  | 
  pure virtual | 
Selects the next variable to branch on.
If bestColumn = -1, it means that no variable was found
Implemented in Bonmin::HeuristicDiveVectorLength, and Bonmin::HeuristicDiveFractional.
      
  | 
  protected | 
Setup to use for local searches (will make copies).
Definition at line 71 of file BonHeuristicDive.hpp.
Referenced by setSetup().
      
  | 
  protected | 
Percentage of integer variables to fix at bounds.
Definition at line 74 of file BonHeuristicDive.hpp.
Referenced by setPercentageToFix().
      
  | 
  private | 
How often to do (code can change)
Definition at line 78 of file BonHeuristicDive.hpp.
 1.8.5