| 1 |
|
| 2 |
%%% Local Variables: |
| 3 |
%%% mode: latex |
| 4 |
%%% TeX-master: "BONMIN_UsersManual" |
| 5 |
%%% End: |
| 6 |
|
| 7 |
\subsection{\Bonmin\ output options} |
| 8 |
\label{app:opt_loglevel} |
| 9 |
\paragraph{bb\_log\_level} specify branch-and-bound's log level. |
| 10 |
|
| 11 |
Set the level of output of the branch-and-bound: |
| 12 |
\begin{itemize} |
| 13 |
\item {\tt 0} - none, |
| 14 |
\item {\tt 1} - minimal, |
| 15 |
\item {\tt 2} - normal low, |
| 16 |
\item {\tt 3} - normal high, |
| 17 |
\end{itemize} |
| 18 |
The valid range for this integer option is |
| 19 |
$${\tt 0} \le \hbox{\tt bb\_log\_level } \le {\tt 3}$$ |
| 20 |
and its default value is {\tt 1}. |
| 21 |
|
| 22 |
|
| 23 |
\paragraph{bb\_log\_interval} Interval at which node level output is printed. |
| 24 |
|
| 25 |
Set the interval (in terms of number of nodes) at |
| 26 |
which a log on node resolutions (consisting of |
| 27 |
lower and upper bounds) is given. The valid range for this integer option is |
| 28 |
$${\tt 0} \le \hbox{\tt bb\_log\_interval } < \infty$$ |
| 29 |
and its default value is {\tt 100}. |
| 30 |
|
| 31 |
|
| 32 |
\paragraph{lp\_log\_level} specify LP log level. |
| 33 |
|
| 34 |
Set the level of output of the linear programming |
| 35 |
subsolver in {\tt B-Hyb }or {\tt B-QG}: |
| 36 |
\begin{itemize} |
| 37 |
\item {\tt 0} - none, |
| 38 |
\item {\tt 1} - minimal, |
| 39 |
\item {\tt 2} - normal low, |
| 40 |
\item {\tt 3} - normal high, |
| 41 |
\item {\tt 4} - verbose. |
| 42 |
\end{itemize} |
| 43 |
The valid range for this integer option is |
| 44 |
$${\tt 0} \le \hbox{\tt lp\_log\_level } \le {\tt 4}$$ |
| 45 |
and its default value is {\tt 0}. |
| 46 |
|
| 47 |
|
| 48 |
\paragraph{milp\_log\_level} specify MILP subsolver log level. |
| 49 |
|
| 50 |
Set the level of output of the MILP subsolver in |
| 51 |
OA : |
| 52 |
\begin{itemize} |
| 53 |
\item {\tt 0} - none, |
| 54 |
\item {\tt 1} - minimal, |
| 55 |
\item {\tt 2} - normal low, |
| 56 |
\item {\tt 3} - normal high, |
| 57 |
\end{itemize} |
| 58 |
The valid range for this integer option is |
| 59 |
$${\tt 0} \le \hbox{\tt milp\_log\_level } \le {\tt 3}$$ |
| 60 |
and its default value is {\tt 0}. |
| 61 |
|
| 62 |
|
| 63 |
\paragraph{oa\_log\_level} specify OA iterations log level. |
| 64 |
|
| 65 |
Set the level of output of OA decomposition solver : |
| 66 |
\begin{itemize} |
| 67 |
\item {\tt 0} - none, |
| 68 |
\item {\tt 1} - normal low, |
| 69 |
\item {\tt 2} - normal high. |
| 70 |
\end{itemize} |
| 71 |
The valid range for this integer option is |
| 72 |
$${\tt 0} \le \hbox{\tt oa\_log\_level } \le {\tt 2}$$ |
| 73 |
and its default value is {\tt 1}. |
| 74 |
|
| 75 |
\paragraph{oa\_log\_frequency} specify OA log frequency. |
| 76 |
The valid range for this real option is |
| 77 |
$$ 0 \le \hbox{\tt oa\_log\_frequency } \le \infty $$ |
| 78 |
and its default value is $100$. |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
\paragraph{nlp\_log\_level} specify NLP solver interface log level (independent from ipopt print\_level). |
| 83 |
|
| 84 |
Set the level of output of the IpoptInterface : |
| 85 |
\begin{itemize} |
| 86 |
\item {\tt 0} - none, |
| 87 |
\item {\tt 1} - low and readable with warnings, |
| 88 |
\item {\tt 2} - verbose |
| 89 |
\end{itemize} |
| 90 |
The valid range for this integer option is |
| 91 |
$${\tt 0} \le {\tt nlp\_log\_level } \le {\tt 2}$$ |
| 92 |
and its default value is {\tt 1}. |
| 93 |
|
| 94 |
\paragraph{print\_user\_options} Prints the list of options set by the user. |
| 95 |
The default value for this option is ``no".\\ |
| 96 |
Possible values are: |
| 97 |
\begin{itemize} |
| 98 |
\item yes: print the list, |
| 99 |
\item no: don't. |
| 100 |
\end{itemize} |
| 101 |
|
| 102 |
\subsection{\Bonmin\ branch-and-bound options} |
| 103 |
|
| 104 |
\paragraph{algorithm} Choice of the algorithm. |
| 105 |
|
| 106 |
This will preset default values for most options |
| 107 |
of \Bonmin\ but depending on which algorithm some |
| 108 |
of these can be changed (refer to Table \ref{tab:options} to see which options |
| 109 |
are valid with which algorithm). |
| 110 |
The default value for this string option is ``{\tt B-Hyb}''. |
| 111 |
\\ |
| 112 |
Possible values: |
| 113 |
\begin{itemize} |
| 114 |
\item {\tt B-BB}: simple branch-and-bound algorithm, |
| 115 |
\item {\tt B-OA}: OA Decomposition algorithm, |
| 116 |
\item {\tt B-QG}: Quesada and Grossmann branch-and-cut algorithm, |
| 117 |
\item {\tt B-Hyb}: hybrid outer approximation based branch-and-cut. |
| 118 |
\end{itemize} |
| 119 |
|
| 120 |
|
| 121 |
\paragraph{allowable\_gap} |
| 122 |
Specify the value of absolute gap under which the algorithm stops. |
| 123 |
|
| 124 |
Stop the tree search when the gap between the |
| 125 |
objective value of the best known solution and |
| 126 |
the best lower bound on the objective of any solution |
| 127 |
is less than this. The valid range for this real option is |
| 128 |
$$-10^{20} \le \hbox{\tt allowable\_gap } \le 10^{20}$$ |
| 129 |
and its default value is $0$. |
| 130 |
|
| 131 |
|
| 132 |
\paragraph{allowable\_fraction\_gap} |
| 133 |
Specify the value of relative gap under which the algorithm stops. |
| 134 |
|
| 135 |
Stop the tree search when the gap between the |
| 136 |
objective value of the best known solution and |
| 137 |
the best bound on the objective of any solution |
| 138 |
is less than this fraction of the absolute value |
| 139 |
of the best known solution value. The valid range for this real option is |
| 140 |
$$-10^{20} \le \hbox{\tt allowable\_fraction\_gap } \le 10^{20}$$ |
| 141 |
and its default value is $0$. |
| 142 |
|
| 143 |
\paragraph{cutoff}Specify a cutoff value |
| 144 |
|
| 145 |
cutoff should be the value of a feasible solution known by the user |
| 146 |
(if any). The algorithm will only look for solutions better (meaning with a lower objective value) |
| 147 |
than cutoff. The valid range for this real option is |
| 148 |
$$-10^{100} \le \hbox{\tt cutoff } \le 10^{100}$$ |
| 149 |
and its default value is $10^{100}$. |
| 150 |
|
| 151 |
|
| 152 |
\paragraph{cutoff\_decr} Specify cutoff decrement. |
| 153 |
|
| 154 |
Specify the amount by which cutoff is decremented |
| 155 |
below a new best upper-bound (usually a small |
| 156 |
positive value but in non-convex problems it may |
| 157 |
be a negative value). The valid range for this real option is |
| 158 |
$${\tt -10^{10}} \le \hbox{\tt cutoff\_decr } \le {\tt 10^{10}}$$ |
| 159 |
and its default value is ${\tt 10^{-05}}$. |
| 160 |
|
| 161 |
|
| 162 |
\paragraph{nodeselect\_stra} Choose the node selection strategy. |
| 163 |
|
| 164 |
Choose the strategy for selecting the next node |
| 165 |
to be processed. |
| 166 |
The default value for this string option is ``{\tt best-bound}''. |
| 167 |
\\ |
| 168 |
Possible values: |
| 169 |
\begin{itemize} |
| 170 |
\item {\tt best-bound}: choose node with the least bound, |
| 171 |
\item {\tt depth-first}: Perform depth-first search, |
| 172 |
\item {\tt breadth-first}: Perform breadth-first search, |
| 173 |
\item {\tt dynamic}: {\tt Cbc} dynamic strategy (start with depth-first |
| 174 |
search and turn to best bound after 3 integer |
| 175 |
feasible solutions have been found). |
| 176 |
\end{itemize} |
| 177 |
|
| 178 |
|
| 179 |
\paragraph{number\_strong\_branch} |
| 180 |
Choose the maximum number of variables considered for strong branching. |
| 181 |
|
| 182 |
Set the number of variables on which to do strong |
| 183 |
branching. The valid range for this integer option is |
| 184 |
$${\tt 0} \le \hbox{\tt number\_strong\_branch } < \infty$$ |
| 185 |
and its default value is ${\tt 20}$. |
| 186 |
|
| 187 |
|
| 188 |
\paragraph{number\_before\_trust} |
| 189 |
Set the number of branches on a variable before its pseudo costs are to |
| 190 |
be believed in dynamic strong branching. |
| 191 |
|
| 192 |
A value of 0 disables dynamic strong branching. The valid range for this integer option is |
| 193 |
$${\tt 0} \le \hbox{\tt number\_before\_trust } < \infty$$ |
| 194 |
and its default value is ${\tt 8}$. |
| 195 |
|
| 196 |
|
| 197 |
\paragraph{time\_limit} |
| 198 |
Set the global maximum computation time (in seconds) for the algorithm. |
| 199 |
|
| 200 |
The valid range for this real option is |
| 201 |
$${\tt 0} < \hbox{\tt time\_limit } < \infty$$ |
| 202 |
and its default value is ${\tt 10^{+10}}$. |
| 203 |
|
| 204 |
|
| 205 |
\paragraph{node\_limit} |
| 206 |
Set the maximum number of nodes explored in the branch-and-bound search. |
| 207 |
|
| 208 |
The valid range for this integer option is |
| 209 |
$${\tt 0} \le \hbox{\tt node\_limit } < \infty$$ |
| 210 |
and its default value is {\tt INT\_MAX} (as defined in system {\tt limits.h}). |
| 211 |
|
| 212 |
|
| 213 |
\paragraph{integer\_tolerance} |
| 214 |
Set integer tolerance. |
| 215 |
|
| 216 |
Any number within that value of an integer is |
| 217 |
considered integer. |
| 218 |
The valid range for this real option is |
| 219 |
$${\tt 0} < \hbox{\tt integer\_tolerance } < {\tt 0.5}$$ |
| 220 |
and its default value is ${\tt 10^{-6}}$. |
| 221 |
|
| 222 |
|
| 223 |
\paragraph{warm\_start} |
| 224 |
Select the warm start method. Possible values: |
| 225 |
\begin{itemize} |
| 226 |
\item {\tt none}: no warm start, |
| 227 |
\item {\tt optimum}: warm start with direct parent optimum", |
| 228 |
\item {\tt interior\_point}: Warm start with an interior point of direct parent". |
| 229 |
\end{itemize} |
| 230 |
The default value is {\tt optimum}. |
| 231 |
|
| 232 |
\paragraph{sos\_constraints} |
| 233 |
Wether or not to activate SOS constraints branching. Possible values are |
| 234 |
\begin{itemize} |
| 235 |
\item {\tt enable}, |
| 236 |
\item {\tt disable}. |
| 237 |
\end{itemize} |
| 238 |
The default value is {\tt enable}. |
| 239 |
|
| 240 |
\subsection{\Bonmin\ options for robustness} |
| 241 |
|
| 242 |
\paragraph{max\_random\_point\_radius} |
| 243 |
Set max value r for coordinate of a random point. |
| 244 |
|
| 245 |
When picking a random point, each coordinate is selected uniformly |
| 246 |
in the interval $[\min(\max(l,-r),u-r), |
| 247 |
\max(\min(u,r),l+r)]$ where l is the lower bound |
| 248 |
for the variable and u is its upper bound. |
| 249 |
Beware that this is a very naive procedure. In particular, |
| 250 |
it may not be possible to evaluate some functions (such as log, 1/x) |
| 251 |
at such a randomly generated point (if \Bonmin\ finds that this is the case, |
| 252 |
it will give up random point generation). |
| 253 |
The valid range for this real option is |
| 254 |
$${\tt 0} < \hbox{\tt max\_random\_point\_radius } < \infty$$ |
| 255 |
and its default value is ${\tt 10^{5}}$. |
| 256 |
|
| 257 |
|
| 258 |
\paragraph{max\_consecutive\_failures} |
| 259 |
Number $n$ of consecutive unsolved problems before aborting |
| 260 |
a branch of the tree. |
| 261 |
|
| 262 |
When $n > 0$, continue exploring a branch of the |
| 263 |
tree until $n$ consecutive problems in the branch |
| 264 |
are unsolved (i.e., for |
| 265 |
which {\tt Ipopt} can not guarantee optimality within |
| 266 |
the specified tolerances). The valid range for this integer option is |
| 267 |
$${\tt 0} \le \hbox{\tt max\_consecutive\_failures } < \infty$$ |
| 268 |
and its default value is ${\tt 10}$. |
| 269 |
|
| 270 |
|
| 271 |
\paragraph{num\_iterations\_suspect} |
| 272 |
(for debugging purposes only) number of iterations to consider a problem |
| 273 |
suspect. |
| 274 |
|
| 275 |
When the number of iterations taken by the continuous nonlinear solver |
| 276 |
(for the moment this is Ipopt) to solve a node is above this number, |
| 277 |
the subproblem is |
| 278 |
considered to be suspect and is outputed |
| 279 |
to a file. If set to {\tt -1} no subproblem is ever considered suspect. |
| 280 |
The valid range for this integer option is |
| 281 |
$${\tt -1} \le \hbox{\tt num\_iterations\_suspect } < \infty$$ |
| 282 |
and its default value is $-1$. |
| 283 |
|
| 284 |
|
| 285 |
\paragraph{nlp\_failure\_behavior} |
| 286 |
Set the behavior when an NLP or a series of NLP are unsolved by {\tt Ipopt} |
| 287 |
(an NLP is unsolved if {\tt Ipopt} is not able to guarantee optimality within the specified tolerances). |
| 288 |
|
| 289 |
If set to ``{\tt fathom}'', the algorithm will fathom the |
| 290 |
node when an NLP is unsolved. The algorithm then becomes a |
| 291 |
heuristic. A warning that the solution might not |
| 292 |
be optimal is printed. |
| 293 |
The default value for this string option is ``{\tt stop}". |
| 294 |
\\ |
| 295 |
Possible values: |
| 296 |
\begin{itemize} |
| 297 |
\item {\tt stop}: Stop when failure happens. |
| 298 |
\item {\tt fathom}: Continue when failure happens. |
| 299 |
\end{itemize} |
| 300 |
|
| 301 |
\paragraph{num\_retry\_unsolved\_random\_point} |
| 302 |
Number $k$ of times that the algorithm tries to resolve an unsolved NLP with a |
| 303 |
random starting point (unsolved NLP as defined above). |
| 304 |
When an NLP is unsolved, if $k > 0$, the algorithm tries |
| 305 |
again to solve the failed NLP with $k$ new |
| 306 |
randomly chosen starting points or until the |
| 307 |
problem is solved with success. The valid range for this integer option is |
| 308 |
$${\tt 0} \le \hbox{\tt num\_retry\_unsolved\_random\_point } < \infty$$ |
| 309 |
and its default value is {\tt 0}. |
| 310 |
|
| 311 |
|
| 312 |
|
| 313 |
\subsection{\Bonmin\ options for non-convex problems} |
| 314 |
|
| 315 |
\paragraph{max\_consecutive\_infeasible} |
| 316 |
Number $k$ of consecutive infeasible subproblems before aborting a branch. |
| 317 |
|
| 318 |
Explores a branch of the tree |
| 319 |
until $k$ consecutive |
| 320 |
problems are infeasible by the NLP subsolver. The valid range for |
| 321 |
this integer option is |
| 322 |
$${\tt 0} \le \hbox{\tt max\_consecutive\_infeasible } < \infty$$ |
| 323 |
and its default value is {\tt 0}. |
| 324 |
|
| 325 |
|
| 326 |
\paragraph{num\_resolve\_at\_root} |
| 327 |
Number $k$ of trials to solve the root node with different starting points. |
| 328 |
|
| 329 |
The algorithm solves the root node with $k$ |
| 330 |
random starting points and keeps the best |
| 331 |
local optimum found. The valid range for this integer option is |
| 332 |
$${\tt 0} \le \hbox{\tt num\_resolve\_at\_root } < \infty $$ |
| 333 |
and its default value is {\tt 0}. |
| 334 |
|
| 335 |
|
| 336 |
\paragraph{num\_resolve\_at\_node} |
| 337 |
Number $k$ of tries to solve a node (other than the root) of the tree with different starting point. |
| 338 |
|
| 339 |
The algorithm solves all the nodes with $k$ |
| 340 |
different random starting points and keeps |
| 341 |
the best local optimum found. The valid range for this integer option is |
| 342 |
$${\tt 0} \le \hbox{\tt num\_resolve\_at\_node } < \infty$$ |
| 343 |
and its default value is {\tt 0}. |
| 344 |
|
| 345 |
|
| 346 |
|
| 347 |
\subsection{\Bonmin\ options : {\tt B-Hyb} specific options} |
| 348 |
|
| 349 |
\paragraph{nlp\_solve\_frequency} |
| 350 |
Specify the frequency (in terms of nodes) at which NLP relaxations |
| 351 |
are solved in {\tt B-Hyb}. |
| 352 |
|
| 353 |
A frequency of 0 amounts to never solve the |
| 354 |
NLP relaxation. The valid range for this integer option is |
| 355 |
$${\tt 0} \le \hbox{\tt nlp\_solve\_frequency } < \infty$$ |
| 356 |
and its default value is {\tt 10}. |
| 357 |
|
| 358 |
|
| 359 |
\paragraph{oa\_dec\_time\_limit} |
| 360 |
Specify the maximum number of seconds spent overall in OA decomposition iterations. |
| 361 |
|
| 362 |
The valid range for this real option is |
| 363 |
$${\tt 0} \le \hbox{\tt oa\_dec\_time\_limit } < \infty$$ |
| 364 |
and its default value is {\tt 120}. |
| 365 |
|
| 366 |
\paragraph{tiny\_element} |
| 367 |
Value for tiny element in OA cut. |
| 368 |
We will remove cleanly (by relaxing cut) an element lower |
| 369 |
than this. |
| 370 |
|
| 371 |
The valid range for this real option is |
| 372 |
$$0 \le \hbox{\tt tiny\_element } < \infty$$ |
| 373 |
and its default value is $10^{-8}$. |
| 374 |
|
| 375 |
\paragraph{very\_tiny\_element} |
| 376 |
Value for very tiny element in OA cut. |
| 377 |
Algorithm will take the risk of neglecting an element lower |
| 378 |
than this. |
| 379 |
|
| 380 |
The valid range for this real option is |
| 381 |
$$0 \le \hbox{\tt very\_tiny\_element } < \infty$$ |
| 382 |
and its default value is $10^{-17}$. |
| 383 |
|
| 384 |
\paragraph{milp\_subsolver} |
| 385 |
Choose the subsolver to solve MILPs sub-problems in OA decompositions. |
| 386 |
|
| 387 |
To use Cplex, a valid license is required and |
| 388 |
you should have compiled OsiCpx in COIN-OR (see Osi documentation). |
| 389 |
The default value for this string option is ``{\tt Cbc\_D}''. |
| 390 |
\\ |
| 391 |
Possible values: |
| 392 |
\begin{itemize} |
| 393 |
\item {\tt Cbc\_D}: COIN-OR Branch and Cut with default options, |
| 394 |
\item {\tt Cbc\_Par}: COIN-OR Branch and Cut with options passed by user, |
| 395 |
\item {\tt Cplex}: Ilog Cplex. |
| 396 |
\end{itemize} |
| 397 |
|
| 398 |
|
| 399 |
\subsubsection{Cut generators frequency} |
| 400 |
For each one of the cut generators |
| 401 |
\paragraph{Gomory\_cuts} |
| 402 |
\paragraph{probing\_cuts}(by default probing cuts are currently disabled for numerical stability reason) |
| 403 |
\paragraph{cover\_cuts} |
| 404 |
\paragraph{mir\_cuts} |
| 405 |
Sets the frequency (in terms of nodes) for generating cuts of |
| 406 |
the given type in the branch-and-cut. |
| 407 |
\begin{itemize} |
| 408 |
\item $k > 0$, cuts are generated every k nodes, |
| 409 |
\item $-99 < k < 0$, cuts are generated every -k nodes but |
| 410 |
{\tt Cbc} may decide to stop generating cuts, if not |
| 411 |
enough are generated at the root node, |
| 412 |
\item$k = -99$ cuts are generated only at the root node, |
| 413 |
\item $k = 0$ or $k = -100$ cuts are not generated. |
| 414 |
\end{itemize} |
| 415 |
The valid range for this integer option is |
| 416 |
$${\tt -100} \le k < \infty$$ |
| 417 |
and its default value is ${\tt -5}$. |