Dip
0.92.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tmp
Dip-0.92.4
Dip
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
PHASE_PRICE
Definition:
DecompConstants.h:37
OsiClpInfinity
static const double OsiClpInfinity
Definition:
OsiClpSolverInterface.hpp:27
OsiClpSolverInterface.hpp
RELAX_AND_CUT
Definition:
Decomp.h:126
OsiCpxSolverInterface.hpp
decompPhase
decompPhase
Definition:
DecompConstants.h:36
PHASE_DONE
Definition:
Decomp.h:169
PRICE_AND_CUT
Definition:
Decomp.h:125
DecompVersion
const char DecompVersion[10]
Definition:
DecompConstants.h:18
decompAlgoType
decompAlgoType
Definition:
DecompConstants.h:31
STAT_UNKNOWN
Definition:
Decomp.h:188
decompStat
decompStat
Definition:
DecompConstants.h:48
DecompEpsilon
const double DecompEpsilon
Definition:
Decomp.h:100
PHASE_UNKNOWN
Definition:
Decomp.h:170
PHASE_CUT
Definition:
Decomp.h:168
decompPhaseStr
const char decompPhaseStr[5][20]
Definition:
DecompConstants.h:42
STAT_FEASIBLE
Definition:
Decomp.h:185
DecompTypes.h
VOL_AND_CUT
Definition:
Decomp.h:127
DECOMP
Definition:
Decomp.h:128
decompStatStr
const char decompStatStr[3][20]
Definition:
DecompConstants.h:52
STAT_INFEASIBLE
Definition:
Decomp.h:187
CUT
Definition:
Decomp.h:124
Generated by
1.8.5