198 inline const std::string&
201 inline const std::vector<std::string>&
208 bpar_[key] = atoi(val) ?
true :
false; }
211 bpar_[key] = val ?
true :
false; }
217 ipar_[key] = atoi(val); }
223 dpar_[key] = atof(val); }
232 sapar_[key].push_back(val); }
248 for (
size_t j = 0; j <
sapar_[i].size(); ++j)
267 sapar_[i].reserve(str_size);
268 for (
size_t j = 0; j < str_size; ++j){
270 sapar_[i].push_back(std::string());
Tolrence to treat as an integer.
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_ .
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 boolParams key, const char *val)
char* is true(1) or false(0), not used
void setEntry(const strArrayParams key, const char *val)
Whether call heuristics. Default: true.
int * ipar_
The integer parameters.
-1: disable, 0: default, 1: verbose.
const std::string & entry(const strParams key) const
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
Whether generate cuts during rampup. Default: false.
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.
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.
void setEntry(const boolParams key, const bool val)
This method is the one that ever been used.
boolParams
Character parameters.
Whether generate cuts at all. Default: true.
std::vector< std::string > * sapar_
The keyword, parameter pairs.
bool * bpar_
The bool parameters.
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
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.
void setEntry(const dblParams key, const char *val)
void setEntry(const boolParams key, const char val)
char is true(1) or false(0), not used
const std::vector< std::string > & entry(const strArrayParams key) const