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());
AlpsEncoded & readRep(T &value)
AlpsEncoded & writeRep(const T &value)
std::vector< std::string > * sapar_
void setEntry(const dblParams key, const char *val)
virtual void setDefaultEntries()
Method for setting the default values for the parameters.
void setEntry(const intParams key, const int val)
void setEntry(const strArrayParams key, const char *val)
virtual void createKeywordList()
Method for creating the list of keyword looked for in the parameter file.
void setEntry(const chrParams key, const bool val)
This method is the one that ever been used.
dblParams
Double parameters.
@ cutFactor
Limit the max number cuts applied at a node.
@ cutoffInc
The value added to relaxation value when deciding fathom.
@ pseudoWeight
Weight used to calculate pseudocost.
@ optimalRelGap
If the relative gap between best feasible and best relaxed fall into this gap, search stops.
@ objSense
Objective sense: min = 1.0, max = -1.0.
@ integerTol
Tolerance to treat as an integer.
@ optimalAbsGap
If the absolute gap between best feasible and best relaxed fall into this gap, search stops.
@ denseConFactor
Dense constraint factor.
@ scaleConFactor
Scaling indicator of a constraint.
@ cutoff
Cutoff any nodes whose objective value is higher than it.
strArrayParams
There are no string array parameters.
double entry(const dblParams key) const
void setEntry(const intParams key, const char *val)
void setEntry(const chrParams key, const char *val)
char* is true(1) or false(0), not used
void setEntry(const dblParams key, const double val)
const std::vector< std::string > & entry(const strArrayParams key) const
const std::string & entry(const strParams key) const
chrParams
Character parameters.
@ sharePseudocostRampUp
Share pseudocost during ramp up.
@ presolve
Presolve or not.
@ shareConstraints
Share constraints Default: false.
@ cutRampUp
Generate cuts during rampup.
@ sharePseudocostSearch
Share pseudocost during search Default: false.
@ shareVariables
Share constraints Default: false.
bool entry(const chrParams key) const
BlisParams()
The default constructor creates a parameter set with from the template argument structure.
void setEntry(const strParams key, const char *val)
void unpack(AlpsEncoded &buf)
Unpack the parameter set from the buffer.
int entry(const intParams key) const
strParams
String parameters.
void pack(AlpsEncoded &buf)
Pack the parameter set into the buffer (AlpsEncoded is used as buffer Here).
void setEntry(const chrParams key, const char val)
char is true(1) or false(0), not used
intParams
Integer paramters.
@ branchStrategy
Branching strategy.
@ heurCallFrequency
All heuristics.
@ cutStrategy
Cut generators control.
@ lookAhead
The look ahead of pseudocost.
@ sharePcostFrequency
Frequency of sharing pseudocost.
@ cutCliqueStrategy
The pass to generate cuts for quick branching.
@ strongCandSize
The number of candidate used in strong branching.
@ heurStrategy
Heuristics control.
@ difference
-1 auto, 0, no, any integer frequency
@ cutGenerationFrequency
All constraint generators.
@ sharePcostDepth
Maximum tree depth of sharing pseudocost.
@ pseudoRelibility
The relibility of pseudocost.
@ quickCutPass
The pass to generate cuts.