Couenne (Convex Over and Under ENvelopes for Nonlinear Estimation) is a branch&bound algorithm to solve Mixed-Integer Nonlinear Programming (MINLP) problems of the form:
min f0(x,y)
fi(x,y) ≤ 0 i=1,2..., m
x in Rn,
y in Zp
where all fi(x,y) are, in general, nonlinear functions.
Couenne aims at finding global optima of nonconvex MINLPs. It implements linearization, bound reduction, and branching methods within a branch-and-bound framework. Its main components are:
It is distributed on COIN-OR under the Eclipse Public License (EPL). The EPL is a license approved by the Open Source Initiative (OSI), thus Couenne is OSI Certified Open Source Software.
Couenne is found on the COIN-OR project page. It can be downloaded with Subversion -- see also some instructions on using svn. Run the command:
svn co https://projects.coin-or.org/svn/Couenne/stable/0.5 Couenne
to get the source code of the stable version. Before building and installing Couenne, some third party packages are needed. These cannot be downloaded from COIN-OR, and have to be obtained independently.
These packages are: ASL, Blas, Lapack, and HSL or MUMPS.
The user is referred to the INSTALL
file in each of the subdirectories of Couenne/ThirdParty for instructions on how to obtain them.
In general, the stable version of Couenne is subject to slight changes such as bug fixes. In order to be up-to-date with such changes, you may run the command svn update
within the Couenne
directory.
All releases are also available as archive at https://www.coin-or.org/download/source/Couenne/. A release is not subject to change.
To install Couenne, we refer to general installation instructions for COIN-OR projects. We also suggest the excellent Ipopt compilation hints page for compiling on non-Linux systems, such as Mac and Windows. The impatient may want to issue the following commands:
cd Couenne
cd ThirdParty # Read INSTALL.* file in each subdirectory and get third party software
cd ..
mkdir build
cd build
../configure -C
make
make install
The above commands place Couenne in the Couenne/build/bin/
directory, libraries in Couenne/build/lib/
, and include files in Couenne/build/include/
. An alternative directory can be specified with
the --prefix
option of configure. For instance, when replacing "../configure -C
" above with
../configure -C --prefix=/usr/local
the Couenne executable will be installed in /usr/local/bin/
, the libraries in /usr/local/lib/
, and the include files in /usr/local/include/
.
Couenne is run as follows:
couenne instance.nl
where instance.nl
is an AMPL stub (.nl
) file. Such files can be generated from AMPL with the command "write gfilename;
" (notice the "g" before the file name), for example.
You may also specify a set of options to tweak the performance of Couenne. These are found in the couenne.opt
option file. A sample option file is given in the Couenne/src/ directory.
A user manual is available, with explanations on most options available in Couenne. Doxygen documentation is also available, and it can be generated by running
make doxydoc
from the same build/
directory where you ran configure, make, and make
install. Documentation in both html and LaTeX format can be found in
the Doc/ subdirectory. Fire up your browser and take a look at
Doc/html/index.html for documentation of Couenne.
Couenne is maintained by Pietro Belotti.
Web page: https://www.github.com/coin-or/Couenne
Dependencies: CoinUtils, Cbc, Cgl, Clp, Ipopt, and Osi (from COIN-OR); ASL (the Ampl Solver Library), Lapack, Blas, HSL, MUMPS, SCIP, and SoPlex.
External resources: COIN-OR, Eclipse Public License.
As an open-source code, contributions to Couenne are welcome. To submit a contribution to Couenne, please follow the COIN-OR guidelines.
In order to report a bug, use the issue system.
In order to ensure that your issue is addressed in a timely fashion, please try to be as exhaustive as you can in the bug report, for instance by reporting what version of Couenne you have downloaded and what operating system you are using, and again by attaching the model/data files with which the crash occurred.
This project was initiated in 2006 within a collaboration between IBM and Carnegie Mellon University, aimed at developing algorithms for MINLP.
Credit should be given to our colleagues in this collaboration: Andreas, François, Pierre, Stefan, and Timo, who developed part of Couenne, and Larry T. Biegler, Gérard Cornuéjols, Ignacio E. Grossmann, and Jon Lee. Each has contributed an essential part of the development of Couenne.
convexification_cuts <num>
Specify the frequency (in terms of nodes) at which linearization cuts are generated. Default: 1. If 0, linearization cuts are never separated.
convexification_points <num>
Specify the number of points at which to convexify. Default: 1.
violated_cuts_only <yes|no>
If set to yes (default), only violated convexification cuts will be added.
art_lower <num>
Set artificial lower bound (for minimization problems), useful when a lower bound is known or for testing purposes. Default value is -1050.
opt_window <num>
Multiplier for restricting variable bounds around known optimum (to be read from file with method CouenneProblem::readOptimum()). If the optimal value x,,i,, of the i-th variable is known, before starting Couenne its bounds will be intersected with interval [xi-K(1+|xi|),xi+K(1+|xi|)], where K is the value of the option. Default value is infinity.
use_quadratic <yes|no>
Use quadratic expressions and related exprQuad class. Still in testing, so default is "no".
feasibility_bt <yes|no>
Use feasibility-based bound tightening (strongly recommended). Default value is "yes".
optimality_bt
Optimality-based (expensive) bound tightening. Only recommended for problems with few variables and/or at the initial nodes of the B&B tree. Default is "no". If set to "yes", we recommend to couple it with a value of log_num_obbt_per_level of 0 (see below).
log_num_obbt_per_level <num>
Specify the frequency (in terms of nodes) for optimality-based bound tightening. Default is 0.
aggressive_fbbt <yes|no"
Aggressive feasibility-based bound tightening (to use with NLP points). Default value is "yes". This is also computationally expensive.
log_num_abt_per_level <num>
Specify the frequency (in terms of nodes) for aggressive bound tightening (similar to log_num_obbt_per_level).
branch_fbbt <yes|no>
Apply bound tightening before branching. default: yes
branch_conv_cuts <yes|no>
Apply convexification cuts before branching (not active yet). Default: no.
branch_pt_select <string>
Chooses branching point selection strategy. Possible values are
Default is mid-point.
branch_lp_clamp <num>
Defines a threshold for selecting an LP point as the branching point;