CbcSolverHeuristics.hpp
Go to the documentation of this file.
1 /* $Id$ */
2 // Copyright (C) 2007, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 
10 #ifndef CbcSolverHeuristics_H
11 #define CbcSolverHeuristics_H
12 
13 
14 void crunchIt(ClpSimplex * model);
15 
16 /*
17  On input
18  doAction - 0 just fix in original and return NULL
19  1 return fixed non-presolved solver
20  2 as one but use presolve Inside this
21  3 use presolve and fix ones with large cost
22  ? do heuristics and set best solution
23  ? do BAB and just set best solution
24  10+ then use lastSolution and relax a few
25  -2 cleanup afterwards if using 2
26  On output - number fixed
27 */
28 OsiClpSolverInterface *
29 fixVubs(CbcModel & model, int skipZero2,
30  int & doAction,
31  CoinMessageHandler * /*generalMessageHandler*/,
32  const double * lastSolution, double dextra[6],
33  int extra[5]);
34 
40 int doHeuristics(CbcModel * model, int type, CbcOrClpParam *parameters_,
41  int numberParameters_,int noPrinting_,int initialPumpTune) ;
42 
43 
44 #endif //CbcSolverHeuristics_H
45