Debian Codegraph @

Bonmin/doc/Intro.tex

raw
1 %%% Local Variables:
2 %%% mode: latex
3 %%% TeX-master: "Bonmin_UsersManual"
4 %%% End:
5
6 \html{
7
8 \begin{PageSummary}
9 \PageName{Introduction}
10 \PageSection{Types of problems solved}{MathBack}
11 \PageSection{Algorithms}{Algos}
12 \PageSection{Required third party code}{ThirdP}
13 \PageSection{Supported platforms}{Support}
14 \end{PageSummary}
15
16
17 \begin{quickref}
18 \quickcitation{An algorithmic framework for convex MINLP. Bonami et.al.}{\BetalLink}
19 \quickcitation{Algorithms and Software for Convex Mixed Integer Nonlinear Programs. Bonami, Kilinc, Linderoth}{\HotMINLPLink}
20 \quickcitation{An outer-approximation algorithm for a class of MINLP. M. Duran and I.E. Grossmann. Mathematical Programming}{\DGLink}
21 \quickcitation{Branch and bound experiments in convex nonlinear integer programming. O.K. Gupta and V. Ravindran.}{\GuptaLink}
22 \quickcitation{Solving MINLP by outer approximation.
23 R. Fletcher and S. Leyffer. Mathematical Programming.}{\FLLink}
24 \quickcitation{An LP/NLP based branched and bound algorithm for convex MINLP optimization problems. I. Quesada and I.E. Grossmann.
25 Computers and Chemical Engineering.}{\QGLink}\end{quickref}
26 }
27
28 \PageTitle{\latexhtml{Introduction}{\Bonmin}}{sec:Intro}
29 \Bonmin\ (Basic Open-source Nonlinear Mixed INteger programming)
30 is an open-source code for solving general MINLP (Mixed
31 Integer NonLinear Programming) problems.
32 It is distributed on
33 \COINOR\
34 \latexhtml{{(\tt www.coin-or.org)}}{}
35 under the EPL (Eclipse Public
36 License). The EPL is a license approved by the
37 \footlink{http://www.opensource.org}{OSI},
38 (Open Source Initiative),
39 thus \Bonmin\ is OSI
40 Certified Open Source Software.
41
42 There are several algorithmic choices that can be selected with \Bonmin.
43 {\tt B-BB} is a NLP-based branch-and-bound algorithm,
44 {\tt B-OA} is an
45 outer-ap\-prox\-i\-ma\-tion decomposition algorithm, {\tt B-iFP} is an iterated
46 feasibility pump algorithm, {\tt B-QG} is an
47 implementation of Quesada and Grossmann's branch-and-cut algorithm,
48 {\tt B-Hyb} is a hybrid outer-ap\-prox\-i\-ma\-tion based
49 branch-and-cut algorithm and {\tt B-Ecp} is a variant of {\tt B-QG} based
50 on adding additional ECP cuts.
51
52
53 Some of the algorithmic choices require the ability to solve MILP
54 (Mixed Integer Linear Programming) problems and NLP (NonLinear
55 Programming) problems. The default solvers for these are,
56 respectively, the COIN-OR codes \Cbc\ and \Ipopt. In turn,
57 {\tt Cbc} uses further COIN-OR modules: \Clp\ (for LP (Linear
58 Programming) problems), \Cgl\ (for generating MILP cutting
59 planes), as well as various other utilities. It is also possible to
60 step outside the open-source realm and use
61 \Cplex\ as the MILP solver and FilterSQP as the NLP solver.
62
63 Additional documentation can be found on the {\tt Bonmin}
64 \latex{homepage at
65 $$
66 \hbox{\url{http://www.coin-or.org/Bonmin}}
67 $$
68 and wiki at
69 $$
70 \hbox{\url{https://projects.coin-or.org/Bonmin}}
71 $$
72 }
73
74 \html{
75 \href{http://www.coin-or.org/Bonmin}{homepage}
76 and \href{https://projects.coin-or.org/Bonmin}{wiki}.}
77
78 \subsectionHs{Types of problems solved}{MathBack}
79 \Bonmin\ solves MINLPs of the form
80
81 %\left\{
82 \begin{align*}
83 %\begin{array}{l}
84 &\min f(x) \\
85 & {\rm s.t.} \\
86 &g^L \leq g(x) \leq g^U,\\
87 & x^L \leq x \leq x^U, \\
88 &x \in \mathbb{R}^n, \; x_i \in \mathbb{Z} \; \forall i \in I,
89 %\end{array}
90 \end{align*}
91 %\right.
92 where the functions $f :~\{x\in \mathbb{R}^n : x^L \leq x \leq x^U
93 \}~ \rightarrow~\mathbb{R}$ and $g:~\{x\in \mathbb{R}^n : x^L \leq x
94 \leq x^U \}~\rightarrow~\mathbb{R}^m$ are assumed to be twice
95 continuously differentiable, and $I \subseteq \{1, \ldots,n \}$. We
96 emphasize that \Bonmin\ treats problems that are cast
97 in {\em minimization} form.
98
99 The different methods that \Bonmin\ implements are exact algorithms when the functions $f$ and $g$ are
100 convex but are only heuristics when this is not the case (i.e., \Bonmin\ is not a \emph{global} optimizer).
101
102 \subsectionHs{Algorithms}{Algos}
103 \Bonmin\ implements six different algorithms for solving
104 MINLPs:
105
106 \begin{itemize}
107 \item {\tt B-BB}: a simple branch-and-bound algorithm based on solving
108 a continuous nonlinear program at each node of the search tree and
109 branching on variables \mycite{Gupta80Nonlinear}{Gupta 1980};
110 we also allow the possibility of SOS (Type 1) branching
111 \item {\tt B-OA}: an outer-approximation based decomposition algorithm
112 \latexhtml{\cite{DG,FL}}
113 {[\href{\DGLink}{Duran Grossmann 1986},\href{\FLLink}{Fletcher Leyffer 1994}]}
114 \item {\tt B-QG}: an outer-approximation based branch-and-cut
115 algorithm
116 \citeH{QG}{\QGLink}{Quesada Grossmann 1994}
117 \item {\tt B-Hyb}: a hybrid outer-approximation / nonlinear programming
118 based branch-and-cut algorithm \citeH{Betal}
119 {\BetalLink}{Bonami et al. 2008}
120 \item {\tt B-Ecp}: another outer-approximation based branch-and-cut inspired
121 by the settings described in \citeH{abhishek.leyffer.linderoth:06}{\AbhishekLink}{Abhishek Leyffer Linderoth 2006}
122 \item {\tt B-iFP}: an iterated feasibility pump algorithm \citeH{bonami.etal:06}{\FPLink}{Bonami Cornu\eacute jols Lodi Margot 2009}.
123 \end{itemize}
124
125 In this manual, we will not go into a further description of these algorithms.
126 Mathematical details of these algorithms
127 and some details of their implementations can be found in \citeH{Betal}{\BetalLink}{Bonami et al. 2008} and \citeH{hot:2009}{\HotMINLPLink}{Bonami K\i ln\i c Linderoth 2009}.
128
129 Whether or not you are interested in the details of the algorithms, you certainly
130 want to know which one of these six algorithms you should choose to solve
131 your particular problem.
132 For convex MINLPs, experiments we have made on a reasonably large test set of problems point in favor of using {\tt B-Hyb}
133 (it solved the most of the problems in our test set in 3 hours of computing time).
134 Nevertheless, there are cases where {\tt B-OA} is much faster than {\tt B-Hyb} and others where {\tt B-BB} is interesting.
135 {\tt B-QG} and {\tt B-ECP} correspond mainly to a specific parameter setting of {\tt B-Hyb} but they can be faster in some case. {\tt B-iFP} is more tailored at finding quickly good solutions to very hard convex MINLP.
136 For nonconvex MINLPs, we strongly recommend using {\tt B-BB} (the outer-approximation algorithms
137 have not been tailored to treat nonconvex problems at this point). Although even {\tt B-BB} is only a
138 heuristic for such problems, we have added several
139 options to try and improve the quality of the solutions it provides (see \latexhtml{Section \ref{sec:non_convex}}{\href{\OptSetPage \#sec:non_convex}{non convex options}}).
140 Because it is applicable to more classes problem {\tt B-BB} is the default algorithm in \Bonmin.
141
142 \subsectionHs{Required third party code}{ThirdP}
143 In order to run {\Bonmin}, you have to download other external
144 libraries (and pay attention to their licenses!):
145 \begin{itemize}
146 \item \href{\LapackAddr}{Lapack} (Linear Algebra
147 PACKage)
148 \item \href{\BlasAddr}{Blas} (Basic Linear Algebra
149 Subroutines)
150 \item a sparse linear solver that is supported by Ipopt, e.g., MA27 from the
151 \href{\AslAddr}{HSL}
152 (Harwell Subroutine Library), MUMPS, or Pardiso.
153 \end{itemize}
154
155 Note that Lapack and the Blas are free for commercial use from the
156 \footlink{http://www.netlib.org}{Netlib Repository}, but they are
157 not OSI Certified Open Source Software. The linear solver MA27 is
158 freely available for noncommercial use.
159
160 The above software is sufficient to run \Bonmin\ as a
161 stand-alone C++ code, but it does not provide a modeling language.
162 For functionality from a modeling language, \Bonmin\ can be
163 invoked from \footlink{http://www.ampl.com}{\tt AMPL} (no extra installation is required provided
164 that you have a licensed copy of {\tt AMPL} installed), though you
165 need the {\tt ASL} (AMPL Solver Library) which is obtainable from the Netlib.
166
167 \Bonmin\ can use FilterSQP \citeH{FiLter}{\FilterLink}{FletcherLeyffer1998} as an alternative to \Ipopt\ for solving NLPs.
168
169 Also, in the outer approximation methods {\tt B-OA} and {\tt B-iFP}, some MILP problems are
170 solved. By default \Bonmin\ uses \Cbc\ to solve them, but it can also be set up to use
171 the commercial solver \footlink{http://www.cplex.com}{\Cplex}.
172
173 %\subsectionHs{Tested platforms}{Support}
174 %\Bonmin\ has been installed on the following systems:
175 %\begin{itemize}
176 %\item Linux using g++ version 3.* and 4.* until 4.6 and Intel 9.* and 10.*
177 %\item Windows using version Cygwin 1.5.18
178 %\item Mac OS X using gcc 3.* and 4.* until 4.3 and Intel 9.* and 10.*
179 %\item SunOS 5 using gcc 4.3
180 %\end{itemize}
181