Cbc  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
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 // This code is licensed under the terms of the Eclipse Public License (EPL).
00005 
00006 
00012 #ifndef CbcSolverHeuristics_H
00013 #define CbcSolverHeuristics_H
00014 
00015 
00016 void crunchIt(ClpSimplex * model);
00017 
00018 /*
00019   On input
00020   doAction - 0 just fix in original and return NULL
00021              1 return fixed non-presolved solver
00022              2 as one but use presolve Inside this
00023              3 use presolve and fix ones with large cost
00024              ? do heuristics and set best solution
00025              ? do BAB and just set best solution
00026              10+ then use lastSolution and relax a few
00027              -2 cleanup afterwards if using 2
00028   On output - number fixed
00029 */
00030 OsiClpSolverInterface *
00031 fixVubs(CbcModel & model, int skipZero2,
00032         int & doAction,
00033         CoinMessageHandler * /*generalMessageHandler*/,
00034         const double * lastSolution, double dextra[6],
00035         int extra[5]);
00036         
00042 int doHeuristics(CbcModel * model, int type, CbcOrClpParam *parameters_,
00043                  int numberParameters_,int noPrinting_,int initialPumpTune) ;
00044 
00045 
00046 #endif  //CbcSolverHeuristics_H
00047 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines