SDPA for Python
Interior-point SDP solver for Python
SDPA for Python (
sdpa-python) is a Python 3 wrapper for SDPA (SemiDefinite Programming Algorithm). SDPA is a software package for solving general SDPs based on primal-dual interior-point methods with the HRVW/KSH/M search direction .
This package is a fork of SDPAP, the Python interface for SDPA provided at the official SDPA website. This repository aims to provide Python 3 support for both SDPA and SDPA Multiprecision (fork of SDPA-GMP ).
Two variants of this package are available on the Python Package Index (PyPI). The package using the SDPA (OpenBLAS) backend can be installed by
pip install sdpa-python
The package using the SDPA Multiprecision (GMP) backend can be installed by
pip install sdpa-multiprecision
PyPI currently does not have wheels for Apple M1 but it can built from source. Please see the instructions in the Installation section.
To get started, see the Usage section.
SDPA was officially developed between 1995 and 2012 by Makoto Yamashita, Katsuki Fujisawa, Masakazu Kojima, Mituhiro Fukuda, Kazuhiro Kobayashi, Kazuhide Nakata, Maho Nakata and Kazushige Goto   . The official SDPA website contains an unmaintained version of SDPA.
SDPAP was written by Kenta Kato as a Python 2 interface for SDPA. The official SDPA website also contains an unmaintained version of SDPAP.
This package is a Python 3 port of SDPAP. Besides Python 3 support, it also adds support for the multiprecision backend.
If you are using SDPA for Python in your research, please cite SDPA by citing the following papers and book chapters. The BibTex of the below has been included in the repository.
 Makoto Yamashita, Katsuki Fujisawa and Masakazu Kojima, “Implementation and evaluation of SDPA 6.0 (Semidefinite Programming Algorithm 6.0),” Optimization Methods and Software, vol. 18, no. 4, pp. 491–505, 2003, doi: 10.1080/1055678031000118482.
 Makoto Yamashita, Katsuki Fujisawa, Kazuhide Nakata, Maho Nakata, Mituhiro Fukuda, Kazuhiro Kobayashi, and Kazushige Goto, “A high-performance software package for semidefinite programs: SDPA 7,” Research Report B-460 Dept. of Mathematical and Computing Science, Tokyo Institute of Technology, Tokyo, Japan, September, 2010.
 Makoto Yamashita, Katsuki Fujisawa, Mituhiro Fukuda, Kazuhiro Kobayashi, Kazuhide Nakata and Maho Nakata, “Latest Developments in the SDPA Family for Solving Large-Scale SDPs,” in Handbook on Semidefinite, Conic and Polynomial Optimization, M. F. Anjos and J. B. Lasserre, Eds. Boston, MA: Springer US, 2012, pp. 687–713. doi: 10.1007/978-1-4614-0769-0_24.
 Nakata, M. (2010). A numerical evaluation of highly accurate multiple-precision arithmetic version of semidefinite programming solver: SDPA-GMP, -QD and -DD. 2010 IEEE International Symposium on Computer-Aided Control System Design, 29–34. doi: 10.1109/CACSD.2010.5612693