Abstract
AbstractWe describe the toolbox $$\mathtt {Tenscalc}$$
Tenscalc
that generates specialized C-code to solve nonlinear constrained optimizations and to compute Nash equilibria. $$\mathtt {Tenscalc}$$
Tenscalc
is aimed at scenarios where one needs to solve very fast a large number of optimizations that are structurally similar. This is common in applications where the optimizations depend on measured data and one wants to compute optima for large or evolving datasets, e.g., in robust estimation and classification, maximum likelihood estimation, model predictive control (MPC), moving horizon estimation (MHE), and combined MPC-MHE (which requires the computation of a saddle-point equilibria). $$\mathtt {Tenscalc}$$
Tenscalc
is mostly aimed at generating solvers for optimizations with up to a few thousands of optimization variables/constraints and solve times up to a few milliseconds. The speed achieved by the solver arises from a combination of features: reuse of intermediate computations across and within iterations of the solver, detection and exploitation of matrix sparsity, avoidance of run-time memory allocation and garbage collection, and reliance on flat code that improves the efficiency of the microprocessor pipelining and caching. All these features have been automated and embedded into the code generation process. We include a few representative examples to illustrate how the speed and memory footprint of the solver scale with the size of the problem.
Publisher
Springer Science and Business Media LLC
Subject
Software,Theoretical Computer Science
Reference30 articles.
1. Andersson, J.A., Gillis, J., Horn, G., Rawlings, J.B., Diehl, M.: CasADi: a software framework for nonlinear optimization and optimal control. Math. Program. Comput. 11(1), 1–36 (2019)
2. Appel, A.W.: Modern Compiler Implementation in C. Cambridge University Press, Cambridge (2004)
3. Biegler, L.T., Zavala, V.M.: Large-scale nonlinear programming using IPOPT: an integrating framework for enterprise-wide dynamic optimization. Comput. Chem. Eng. 33(3), 575–582 (2009)
4. Copp, D.A., Hespanha, J.P.: Simultaneous nonlinear model predictive control and state estimation. Automatica 77, 143–154 (2017)
5. Davis, T.: SuiteSparse: a suite of sparse matrix software. http://faculty.cse.tamu.edu/davis/suitesparse.html. Accessed 2 Feb 2022
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献