SDPB is an open-source, arbitrary-precision, parallelized semidefinite program solver, designed for the conformal bootstrap.
It solves the following type of optimization problem
maximize: b_0 + \sum_n b_n y_n over (y_1,...,y_N),
such that: M_{0j}(x) + \sum_n y_n M_{nj}(x) is positive semidefinite
for all x >= 0 and 1 <= j <= J,
where each M_{nj}(x) is a polynomial matrix in x.
For more information, see A Semidefinite Program Solver for the Conformal Bootstrap and the manual.
SDPB requires
-
Boost C++ Libraries (version 1.54 or later).
System-specific installation instructions are below. Please use the issue tracker if you encounter installation problems. For those with experience packaging software, I'd appreciate help making SDPB easier to install.
SDPB has been tested on Red Hat Linux. (Many thanks to Chris Beem for helping with installation instructions.) To install,
-
Download Boost and GMP from the links above. Install GMP with the option
--enable-cxx
added to./configure
. Install Boost. -
Edit the
Makefile
to define the variablesGMPINCLUDEDIR
,BOOSTINCLUDEDIR
, andLIBDIR.
EnsureLIBDIR
is in yourLD_LIBRARY_PATH
. -
Type
make
to build thesdpb
executable.
The following instructions have been tested on Mac OS 10.10 Yosemite. (Many thanks to Ying Lin.)
-
Install Homebrew and
gcc-4.9
(or later), for instance by running the following commands# Install Homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # Update Ruby brew install ruby # Install the latest gcc as well as its dependencies # the option --without-multilib avoids a bug in OpenMP support brew install gcc --without-multilib
-
Make
/usr/local/bin/g++-4.9
(or whatever version you have) the default compiler by renaminggcc
andg++
in/usr/bin
and creating symlinksln -s /usr/local/bin/g++-4.9 /usr/local/bin/g++ ln -s /usr/local/bin/gcc-4.9 /usr/local/bin/gcc
-
Unfortunately, Homebrew's versions of GMP and Boost will not work -- they must be compiled from source. Download the latest GMP from the GMP website. Upack the tarball (you may need
lzip
which you can install withbrew install lzip
) andcd
to thegmp
directory. Run./configure --enable-cxx make make install
-
Download Boost from the Boost website. Unpack the tarball and
cd
to theboost
directory. Run./bootstrap.sh ./b2 sudo ./b2 install
-
SDPB should now compile successfully. If you installed any of the above software in custom locations, you must modify variables in the
Makefile
as described in the Linux instructions.
Tips for Windows installation can be found on the issue tracker. I would appreciate if someone could send step-by-step instructions.
Type sdpb --help
for the syntax and a list of options.
The input format for SDPB is XML-based and described in the manual.
The Mathematica file SDPB.m
includes code to export semidefinite
programs in this format, along with some examples.
- 5/29/15: Fixed a bug in SDP.cpp that caused SDPB to incorrectly load matrices with dimensions larger than 2x2. (Thanks to Filip Kos for the fix.)
- David Simmons-Duffin (davidsd@gmail.com)
As of February 2015, I am supported by DOE grant number DE-SC0009988 and a William D. Loughlin Membership at the Institute for Advanced Study.
If you use SDPB in work that results in publication, please cite
- D. Simmons-Duffin, "A Semidefinite Program Solver for the Conformal Bootstrap", arXiv:1502.02033 [hep-th].
Depending on how SDPB is used, please also consider the following sources:
The first use of semidefinite programming in the bootstrap:
- D. Poland, D. Simmons-Duffin and A. Vichi, "Carving Out the Space of 4D CFTs," JHEP 1205, 110 (2012) arXiv:1109.5176 [hep-th].
The generalization of semidefinite programming methods to arbitrary spacetime dimension:
- F. Kos, D. Poland and D. Simmons-Duffin, "Bootstrapping the O(N) Vector Models," JHEP 1406, 091 (2014) arXiv:1307.6856 [hep-th].
The generalization of semidefinite programming methods to arbitrary systems of correlation functions:
- F. Kos, D. Poland and D. Simmons-Duffin, "Bootstrapping Mixed Correlators in the 3D Ising Model," arXiv:1406.4858 [hep-th].
-
SDPB Makes extensive use of MPACK, the multiple precision linear algebra library written by Nakata Maho. Several source files from MPACK are included in the SDPB source tree (see the license at the top of those files).
-
SDPB uses Lee Thomason's tinyxml2 library (included in the source tree) for parsing.
-
The design of SDPB was partially based on the solvers SDPA and SDPA-GMP, which were essential sources of inspiration and examples.
-
Thanks to Filip Kos, David Poland, and Alessandro Vichi for collaboration in developing semidefinite programming methods for the conformal bootstrap and assistance testing SDPB.
-
Thanks to Amir Ali Ahmadi, Hande Benson, Pablo Parrilo, and Robert Vanderbei for advice and discussions about semidefinite programming.
-
Thanks also to Noah Stein, who first suggested the idea of semidefinite programming to me in this Math Overflow question.