Skip to main content
Erschienen in: Optimization and Engineering 4/2016

06.05.2016

Credible autocoding of convex optimization algorithms

verfasst von: Timothy Wang, Romain Jobredeaux, Marc Pantel, Pierre-Loic Garoche, Eric Feron, Didier Henrion

Erschienen in: Optimization and Engineering | Ausgabe 4/2016

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The efficiency of modern optimization methods, coupled with increasing computational resources, has led to the possibility of real-time optimization algorithms acting in safety-critical roles. There is a considerable body of mathematical proofs on on-line optimization algorithms which can be leveraged to assist in the development and verification of their implementation. In this paper, we demonstrate how theoretical proofs of real-time optimization algorithms can be used to describe functional properties at the level of the code, thereby making it accessible for the formal methods community. The running example used in this paper is a generic semi-definite programming solver. Semi-definite programs can encode a wide variety of optimization problems and can be solved in polynomial time at a given accuracy. We describe a top-down approach that transforms a high-level analysis of the algorithm into useful code annotations. We formulate some general remarks on how such a task can be incorporated into a convex programming autocoder. We then take a first step towards the automatic verification of the optimization program by identifying key issues to be addressed in future work.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
The terms “interior-point method” and “interior-point algorithm” are used interchangeably in this paper.
 
2
In this case, the condition that p is transformable to a symmetric matrix P is guaranteed by the way SDP problems in control are formulated (Gahinet and Apkarian 1994; Boyd 1994).
 
