csdp: Solver for semidefinite programs¶
This is a fast SDP solver written in C, with a callable library namely, an autotool’ed version of CSDP, by Brian Borchers, see https://projects.coin-or.org/Csdp
Common Public License Version 1.0
Special Update/Build Instructions¶
To update to a new version, you need to bump the version number in configure.ac and rerun autotools (autoreconf -fiv). Any changes should be merged to the upstream repo.
The build is done with NOSHORTS variable defined; this makes it compatible with packages, where NOSHORTS must be defined, e.g. https://github.com/dimpase/pycsdp; also the Sage Cython interface needs NOSHORTS defined.
Detailed steps to build the spkg are as follows. You need
autotools and libtool (the full autohell suite, version at least 2.67)
With these ready:
copy the resulting csdp-<version>.tar.gz to SAGE_ROOT/upstream, or somewhere else appropriate
Equivalent System Packages¶
$ sudo pacman -S coin-or-csdp csdp
However, these system packages will not be used for building Sage because spkg-configure.m4 has not been written for this package; see https://trac.sagemath.org/ticket/27330