Skip to main content

On the Implementation and Usage of SDPT3 – A Matlab Software Package for Semidefinite-Quadratic-Linear Programming, Version 4.0

  • Chapter
  • First Online:
  • 6065 Accesses

Part of the book series: International Series in Operations Research & Management Science ((ISOR,volume 166))

Abstract

This software is designed to solve primal and dual semidefinite-quadratic-linear conic programming problems (known as SQLP problems) whose constraint conic is a product of semidefinite conics, second-order conics, nonnegative orthants and Euclidean spaces, and whose objective function is the sum of linear functions and log-barrier terms associated with the constraint conics. This includes the special case of determinant maximization problems with linear matrix inequalities. It employs an infeasible primal-dual predictor-corrector path-following method, with either the HKM or the NT search direction. The basic code is written in Matlab, but key subroutines in C are incorporated via Mex files. Routines are provided to read in problems in either SDPA or SeDuMi format. Sparsity and block diagonal structure are exploited. We also exploit low-rank structures in the constraint matrices associated with the semidefinite blocks if such structures are explicitly given. To help the users in using our software, we also include some examples to illustrate the coding of problem data for our solver. Various techniques to improve the efficiency and robustness of the main solver are incorporated. For example, step-lengths associated with semidefinite conics are calculated via the Lanczos method. The current version also implements algorithms for solving a 3-parameter homogeneous self-dual model of the primal and dual SQLP problems. Routines are also provided to determine whether the primal and dual feasible regions of a given SQLP have empty interiors. Numerical experiments show that this general-purpose code can solve more than 80% of a total of about 430 test problems to an accuracy of at least 10− 6 in relative duality gap and infeasibilities.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   279.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    This strategy works well on most of the problems we tested. However, it should be noted that the occasional failure of the software on problems with poorly chosen initial iterates is likely due to the lack of a neighborhood enforcement in the algorithm.

