DecompConstants.h

Go to the documentation of this file.
00001 //===========================================================================//
00002 // This file is part of the Decomp Solver Framework.                         //
00003 //                                                                           //
00004 // Decomp is distributed under the Common Public License as part of the      //
00005 // COIN-OR repository (http://www.coin-or.org).                              //
00006 //                                                                           //
00007 // Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com)       //
00008 //                                                                           //
00009 // Copyright (C) 2002-2007, Lehigh University, Matthew Galati, and Ted Ralphs//
00010 // All Rights Reserved.                                                      //
00011 //===========================================================================//
00012 
00013 #ifndef DECOMP_CONSTANTS_INCLUDED
00014 #define DECOMP_CONSTANTS_INCLUDED
00015 
00016 #include "DecompTypes.h"
00017 
00018 const char DecompVersion[10] = "0.1";
00019 const double DecompEpsilon   = 1.0e-6;
00020 
00021 #ifdef __DECOMP_LP_CLP__
00022 #include "OsiClpSolverInterface.hpp"
00023 const double DecompInf = OsiClpInfinity;
00024 #endif
00025 
00026 #ifdef __DECOMP_LP_CPX__
00027 #include "OsiCpxSolverInterface.hpp"
00028 const double DecompInf = CPX_INFBOUND;
00029 #endif
00030 
00031 enum decompAlgoType{CUT,
00032                     PRICE_AND_CUT,
00033                     RELAX_AND_CUT,
00034                     VOL_AND_CUT,
00035                     DECOMP};
00036 enum decompPhase{PHASE_INIT,
00037                  PHASE_PRICE, 
00038                  PHASE_CUT, 
00039                  PHASE_DONE,
00040                  PHASE_UNKNOWN};
00041 
00042 const char decompPhaseStr[5][20] = {"PHASE_INIT", 
00043                                     "PHASE_PRICE", 
00044                                     "PHASE_CUT", 
00045                                     "PHASE_DONE",
00046                                     "PHASE_UNKNOWN"};
00047 
00048 enum decompStat{STAT_FEASIBLE, 
00049                 STAT_INFEASIBLE,
00050                 STAT_UNKNOWN};
00051 
00052 const char decompStatStr[3][20] = {"STAT_FEASIBLE", 
00053                                    "STAT_INFEASIBLE",
00054                                    "STAT_UNKNOWN"};
00055 
00056 #endif

Generated on 12 Feb 2015 for Dip-All by  doxygen 1.6.1