OpenGM  2.3.x
Discrete Graphical Model Library
lpdef.hxx
Go to the documentation of this file.
1 #ifndef OPENGM_LPDEF_HXX_
2 #define OPENGM_LPDEF_HXX_
3 
4 namespace opengm {
5  class LPDef{
6  public:
11 
12  static const int default_numberOfThreads_; // number of threads (0=autoselect)
13  static const bool default_verbose_; // switch on/off verbose mode
14  static const double default_cutUp_; // upper cutoff
15  static const double default_epOpt_; // Optimality tolerance
16  static const double default_epMrk_; // Markowitz tolerance
17  static const double default_epRHS_; // Feasibility Tolerance
18  static const double default_epInt_; // amount by which an integer variable can differ from an integer
19  static const double default_epAGap_; // Absolute MIP gap tolerance
20  static const double default_epGap_; // Relative MIP gap tolerance
21  static const double default_workMem_; // maximal amount of memory in MB used for workspace
22  static const double default_treeMemoryLimit_; // maximal amount of memory in MB used for tree
23  static const double default_timeLimit_; // maximal time in seconds the solver has
24  static const int default_probingLevel_;
29  static const MIP_CUT default_cutLevel_; // Determines whether or not to cuts for the problem and how aggressively (will be overruled by specific ones).
30  static const MIP_CUT default_cliqueCutLevel_; // Determines whether or not to generate clique cuts for the problem and how aggressively.
31  static const MIP_CUT default_coverCutLevel_; // Determines whether or not to generate cover cuts for the problem and how aggressively.
32  static const MIP_CUT default_gubCutLevel_; // Determines whether or not to generate generalized upper bound (GUB) cuts for the problem and how aggressively.
33  static const MIP_CUT default_mirCutLevel_; // Determines whether or not mixed integer rounding (MIR) cuts should be generated for the problem and how aggressively.
34  static const MIP_CUT default_iboundCutLevel_; // Determines whether or not to generate implied bound cuts for the problem and how aggressively.
35  static const MIP_CUT default_flowcoverCutLevel_; // Determines whether or not to generate flow cover cuts for the problem and how aggressively.
36  static const MIP_CUT default_flowpathCutLevel_; // Determines whether or not to generate flow path cuts for the problem and how aggressively.
37  static const MIP_CUT default_disjunctCutLevel_; // Determines whether or not to generate disjunctive cuts for the problem and how aggressively.
38  static const MIP_CUT default_gomoryCutLevel_; // Determines whether or not to generate gomory fractional cuts for the problem and how aggressively.
39  };
40 
41 #ifndef OPENGM_LPDEF_NO_SYMBOLS
43  const bool LPDef::default_verbose_(false);
44  const double LPDef::default_cutUp_(1.0e+75);
45  const double LPDef::default_epOpt_(1e-5);
46  const double LPDef::default_epMrk_(0.01);
47  const double LPDef::default_epRHS_(1e-5);
48  const double LPDef::default_epInt_(1e-5);
49  const double LPDef::default_epAGap_(0.0);
50  const double LPDef::default_epGap_(0.0);
51 
52  const double LPDef::default_workMem_(128.0);
53  const double LPDef::default_treeMemoryLimit_(1e+75);
54  const double LPDef::default_timeLimit_(1e+75);
55  const int LPDef::default_probingLevel_(0);
56  const LPDef::LP_SOLVER LPDef::default_rootAlg_(LP_SOLVER_AUTO);
57  const LPDef::LP_SOLVER LPDef::default_nodeAlg_(LP_SOLVER_AUTO);
58  const LPDef::MIP_EMPHASIS LPDef::default_mipEmphasis_(MIP_EMPHASIS_BALANCED);
59  const LPDef::LP_PRESOLVE LPDef::default_presolve_(LP_PRESOLVE_AUTO);
60  const LPDef::MIP_CUT LPDef::default_cutLevel_(MIP_CUT_AUTO);
61  const LPDef::MIP_CUT LPDef::default_cliqueCutLevel_(MIP_CUT_DEFAULT);
62  const LPDef::MIP_CUT LPDef::default_coverCutLevel_(MIP_CUT_DEFAULT);
63  const LPDef::MIP_CUT LPDef::default_gubCutLevel_(MIP_CUT_DEFAULT);
64  const LPDef::MIP_CUT LPDef::default_mirCutLevel_(MIP_CUT_DEFAULT);
65  const LPDef::MIP_CUT LPDef::default_iboundCutLevel_(MIP_CUT_DEFAULT);
67  const LPDef::MIP_CUT LPDef::default_flowpathCutLevel_(MIP_CUT_DEFAULT);
68  const LPDef::MIP_CUT LPDef::default_disjunctCutLevel_(MIP_CUT_DEFAULT);
69  const LPDef::MIP_CUT LPDef::default_gomoryCutLevel_(MIP_CUT_DEFAULT);
70 #endif
71 
72 }
73 
74 #endif
static const double default_timeLimit_
Definition: lpdef.hxx:23
The OpenGM namespace.
Definition: config.hxx:43
static const double default_epRHS_
Definition: lpdef.hxx:17
static const double default_cutUp_
Definition: lpdef.hxx:14
static const MIP_CUT default_iboundCutLevel_
Definition: lpdef.hxx:34
static const MIP_CUT default_flowcoverCutLevel_
Definition: lpdef.hxx:35
static const double default_epInt_
Definition: lpdef.hxx:18
static const MIP_CUT default_coverCutLevel_
Definition: lpdef.hxx:31
static const int default_numberOfThreads_
Definition: lpdef.hxx:12
static const double default_workMem_
Definition: lpdef.hxx:21
static const double default_epOpt_
Definition: lpdef.hxx:15
static const double default_epAGap_
Definition: lpdef.hxx:19
static const MIP_EMPHASIS default_mipEmphasis_
Definition: lpdef.hxx:27
static const double default_epMrk_
Definition: lpdef.hxx:16
static const double default_epGap_
Definition: lpdef.hxx:20
static const MIP_CUT default_gomoryCutLevel_
Definition: lpdef.hxx:38
static const LP_SOLVER default_nodeAlg_
Definition: lpdef.hxx:26
static const MIP_CUT default_gubCutLevel_
Definition: lpdef.hxx:32
static const int default_probingLevel_
Definition: lpdef.hxx:24
static const LP_SOLVER default_rootAlg_
Definition: lpdef.hxx:25
static const LP_PRESOLVE default_presolve_
Definition: lpdef.hxx:28
static const MIP_CUT default_mirCutLevel_
Definition: lpdef.hxx:33
static const MIP_CUT default_disjunctCutLevel_
Definition: lpdef.hxx:37
static const MIP_CUT default_cutLevel_
Definition: lpdef.hxx:29
static const bool default_verbose_
Definition: lpdef.hxx:13
static const MIP_CUT default_cliqueCutLevel_
Definition: lpdef.hxx:30
static const MIP_CUT default_flowpathCutLevel_
Definition: lpdef.hxx:36
static const double default_treeMemoryLimit_
Definition: lpdef.hxx:22