27 #include "AlpsKnowledge.h"
28 #include "AlpsParameterBase.h"
235 inline bool entry(
const chrParams key)
const {
return bpar_[key]; }
242 inline const std::string&
245 inline const std::vector<std::string>&
252 bpar_[key] = atoi(val) ?
true :
false; }
255 bpar_[key] = val ?
true :
false; }
261 ipar_[key] = atoi(val); }
267 dpar_[key] = atof(val); }
276 sapar_[key].push_back(val); }
289 buf.writeRep(spar_[i]);
291 buf.writeRep(sapar_[i].size());
292 for (
size_t j = 0; j < sapar_[i].size(); ++j)
293 buf.writeRep(sapar_[i][j]);
301 buf.readRep(bpar_, dummy,
false);
303 buf.readRep(ipar_, dummy,
false);
305 buf.readRep(dpar_, dummy,
false);
307 buf.readRep(spar_[i]);
310 buf.readRep(str_size);
311 sapar_[i].reserve(str_size);
312 for (
size_t j = 0; j < str_size; ++j){
314 sapar_[i].push_back(std::string());
315 buf.readRep(sapar_[i].back());
dblParams
Double parameters.
Weight used to calculate pseudocost.
chrParams
Character parameters.
Share constraints Default: false.
void setEntry(const chrParams key, const char *val)
char* is true(1) or false(0), not used
void setEntry(const strArrayParams key, const char *val)
BlisParams()
The default constructor creates a parameter set with from the template argument structure.
intParams
Integer paramters.
void setEntry(const dblParams key, const char *val)
strArrayParams
There are no string array parameters.
Limit the max number cuts applied at a node.
Objective sense: min = 1.0, max = -1.0.
All constraint generators.
void setEntry(const dblParams key, const double val)
Scaling indicator of a constraint.
void pack(AlpsEncoded &buf)
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
bool entry(const chrParams key) const
The look ahead of pseudocost.
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
void setEntry(const chrParams key, const bool val)
This method is the one that ever been used.
Generate cuts during rampup.
Tolerance to treat as an integer.
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
Share constraints Default: false.
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
Cutoff any nodes whose objective value is higher than it.
Share pseudocost during search Default: false.
void setEntry(const strParams key, const char *val)
The value added to relaxation value when deciding fathom.
void setEntry(const chrParams key, const char val)
char is true(1) or false(0), not used
The relibility of pseudocost.
void setEntry(const intParams key, const int val)
If the absolute gap between best feasible and best relaxed fall into this gap, search stops...
Share pseudocost during ramp up.
int entry(const intParams key) const
The pass to generate cuts.
If the relative gap between best feasible and best relaxed fall into this gap, search stops...
The pass to generate cuts for quick branching.
-1 auto, 0, no, any integer frequency
const std::vector< std::string > & entry(const strArrayParams key) const
double entry(const dblParams key) const
void setEntry(const intParams key, const char *val)
Maximum tree depth of sharing pseudocost.
const std::string & entry(const strParams key) const
strParams
String parameters.
The number of candidate used in strong branching.
Frequency of sharing pseudocost.