References

  1. Alizadeh, F., Haeberly, J.-P.A., Overton, M.L.: Primal-dual interior-point methods for semidefinite programming: convergence results, stability and numerical results. SIAM J. Optimization 8, 746–768 (1998)

    Article  Google Scholar 

  2. Borchers, B.: SDPLIB 1.2, a library of semidefinite programming test problems. Optimization Methods and Software 11 & 12, 683–690 (1999)

    Google Scholar 

  3. Boyd, S., El Ghaoui, L., Feron, E., Balakrishnan, V.: Linear Matrix Inequalities in System and Control Theory. SIAM, Philadelphia (1994)

    Google Scholar 

  4. Cai, Z., Toh, K.C.: Solving second order cone programming via the augmented systems. SIAM J. Optimization 17, 711–737 (2006)

    Article  Google Scholar 

  5. Davis, T.A.: CHOLMOD Version 1.0 User Guide. Technical Report, University of Florida, Gainesville, Florida (2005). http://www.cise.ufl.edu/research/sparse/cholmod

  6. Davis, T.A.: UMFPACK Version 4.6 User Guide. Technical Report, University of Florida, Gainesville, Florida (2002). http://www.cise.ufl.edu/research/sparse/umfpack

  7. Duff, I.S.: MA57 – A new code for the solution of sparse symmetric definite and indefinite systems. Technical Report RAL-TR-2002-024, Rutherford Appleton Laboratory, Oxford (2002)

    Google Scholar 

  8. Freund, R.M.: Complexity of convex optimization using geometry-based measures and a reference point, Mathematical Programming 99, 197–221 (2004)

    Article  Google Scholar 

  9. Freund, R.M., Ordóñez, F., Toh, K.C., Behavioral Measures and their Correlation with IPM Iteration Counts on Semi-Definite Programming Problems. Mathematical Programming 109, 445–475 (2007)

    Article  Google Scholar 

  10. Freund, R.W., Nachtigal, N.M.: A new Krylov-subspace method for symmetric indefinite linear systems. In: Ames, W.F. (ed) Proceedings of the 14th IMACS World Congress on Computational and Applied Mathematics, Atlanta (1994)

    Google Scholar 

  11. Fujisawa, K., Kojima, M., Nakata, K.: Exploiting sparsity in primal-dual interior-point method for semidefinite programming. Mathematical Programming 79, 235–253 (1997)

    Article  Google Scholar 

  12. Grant, M., Boyd, S.: Graph implementations for nonsmooth convex programs. In: Blondel, V., Boyd, S., Kimura, H. (eds.) Recent Advances in Learning and Control (a tribute to M. Vidyasagar). Lecture Notes in Control and Information Sciences. Springer, Berlin Heidelberg New York (2008). Software is available at http://cvxr.com/cvx/

  13. Harwell Subroutine Library: http://www.cse.clrc.ac.uk/Activity/HSL (1963)

  14. Helmberg, C., Rendl, F., Vanderbei, R., Wolkowicz, H.:An interior-point method for semidefinite programming. SIAM Journal on Optimization 6, 342–361 (1996)

    Article  Google Scholar 

  15. Henrion, D., Lasserre, J.B.: GloptiPoly: Global optimization over polynomials with Matlab and SeDuMi. ACM Transactions on Mathematical Software 29, 165–194 (2003)

    Article  Google Scholar 

  16. Henrion, D., Lasserre, J.B., Loefberg, J.: GloptiPoly 3: moments, optimization and semidefinite programming. Optimization Methods and Software 24, 761–779 (2009)

    Article  Google Scholar 

  17. Kojima, M., Shindoh, S., Hara, S.: Interior-point methods for the monotone linear complementarity problem in symmetric matrices. SIAM J. Optimization 7, 86–125 (1997)

    Article  Google Scholar 

  18. Liu, J.W., Ng, E.G., Peyton, B.W.: On finding supernodes for sparse matrix computations. SIAM J. Matrix Anal. Appl. 1, 242–252 (1993)

    Article  Google Scholar 

  19. Löfberg, J.: A Toolbox for Modeling and Optimization in MATLAB. In: Proceedings of the CACSD Conference, Taipei, Taiwan (2004). http://control.ee.ethz.ch/~joloef/yalmip.php

  20. Mehrotra, S.: On the implementation of a primal-dual interior point method. SIAM J. Optimization 2, 575–601 (1992)

    Article  Google Scholar 

  21. Monteiro, R.D.C.: Primal-dual path-following algorithms for semidefinite programming. SIAM J. Optimization 7, 663–678 (1997)

    Article  Google Scholar 

  22. Monteiro, R.D.C., Tsuchiya, T.: Polynomial convergence of primal-dual algorithms for the second-order cone program based on the MZ-family of directions. Mathematical Programming 88, 61–83 (2000)

    Article  Google Scholar 

  23. Nesterov, Y., Todd, M.J.: Self-scaled barriers and interior-point methods in convex programming. Mathematics of Operations Research 22, 1–42 (1997)

    Article  Google Scholar 

  24. Pataki, G., Schmieta, S.: The DIMACS library of mixed semidefinite-quadratic-linear programs. http://dimacs.rutgers.edu/Challenges/Seventh/Instances (1999)

  25. Renegar, J.: Linear programming, complexity theory, and elementary functional analysis. Mathematical Programming 70, 279–351 (1995)

    Article  Google Scholar 

  26. Sturm, J.F.: Using SeDuMi 1.02, a Matlab toolbox for optimization over symmetric cones. Optimization Methods and Software 11 & 12, 625–653 (1999)

    Article  Google Scholar 

  27. Todd, M.J., Toh, K.C., Tütüncü, R.H.: On the Nesterov-Todd direction in semidefinite programming. SIAM J. Optimization, 8, 769–796 (1998)

    Article  Google Scholar 

  28. Toh, K.C.: A note on the calculation of step-lengths in interior-point methods for semidefinite programming. Computational Optimization and Applications 21, 301–310 (2002)

    Article  Google Scholar 

  29. Toh, K.C.: Some new search directions for primal-dual interior point methods in semidefinite programming. SIAM J. Optimization 11, 223–242 (2000)

    Article  Google Scholar 

  30. Toh, K.C.: Primal-dual path-following algorithms for determinant maximization problems with linear matrix inequalities. Computational Optimization and Applications 14, 309–330 (1999)

    Article  Google Scholar 

  31. Toh, K.C., Todd, M.J., Tütüncü, R.H.: SDPT3 — a Matlab software package for semidefinite programming. Optimization Methods and Software 11 & 12, 545–581 (1999)

    Google Scholar 

  32. Toh, K.C.: Solving large scale semidefinite programs via an iterative solver on the augmented systems. SIAM J. Optim. 14, 670–698 (2004)

    Article  Google Scholar 

  33. Tütüncü, R.H., Toh, K.C., Todd, M.J., Solving semidefinite-quadratic-linear programs using SDPT3. Mathematical Programming 95, 189–217 (2003)

    Article  Google Scholar 

  34. Tsuchiya, T.: A convergence analysis of the scaling-invariant primal-dual path-following algorithms for second-order cone programming. Optimization Methods and Software 11 & 12, 141–182 (1999)

    Article  Google Scholar 

  35. Vandenberghe, L., Boyd, S., Wu, S.-P.: Determinant maximization with linear matrix inequalities. SIAM J. Matrix Analysis and Applications 19, 499–533 (1998)

    Article  Google Scholar 

  36. Waki, H., Kim, S., Kojima, M., Muramatsu, M., Sugimoto, H.: SparsePOP: a sparse semidefinite programming relaxation of polynomial optimization problems. ACM Transactions on Mathematical Software 35, article 15 (2008)

    Article  Google Scholar 

  37. Yamashita, M., Fujisawa, K., Kojima, M.: Implementation and evaluation of SDPA 6.0 (SemiDefinite Programming Algorithm 6.0). Optimization Methods and Software 18, 491–505 (2003)

    Article  Google Scholar 

  38. Ye, Y., Todd, M.J., Mizuno, S.: An O(\(\sqrt{n}\)L)-iteration homogeneous and self-dual linear programming algorithm. Mathematics of Operations Research 19, 53–67 (1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kim-Chuan Toh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer Science+Business Media, LLC

About this chapter

Cite this chapter

Toh, KC., Todd, M.J., Tütüncü, R.H. (2012). On the Implementation and Usage of SDPT3 – A Matlab Software Package for Semidefinite-Quadratic-Linear Programming, Version 4.0. In: Anjos, M.F., Lasserre, J.B. (eds) Handbook on Semidefinite, Conic and Polynomial Optimization. International Series in Operations Research & Management Science, vol 166. Springer, New York, NY. https://doi.org/10.1007/978-1-4614-0769-0_25

Download citation

Publish with us

Policies and ethics