1 / 26

High Performance Solvers for Semidefinite Programs

This talk is supported by Ewha University. High Performance Solvers for Semidefinite Programs. Makoto Yamashita @ Tokyo Tech Katsuki Fujisawa @ Chuo Univ Mituhiro Fukuda @ Tokyo Tech Kazuhiro Kobayashi @ NMRI Kazuhide Nakata @ Tokyo Tech Maho Nakata @ RIKEN.

magda
Télécharger la présentation

High Performance Solvers for Semidefinite Programs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. This talk is supported by Ewha University High Performance Solvers for Semidefinite Programs Makoto Yamashita @ Tokyo Tech Katsuki Fujisawa @ Chuo Univ Mituhiro Fukuda @ Tokyo Tech Kazuhiro Kobayashi @ NMRI Kazuhide Nakata @ Tokyo Tech Maho Nakata @ RIKEN KSIAM Annual Meeting @ Jeju 2011/11/25(2011/11/25-2011/11/26)

  2. Parallel SDPARA-C SDPARA Base solver SDPA SDPA-C Strucutural Sparsity SDPA-GMP SDPA-M Multiple precision Matlab Our interests & SDPA Family • How fast can we solve SDPs? • How large SDP can we solve? • How accurate can we solve SDPs? SDPA Homepage http://sdpa.sf.net/ KSIAM 2011 @ Jeju

  3. SDPA Online Solver • Log-in the online solver • Upload your problem • Push ’Execute’ button • Receive the result via Web/Mail http://sdpa.sf.net/ ⇒ Online Solver KSIAM 2011 @ Jeju

  4. Outline • SDP Applications • Primal-Dual Interior-Point Methods • Inside of SDPARA (Large & Fast) • Inside of SDPA-GMP (Accurate) • Conclusion

  5. SDP Applications • Control Theory • Quantum Chemistry • Sensor Network Localization Problem • Polynomial Optimization KSIAM 2011 @ Jeju

  6. SDP Applications 1.Control theory Against swing,we want to keep stability. Stability Condition⇒ Lyapnov Condition⇒ SDP INFOMRS 2011 @ Charlotte 6

  7. Ground state energy Locate electrons Schrodinger Equation⇒Reduced Density Matrix⇒SDP SDP Applications2. Quantum Chemistry INFOMRS 2011 @ Charlotte 7

  8. SDP Applications3. Sensor Network Localization Distance Information⇒Sensor Locations Protein Structure INFOMRS 2011 @ Charlotte 8

  9. SDP Applications 4. Polynomial Optimization For example, NP-hard in general Very good lower boundby SDP relaxation method KSIAM 2011 @ Jeju 9

  10. SDP Applications Control Theory Quantum Chemistry Polynomial Optimization Sensor Network Localization Problem Many Applications  How Large & How Fast & How Accurate KSIAM 2011 @ Jeju 10

  11. Standard form • The variables are • Inner Product is • The size is roughly determined by Ordinal solver Our target KSIAM 2011 @ Jeju

  12. Primal-Dual Interior-Point Methods Central Path Target Optimal Feasible region KSIAM 2011 @ Jeju

  13. Schur Complement Matrix Schur Complement Equation Schur Complement Matrix where 1. ELEMENTS (Evaluation of SCM) 2. CHOLESKY (Cholesky factorization of SCM) KSIAM 2011 @ Jeju

  14. Computation time on single processor • SDPARA replaces these bottleneks by parallel computation Time unit is second, SDPA 7, Xeon 5460 (3.16GHz) Row-wise distribution Two-dimensional block-cyclic distribution KSIAM 2011 @ Jeju

  15. Processor1 Processor2 Processor3 Processor4 Processor1 Processor2 Processor3 Processor4 Row-wise distribution Example • All rows are independent • Assign processorsin a cyclic manner • Simple idea⇒Very EFFICIENT • High scalability KSIAM 2011 @ Jeju

  16. Block Algorithm for Cholesky factorization • Triangular Factorization (U: upper triangular matrix) Small Cholesky factorizaton Block Updates ParallelComputing

  17. Processor1 Processor2 Processor3 Processor4 Processor1 Processor2 Processor3 Processor4 Two-dimensional block-cyclic distribution Example • Scalapack library • From the row-wise to TDBCD requires network communication • Cholesky on TDBCD is much faster than the on row-wise KSIAM 2011 @ Jeju

  18. Numerical Results of SDPARA • Quantum Chemistry (m=7230, SCM=100%), middle size • SDPARA 7.3.1, Xeon X5460, 3.16GHz x2, 48GB memory ELEMENTS 15x speedup CHOLESKY 12x speedup Total 13x speedup Very FAST!! KSIAM 2011 @ Jeju

  19. Processor1:Thread1 Processor2:Thread1 Processor1:Thread2 Processor2:Thread2 Processor1:Thread1 Processor2:Thread1 Processor1:Thread2 Processor2:Thread2 Acceleration by Multiple Threading • Modern Processors have multi-cores • Multiple Threading is becoming common 2 Processors x2 Threads on each processor Two-level Parallel Computing KSIAM 2011 @ Jeju

  20. Comparison with PCSDP • developed by Ivanov & de Klerk SDP: B.2P Quantum Chemistry (m = 7230, SCM = 100%)Xeon X5460, 3.16GHz x2 (8core), 48GB memory Time unit is second SDPARA is 8x faster by MPI & Multi-Threading (Two-level parallization) KSIAM 2011 @ Jeju

  21. Extremely Large-Scale SDPs • 16 Servers [Xeon X5670(2.93GHz) , 128GB Memory] Other solvers can handle only The LARGEST solved SDP in the world KSIAM 2011 @ Jeju

  22. Numerical Accuracy • One weakpoint of PDIPM • . • PDIPM requires • Eventually, numerical trouble(often, Cholesky fails) for example, KSIAM 2011 @ Jeju

  23. Replace BLAS(Basic Linear Algebra Sytems) by MPLAPACK (Multiple precision LAPACK) SDPA-GMP Numerical Precision • Ordinal double precision in C or C++ • arbitrary precision in GMP library b c a 64bit = 1bit(sign) + 11bit(exponent)+53bit(fraction); accuracy = b c a We can arbitrary set the bit number offraction part. (for example, 200bit = )

  24. Numerically Hard problem • Test Problem • PDIPM is stable if Slater’s condition • Graph Partition Problemhas no interior • Small ⇒ Numerically Hard KSIAM 2011 @ Jeju

  25. Numerical Results of SDPA-GMP Small ⇒ Numerically Hard 24digits for even no-interior case KSIAM 2011 @ Jeju 25 SDPA-GMP uses 300 digits

  26. Conclusion • SDPARA ⇒ How Fast & How Large100times & • SDPA-GMP ⇒ How Accurate • http://sdpa.sf.net/ & Online solver Thank you very much for your attention. KSIAM 2011 @ Jeju

More Related