15 #ifndef MILPBLOCK_PARAM_INCLUDED
16 #define MILPBLOCK_PARAM_INCLUDED
19 #include "UtilParameters.h"
70 static const char * common =
"MILPBlock";
71 LogLevel = utilParam.
GetSetting(
"LogLevel", 0, common);
72 DataDir = utilParam.
GetSetting(
"DataDir",
"", common);
73 Instance = utilParam.
GetSetting(
"Instance",
"", common);
74 BlockFile = utilParam.
GetSetting(
"BlockFile",
"", common);
75 PermuteFile = utilParam.
GetSetting(
"PermuteFile",
"", common);
77 = utilParam.
GetSetting(
"BlockFileFormat",
"", common);
79 = utilParam.
GetSetting(
"InitSolutionFile",
"", common);
80 UseNames = utilParam.
GetSetting(
"UseNames", 0, common);
81 UseSparse = utilParam.
GetSetting(
"UseSparse", 1, common);
82 FullModel = utilParam.
GetSetting(
"FullModel", 0, common);
83 BestKnownLB = utilParam.
GetSetting(
"BestKnownLB", -1.e100, common);
84 BestKnownUB = utilParam.
GetSetting(
"BestKnownUB", 1.e100, common);
85 ColumnUB = utilParam.
GetSetting(
"ColumnUB", 1.e20, common);
86 ColumnLB = utilParam.
GetSetting(
"ColumnLB", -1.e20, common);
87 ObjectiveSense= utilParam.
GetSetting(
"ObjectiveSense", 1, common);
91 static const char * common =
"MILPBlock";
92 (*os) <<
"\n=====================================================\n"
93 <<
"MILPBlock_DECOMP PARAMETER SETTINGS \n";
94 (*os) << common <<
": LogLevel : " << LogLevel << endl;
95 (*os) << common <<
": DataDir : " << DataDir << endl;
96 (*os) << common <<
": Instance : " << Instance << endl;
97 (*os) << common <<
": BlockFile : " << BlockFile << endl;
98 (*os) << common <<
": PermuteFile : " << PermuteFile << endl;
99 (*os) << common <<
": BlockFileFormat : " << BlockFileFormat << endl;
100 (*os) << common <<
": InitSolutionFile : " << InitSolutionFile << endl;
101 (*os) << common <<
": UseNames : " << UseNames << endl;
102 (*os) << common <<
": UseSparse : " << UseSparse << endl;
103 (*os) << common <<
": FullModel : " << FullModel << endl;
104 (*os) << common <<
": BestKnownLB : " << BestKnownLB << endl;
105 (*os) << common <<
": BestKnownUB : " << BestKnownUB << endl;
106 (*os) << common <<
": ColumnUB : " << ColumnUB << endl;
107 (*os) << common <<
": ColumnLB : " << ColumnLB << endl;
108 (*os) << common <<
": ObjectiveSense : " << ObjectiveSense << endl;
109 (*os) <<
"\n=====================================================\n";
118 BlockFileFormat (
""),
120 InitSolutionFile(
""),
124 BestKnownLB (-1.e100),
125 BestKnownUB ( 1.e100),
string GetSetting(const char *name, const char *defaultValue, const char *section=NULL)
void getSettings(UtilParameters &utilParam)
void dumpSettings(ostream *os=&cout)
string BlockFileFormat
The format of BlockFile.