source: trunk/Cbc/src/CbcSolverHeuristics.hpp @ 1422

Last change on this file since 1422 was 1386, checked in by lou, 9 years ago

Yet another try at cleaning CbcSolver?. This is an intermediate commit to
reconcile Bjarni's changes with my changes.

File size: 1.3 KB
Line 
1/* $Id$ */
2// Copyright (C) 2007, International Business Machines
3// Corporation and others.  All Rights Reserved.
4
5/*! \file CbcSolverHeuristic.hpp
6    \brief Routines for doing heuristics.
7*/
8
9
10#ifndef CbcSolverHeuristics_H
11#define CbcSolverHeuristics_H
12
13
14void 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*/
28OsiClpSolverInterface *
29fixVubs(CbcModel & model, int skipZero2,
30        int & doAction,
31        CoinMessageHandler * /*generalMessageHandler*/,
32        const double * lastSolution, double dextra[6],
33        int extra[5]);
34       
35    /** 1 - add heuristics to model
36        2 - do heuristics (and set cutoff and best solution)
37        3 - for miplib test so skip some
38        (out model later)
39    */
40int doHeuristics(CbcModel * model, int type, CbcOrClpParam *parameters_,
41                 int numberParameters_,int noPrinting_,int initialPumpTune) ;
42
43
44#endif  //CbcSolverHeuristics_H
45
Note: See TracBrowser for help on using the repository browser.