Cbc  2.10.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbcSolverHeuristics.hpp
Go to the documentation of this file.
1 /* $Id: CbcSolverHeuristics.hpp 2479 2019-02-07 19:50:37Z unxusr $ */
2 // Copyright (C) 2007, International Business Machines
3 // Corporation and others. All Rights Reserved.
4 // This code is licensed under the terms of the Eclipse Public License (EPL).
5 
10 #ifndef CbcSolverHeuristics_H
11 #define CbcSolverHeuristics_H
12 
13 void crunchIt(ClpSimplex *model);
14 
15 /*
16  On input
17  doAction - 0 just fix in original and return NULL
18  1 return fixed non-presolved solver
19  2 as one but use presolve Inside this
20  3 use presolve and fix ones with large cost
21  ? do heuristics and set best solution
22  ? do BAB and just set best solution
23  10+ then use lastSolution and relax a few
24  -2 cleanup afterwards if using 2
25  On output - number fixed
26 */
28 fixVubs(CbcModel &model, int skipZero2,
29  int &doAction,
30  CoinMessageHandler * /*generalMessageHandler*/,
31  const double *lastSolution, double dextra[6],
32  int extra[5]);
33 
39 int doHeuristics(CbcModel *model, int type, std::vector< CbcOrClpParam > parameters_,
40  int noPrinting_, int initialPumpTune);
41 
42 #endif //CbcSolverHeuristics_H
43 
44 /* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
45 */
Clp Solver Interface.
Base class for message handling.
This solves LPs using the simplex method.
Definition: ClpSimplex.hpp:106
OsiClpSolverInterface * fixVubs(CbcModel &model, int skipZero2, int &doAction, CoinMessageHandler *, const double *lastSolution, double dextra[6], int extra[5])
int doHeuristics(CbcModel *model, int type, std::vector< CbcOrClpParam > parameters_, int noPrinting_, int initialPumpTune)
1 - add heuristics to model 2 - do heuristics (and set cutoff and best solution) 3 - for miplib test ...
void crunchIt(ClpSimplex *model)
Simple Branch and bound class.
Definition: CbcModel.hpp:100