Literatur
Zurück zum Zitat Alizadeh F (1993) Interior point methods in semidefinite programming with applications to combinatorial optimization. SIAM J Optim 5:13–51MathSciNetCrossRefMATH Alizadeh F (1993) Interior point methods in semidefinite programming with applications to combinatorial optimization. SIAM J Optim 5:13–51MathSciNetCrossRefMATH
Zurück zum Zitat Alizadeh F, Haeberly J-PA, Overton ML (1994) Primal–dual interior-point methods for semidefinite programming: convergence rates, stability and numerical results. SIAM J Optim 5:13–51MathSciNetCrossRefMATH Alizadeh F, Haeberly J-PA, Overton ML (1994) Primal–dual interior-point methods for semidefinite programming: convergence rates, stability and numerical results. SIAM J Optim 5:13–51MathSciNetCrossRefMATH
Zurück zum Zitat Bodson M (2002) Evaluation of optimization methods for control allocation. J Guid Control Dyn 25(4):703–711CrossRef Bodson M (2002) Evaluation of optimization methods for control allocation. J Guid Control Dyn 25(4):703–711CrossRef
Zurück zum Zitat Boyd S, Vandenberghe L (2004) Convex optimization. Cambridge University Press, New YorkCrossRefMATH Boyd S, Vandenberghe L (2004) Convex optimization. Cambridge University Press, New YorkCrossRefMATH
Zurück zum Zitat Boyd S, El Ghaoui L, Feron E, Balakrishnan V (1994) Linear matrix inequalities in system and control theory. Studies in applied mathematics, vol 15. SIAM, Philadelphia Boyd S, El Ghaoui L, Feron E, Balakrishnan V (1994) Linear matrix inequalities in system and control theory. Studies in applied mathematics, vol 15. SIAM, Philadelphia
Zurück zum Zitat Cuoq P, Kirchner F, Kosmatov N, Prevosto V, Signoles J, Yakobowski B (2012) Frama-C: a software analysis perspective. In: Proceedings of the 10th international conference on software engineering and formal methods, SEFM’12. Springer, Berlin, pp 233–247 Cuoq P, Kirchner F, Kosmatov N, Prevosto V, Signoles J, Yakobowski B (2012) Frama-C: a software analysis perspective. In: Proceedings of the 10th international conference on software engineering and formal methods, SEFM’12. Springer, Berlin, pp 233–247
Zurück zum Zitat De Moura L, Bjørner N (2008) Z3: an efficient SMT solver. In: Proceedings of the theory and practice of software, 14th international conference on tools and algorithms for the construction and analysis of systems, TACAS’08/ETAPS’08. Springer, Berlin, pp 337–340 De Moura L, Bjørner N (2008) Z3: an efficient SMT solver. In: Proceedings of the theory and practice of software, 14th international conference on tools and algorithms for the construction and analysis of systems, TACAS’08/ETAPS’08. Springer, Berlin, pp 337–340
Zurück zum Zitat Dieumegard A, Toom A, Pantel M (2012) Model-based formal specification of a DSL library for a qualified code generator. In: Proceedings of the 12th workshop on OCL and textual modelling, OCL ’12, New York, NY, USA, 2012. ACM, Innsbruck, Austria, pp 61–62 Dieumegard A, Toom A, Pantel M (2012) Model-based formal specification of a DSL library for a qualified code generator. In: Proceedings of the 12th workshop on OCL and textual modelling, OCL ’12, New York, NY, USA, 2012. ACM, Innsbruck, Austria, pp 61–62
Zurück zum Zitat Dijkstra E (1976) A discipline of programming. Prentice-Hall, Englewood CliffsMATH Dijkstra E (1976) A discipline of programming. Prentice-Hall, Englewood CliffsMATH
Zurück zum Zitat Gahinet P, Apkarian P (1994) A linear matrix inequality approach to h\(\infty \) control. Int J Robust Nonlinear Control 4(4):421–448MathSciNetCrossRefMATH Gahinet P, Apkarian P (1994) A linear matrix inequality approach to h\(\infty \) control. Int J Robust Nonlinear Control 4(4):421–448MathSciNetCrossRefMATH
Zurück zum Zitat Helmberg C, Rendl F, Vanderbei RJ, Wolkowicz H (1996) An interior-point method for semidefinite programming. SIAM J Optim 6:342–361MathSciNetCrossRefMATH Helmberg C, Rendl F, Vanderbei RJ, Wolkowicz H (1996) An interior-point method for semidefinite programming. SIAM J Optim 6:342–361MathSciNetCrossRefMATH
Zurück zum Zitat Hoare CAR (1969) An axiomatic basis for computer programming. Commun ACM 12:576–580CrossRefMATH Hoare CAR (1969) An axiomatic basis for computer programming. Commun ACM 12:576–580CrossRefMATH
Zurück zum Zitat Jobredeaux R (2015) Formal verification of control software. PhD Thesis, Georgia Institute of Technology Jobredeaux R (2015) Formal verification of control software. PhD Thesis, Georgia Institute of Technology
Zurück zum Zitat Kojima M, Shindoh S, Hara S (1997) Interior-point methods for the monotone semidefinite linear complementarity problem in symmetric matrices. SIAM J Optim 7(1):86–125MathSciNetCrossRefMATH Kojima M, Shindoh S, Hara S (1997) Interior-point methods for the monotone semidefinite linear complementarity problem in symmetric matrices. SIAM J Optim 7(1):86–125MathSciNetCrossRefMATH
Zurück zum Zitat Löfberg J (2004) YALMIP: a toolbox for modeling and optimization in MATLAB. IEEE international symposium on computer aided control systems design, 2004. Tapei, Taiwan. Löfberg J (2004) YALMIP: a toolbox for modeling and optimization in MATLAB. IEEE international symposium on computer aided control systems design, 2004. Tapei, Taiwan.
Zurück zum Zitat McGovern LK (2000) Computational analysis of real-time convex optimization for control systems. PhD Thesis, Massachusetts Institute of Technology, Boston McGovern LK (2000) Computational analysis of real-time convex optimization for control systems. PhD Thesis, Massachusetts Institute of Technology, Boston
Zurück zum Zitat McGovern L, Feron E (1998) Requirements and hard computational bounds for real-time optimization in safety-critical control systems. In: Proceedings of the 37th IEEE conference on decision and control, 1998, vol 3, pp 3366–3371 McGovern L, Feron E (1998) Requirements and hard computational bounds for real-time optimization in safety-critical control systems. In: Proceedings of the 37th IEEE conference on decision and control, 1998, vol 3, pp 3366–3371
Zurück zum Zitat Monteiro RDC, Zhang Y (1998) A unified analysis for a class of long-step primal–dual path-following interior-point algorithms for semidefinite programming. Math Program 81:281–299MathSciNetMATH Monteiro RDC, Zhang Y (1998) A unified analysis for a class of long-step primal–dual path-following interior-point algorithms for semidefinite programming. Math Program 81:281–299MathSciNetMATH
Zurück zum Zitat Moskewicz MW, Madigan CF, Zhao Y, Zhang L, Malik S (2001) Chaff: engineering an efficient SAT solver. In: Proceedings of the 38th annual design automation conference, DAC ’01, New York, NY, USA, 2001. ACM, pp 530–535 Moskewicz MW, Madigan CF, Zhao Y, Zhang L, Malik S (2001) Chaff: engineering an efficient SAT solver. In: Proceedings of the 38th annual design automation conference, DAC ’01, New York, NY, USA, 2001. ACM, pp 530–535
Zurück zum Zitat Nesterov Y, Nemirovskii A (1988) A general approach to the design of optimal methods for smooth convex functions minimization. Ekon Mat Metod 24:509–517MathSciNet Nesterov Y, Nemirovskii A (1988) A general approach to the design of optimal methods for smooth convex functions minimization. Ekon Mat Metod 24:509–517MathSciNet
Zurück zum Zitat Nesterov Y, Nemirovskii A (1989) Self-concordant functions and polynomial time methods in convex programming. Materialy po matematicheskomu obespecheniiu EVM. USSR Academy of Sciences, Central Economic and Mathematic Institute Nesterov Y, Nemirovskii A (1989) Self-concordant functions and polynomial time methods in convex programming. Materialy po matematicheskomu obespecheniiu EVM. USSR Academy of Sciences, Central Economic and Mathematic Institute
Zurück zum Zitat Nesterov Y, Nemirovskii A (1994) Interior-point polynomial algorithms in convex programming. Studies in applied mathematics. Society for Industrial and Applied Mathematics, Philadelphia Nesterov Y, Nemirovskii A (1994) Interior-point polynomial algorithms in convex programming. Studies in applied mathematics. Society for Industrial and Applied Mathematics, Philadelphia
Zurück zum Zitat Owre S, Rushby JM, Shankar N (1992) PVS: a prototype verification system. In: CADE, LNAI, vol 607. Springer, Berlin, pp 748–752 Owre S, Rushby JM, Shankar N (1992) PVS: a prototype verification system. In: CADE, LNAI, vol 607. Springer, Berlin, pp 748–752
Zurück zum Zitat Owre S, Shankar N, Rushby JM, Stringer-Calvert DWJ (1999) PVS language reference. Computer Science Laboratory, SRI International, Menlo Park Owre S, Shankar N, Rushby JM, Stringer-Calvert DWJ (1999) PVS language reference. Computer Science Laboratory, SRI International, Menlo Park
Zurück zum Zitat Richter S, Jones CN, Morari M (2013) Certification aspects of the fast gradient method for solving the dual of parametric convex programs. Math Methods Oper Res 77(3):305–321MathSciNetCrossRefMATH Richter S, Jones CN, Morari M (2013) Certification aspects of the fast gradient method for solving the dual of parametric convex programs. Math Methods Oper Res 77(3):305–321MathSciNetCrossRefMATH
Zurück zum Zitat Rinard M (1999) Credible compilation. In: Proceedings of CC 2001: international conference on compiler construction, technical report, 1999 Rinard M (1999) Credible compilation. In: Proceedings of CC 2001: international conference on compiler construction, technical report, 1999
Zurück zum Zitat Roux P, Jobredeaux R, Garoche P-L, Feron E (2012) A generic ellipsoid abstract domain for linear time invariant systems. In: HSCC, 2012, pp 105–114 Roux P, Jobredeaux R, Garoche P-L, Feron E (2012) A generic ellipsoid abstract domain for linear time invariant systems. In: HSCC, 2012, pp 105–114
Zurück zum Zitat RTCA (2011a) DO-333 formal methods supplement to DO-178C and DO-278A. Technical report RTCA (2011a) DO-333 formal methods supplement to DO-178C and DO-278A. Technical report
Zurück zum Zitat RTCA (2011b) DO-178C, software considerations in airborne systems and equipment certification RTCA (2011b) DO-178C, software considerations in airborne systems and equipment certification
Zurück zum Zitat Sturm JF (1999) Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones. Optim Methods Softw 11(1–4):625–653MathSciNetCrossRefMATH Sturm JF (1999) Using SeDuMi 1.02, a MATLAB toolbox for optimization over symmetric cones. Optim Methods Softw 11(1–4):625–653MathSciNetCrossRefMATH
Zurück zum Zitat Todd MJ (1999) A study of search directions in primal–dual interior-point methods for semidefinite programming. Optim Methods Softw 11(1–4):1–46MathSciNetMATH Todd MJ (1999) A study of search directions in primal–dual interior-point methods for semidefinite programming. Optim Methods Softw 11(1–4):1–46MathSciNetMATH
Zurück zum Zitat Toh K-C, Todd MJ, Tütüncü RH (1999) SDPT3—a MATLAB software package for semidefinite programming, version 1.3. Optim Methods Softw 11(1–4):545–581MathSciNetCrossRefMATH Toh K-C, Todd MJ, Tütüncü RH (1999) SDPT3—a MATLAB software package for semidefinite programming, version 1.3. Optim Methods Softw 11(1–4):545–581MathSciNetCrossRefMATH
Zurück zum Zitat Turing AM (1949) Checking a large routine. In: Report of a conference on high speed automatic calculating machines, pp 67–69 Turing AM (1949) Checking a large routine. In: Report of a conference on high speed automatic calculating machines, pp 67–69
Zurück zum Zitat Wang TE (2015) Credible autocoding of control software. PhD Thesis, Georgia Institute of Technology Wang TE (2015) Credible autocoding of control software. PhD Thesis, Georgia Institute of Technology
Zurück zum Zitat Wang T, Jobredeaux R, Feron E (2011) A graphical environment to express the semantics of control systems. arXiv:1108.4048. Accessed 23 Nov 2015 Wang T, Jobredeaux R, Feron E (2011) A graphical environment to express the semantics of control systems. arXiv:​1108.​4048. Accessed 23 Nov 2015
Zurück zum Zitat Wang T, Jobredeaux R, Herencia-Zapana H, Garoche P-L, Dieumegard A, Feron E, Pantel M (2013) From design to implementation: an automated, credible autocoding chain for control systems. In: CoRR, abs/1307.2641, 2013 Wang T, Jobredeaux R, Herencia-Zapana H, Garoche P-L, Dieumegard A, Feron E, Pantel M (2013) From design to implementation: an automated, credible autocoding chain for control systems. In: CoRR, abs/1307.2641, 2013
Zurück zum Zitat Yamashita M, Fujisawa K, Fukuda M, Kobayashi K, Nakata K, Nakata M (2012) Latest developments in the SDPA family for solving large-scale SDPs. In: Handbook on semidefinite, conic and polynomial optimization. Springer, New York, pp 687–713 Yamashita M, Fujisawa K, Fukuda M, Kobayashi K, Nakata K, Nakata M (2012) Latest developments in the SDPA family for solving large-scale SDPs. In: Handbook on semidefinite, conic and polynomial optimization. Springer, New York, pp 687–713
Metadaten
Titel
Credible autocoding of convex optimization algorithms
verfasst von
Timothy Wang
Romain Jobredeaux
Marc Pantel
Pierre-Loic Garoche
Eric Feron
Didier Henrion
Publikationsdatum
06.05.2016
Verlag
Springer US
Erschienen in
Optimization and Engineering / Ausgabe 4/2016
Print ISSN: 1389-4420
Elektronische ISSN: 1573-2924
DOI
https://doi.org/10.1007/s11081-016-9320-7

Weitere Artikel der Ausgabe 4/2016

Optimization and Engineering 4/2016 Zur Ausgabe

    Marktübersichten

    Die im Laufe eines Jahres in der „adhäsion“ veröffentlichten Marktübersichten helfen Anwendern verschiedenster Branchen, sich einen gezielten Überblick über Lieferantenangebote zu verschaffen.