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); }
292 for (
size_t j = 0; j <
sapar_[i].size(); ++j)
311 sapar_[i].reserve(str_size);
312 for (
size_t j = 0; j < str_size; ++j){
314 sapar_[i].push_back(std::string());
Tolrence to treat as an integer.
All constraint generators.
Share constraints Default: false.
Weight used to calculate pseudocost.
int entry(const intParams key) const
AlpsEncoded & readRep(T &value)
Read a single object of type T from repsentation_ .
AlpsEncoded & writeRep(const T &value)
Write a single object of type T in repsentation_ .
void setEntry(const chrParams key, const bool val)
This method is the one that ever been used.
This is the class serves as a holder for a set of parameters.
void pack(AlpsEncoded &buf)
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
void setEntry(const strArrayParams key, const char *val)
Share pseudocost during search Default: false.
int * ipar_
The integer parameters.
-1: disable, 0: default, 1: verbose.
const std::string & entry(const strParams key) const
Share pseudocost during ramp up.
Objective sense: min = 1.0, max = -1.0.
void setEntry(const dblParams key, const double val)
Scaling indicator of a constraint.
void setEntry(const intParams key, const int val)
double entry(const dblParams key) const
The pass to generate cuts.
This data structure is to contain the packed form of an encodable knowledge.
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
dblParams
Double parameters.
Cutoff any nodes whose objective value is higher than it.
Frequency of sharing pseudocost.
BlisParams()
The default constructor creates a parameter set with from the template argument structure.
If the absolute gap between best feasible and best relaxed fall into this gap, search stops...
strArrayParams
There are no string array parameters.
std::string * spar_
The string (actually, std::string) parameters.
The look ahead of pseudocost.
void setEntry(const intParams key, const char *val)
void setEntry(const strParams key, const char *val)
The value added to relaxation value when deciding fathom.
strParams
String parameters.
The pass to generate cuts for quick branching.
-1 auto, 0, no, any integer frequency
std::vector< std::string > * sapar_
The keyword, parameter pairs.
void setEntry(const chrParams key, const char *val)
char* is true(1) or false(0), not used
Generate cuts during rampup.
bool * bpar_
The bool parameters.
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
chrParams
Character parameters.
void setEntry(const chrParams key, const char val)
char is true(1) or false(0), not used
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
If the relative gap between best feasible and best relaxed fall into this gap, search stops...
Limit the max number cuts applied at a node.
bool entry(const boolParams key) const
double * dpar_
The double parameters.
intParams
Integer paramters.
The relibility of pseudocost.
The number of candidate used in strong branching.
Share constraints Default: false.
void setEntry(const dblParams key, const char *val)
const std::vector< std::string > & entry(const strArrayParams key) const
Maximum tree depth of sharing pseudocost.