CSDP, A C Library for Semidefinite Programming

This is the project page for the CSDP project of COIN-OR. CSDP is a library of routines that implements a predictor corrector variant of the semidefinite programming algorithm of Helmberg, Rendl, Vanderbei, and Wolkowicz. The main advantages of this code are that it is written to be used as a callable subroutine, it is written in C for efficiency, the code runs in parallel on shared memory multi-processor systems, and it makes effective use of sparsity in the constraint matrices. CSDP has been compiled on many different systems. The code should work on any system with an ANSI C Compiler and BLAS/LAPACK libraries.

Detailed descriptions of CSDP and its parallel version can be found in the following papers.

CSDP has been used as an SDP solver within a number of other research projects. A list of publications in which CSDP has been used is available.

The SDPLIB collection of test problems in semidefinite programming can be used to test your installation of CSDP.

Ivan D. Ivanov at TU Delft has also modified an earlier version of CSDP for use on a distributed memory system. His version of CSDP is available at

Hector Corrada Bravo has developed an interface between R and CSDP.

Benjamin Kern is developing a Python interface to CSDP.

Benoit Legat and Elias Kuthe have developed a Julia interface to CSDP.

CSDP depends on high-performance BLAS and LAPACK libraries. I've written a blog posting about how to use BLAS and LAPACK on Linux.

The most recent stable version of CSDP is 6.1.1. You can obtain a copy of the source code by downloading a compressed tar archive. Instructions for building and installing CSDP can be found in the INSTALL file in the top level Csdp directory.

The current version of the CSDP User's Guide is also available.

CSDP is distributed as part of the Debian ("squeeze"/testing) and Ubuntu (10.04) distributions. The package is <a href="">coinor-csdp</a>. If you're using a Debian based Linux distribution, this is by far the quickest way to install a working (but not necessarily high performance) copy of CSDP.

Binary versions of CSDP for several architectures/OS's are available. Note that these binaries are not optimized. In particular, these binary versions don't take advantage of multiple processors. Some of the binaries are for older versions of CSDP, since I no longer have access to the systems on which they were built.

Please contact the author if you need a binary version for some other computer architecture/OS.

Associated with the project is the CSDP mailing list for general discussion of CSDP and the CSDP tickets mailing list for tracking bug reports.

If you want to access the most recent development version of CSDP, then you can obtain a copy by first installing the subversion tools on your system and then using the svn command:

svn co 

to checkout a copy of the latest revision. If you would like to submit a ticket, you must first register with TRAC.

If you have questions about this web site or the code, please contact the author.

Welcome to Trac 0.9.5

Trac is a minimalistic approach to web-based management of software projects. Its goal is to simplify effective tracking and handling of software issues, enhancements and overall progress.

All aspects of Trac have been designed with the single goal to help developers write great software while staying out of the way and imposing as little as possible on a team's established process and culture.

As all Wiki pages, this page is editable, this means that you can modify the contents of this page simply by using your web-browser. Simply click on the "Edit this page" link at the bottom of the page. WikiFormatting will give you a detailed description of available Wiki formatting commands.

"trac-admin yourenvdir initenv" created a new Trac environment, containing a default set of wiki pages and some sample data. This newly created environment also contains documentation to help you get started with your project.

You can use trac-admin to configure Trac to better fit your project, especially in regard to components, versions and milestones.

TracGuide is a good place to start.

The Trac Team

Starting Points

For a complete list of local wiki pages, see TitleIndex.

Trac is brought to you by Edgewall Software, providing professional Linux and software development services to clients worldwide. Visit for more information.

Last modified 7 days ago Last modified on Jun 21, 2017 1:48:32 PM

Attachments (1)

Download all attachments as: .zip