/build/buildd/coinor-cbc-2.5.0/Cbc/src/CbcSolverHeuristics.hpp
Go to the documentation of this file.
00001 /* $Id$ */
00002 // Copyright (C) 2007, International Business Machines
00003 // Corporation and others.  All Rights Reserved.
00004 
00010 #ifndef CbcSolverHeuristics_H
00011 #define CbcSolverHeuristics_H
00012 
00013 
00014 void crunchIt(ClpSimplex * model);
00015 
00016 /*
00017   On input
00018   doAction - 0 just fix in original and return NULL
00019              1 return fixed non-presolved solver
00020              2 as one but use presolve Inside this
00021              3 use presolve and fix ones with large cost
00022              ? do heuristics and set best solution
00023              ? do BAB and just set best solution
00024              10+ then use lastSolution and relax a few
00025              -2 cleanup afterwards if using 2
00026   On output - number fixed
00027 */
00028 OsiClpSolverInterface *
00029 fixVubs(CbcModel & model, int skipZero2,
00030         int & doAction,
00031         CoinMessageHandler * /*generalMessageHandler*/,
00032         const double * lastSolution, double dextra[6],
00033         int extra[5]);
00034         
00040 int doHeuristics(CbcModel * model, int type, CbcOrClpParam *parameters_,
00041                  int numberParameters_,int noPrinting_,int initialPumpTune) ;
00042 
00043 
00044 #endif  //CbcSolverHeuristics_H
00045