Dip
0.92.4
src
old
DecompConstants.h
Go to the documentation of this file.
1
//===========================================================================//
2
// This file is part of the Decomp Solver Framework. //
3
// //
4
// Decomp is distributed under the Common Public License as part of the //
5
// COIN-OR repository (http://www.coin-or.org). //
6
// //
7
// Author: Matthew Galati, SAS Institute Inc. (matthew.galati@sas.com) //
8
// //
9
// Copyright (C) 2002-2007, Lehigh University, Matthew Galati, and Ted Ralphs//
10
// All Rights Reserved. //
11
//===========================================================================//
12
13
#ifndef DECOMP_CONSTANTS_INCLUDED
14
#define DECOMP_CONSTANTS_INCLUDED
15
16
#include "
DecompTypes.h
"
17
18
const
char
DecompVersion
[10] =
"0.1"
;
19
const
double
DecompEpsilon
= 1.0e-6;
20
21
#ifdef __DECOMP_LP_CLP__
22
#include "OsiClpSolverInterface.hpp"
23
const
double
DecompInf = OsiClpInfinity;
24
#endif
25
26
#ifdef __DECOMP_LP_CPX__
27
#include "OsiCpxSolverInterface.hpp"
28
const
double
DecompInf = CPX_INFBOUND;
29
#endif
30
31
enum
decompAlgoType
{
CUT
,
32
PRICE_AND_CUT
,
33
RELAX_AND_CUT
,
34
VOL_AND_CUT
,
35
DECOMP
};
36
enum
decompPhase
{
PHASE_INIT
,
37
PHASE_PRICE
,
38
PHASE_CUT
,
39
PHASE_DONE
,
40
PHASE_UNKNOWN
};
41
42
const
char
decompPhaseStr
[5][20] = {
"PHASE_INIT"
,
43
"PHASE_PRICE"
,
44
"PHASE_CUT"
,
45
"PHASE_DONE"
,
46
"PHASE_UNKNOWN"
};
47
48
enum
decompStat
{
STAT_FEASIBLE
,
49
STAT_INFEASIBLE
,
50
STAT_UNKNOWN
};
51
52
const
char
decompStatStr
[3][20] = {
"STAT_FEASIBLE"
,
53
"STAT_INFEASIBLE"
,
54
"STAT_UNKNOWN"
};
55
56
#endif
PHASE_INIT
Definition:
DecompConstants.h:36
STAT_INFEASIBLE
Definition:
DecompConstants.h:49
CUT
Definition:
DecompConstants.h:31
STAT_FEASIBLE
Definition:
DecompConstants.h:48
STAT_UNKNOWN
Definition:
DecompConstants.h:50
VOL_AND_CUT
Definition:
DecompConstants.h:34
DecompTypes.h
decompStat
decompStat
Definition:
DecompConstants.h:48
PHASE_CUT
Definition:
DecompConstants.h:38
PRICE_AND_CUT
Definition:
DecompConstants.h:32
PHASE_UNKNOWN
Definition:
DecompConstants.h:40
DecompEpsilon
const double DecompEpsilon
Definition:
DecompConstants.h:19
DECOMP
Definition:
DecompConstants.h:35
RELAX_AND_CUT
Definition:
DecompConstants.h:33
decompPhaseStr
const char decompPhaseStr[5][20]
Definition:
DecompConstants.h:42
decompPhase
decompPhase
Definition:
DecompConstants.h:36
PHASE_PRICE
Definition:
DecompConstants.h:37
DecompVersion
const char DecompVersion[10]
Definition:
DecompConstants.h:18
decompStatStr
const char decompStatStr[3][20]
Definition:
DecompConstants.h:52
PHASE_DONE
Definition:
DecompConstants.h:39
decompAlgoType
decompAlgoType
Definition:
DecompConstants.h:31
Generated by
1.8.14