arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.10861math.OC
收藏

非线性随机最优控制问题中梯度的可并行计算

Parallelisable computation of the gradient in nonlinear stochastic optimal control problems

Jie Lin, Ruairi Moran, Pantelis Sopasakis

AI总结:

本文提出一种可并行化算法计算非线性最优控制问题的梯度,并开发开源Python包gradgen生成Rust代码,相比CasADi性能更快且代码量显著减少。

摘要:

非线性(确定性和随机)最优控制问题通常在嵌入式设备上使用一阶数值优化方法求解。梯度计算占每次迭代计算成本的很大一部分;这通常通过反向模式自动微分完成,并且可以使用诸如CasADi之类的软件库为此计算生成C代码。在本文中,我们提出了一种简单、专门设计且高度可并行化的算法,用于计算确定性和基于随机场景的最优控制问题的总成本梯度。我们还介绍了gradgen:一个开源的Python包,用于生成梯度计算的Rust代码。与CasADi相比,所提出的方法带来了更快的性能,并显著减少了生成的代码量。

英文摘要:

Nonlinear (deterministic and stochastic) optimal control problems are often solved on embedded devices using first-order numerical optimisation methods. The gradient computation accounts for a significant part of the computation cost per iteration; this is often performed with reverse-mode automatic differentiation and software libraries such as CasADi can be used to generate C code for this computation. In this paper, we propose a simple ad hoc and highly parallelisable algorithm for the computation of the gradient of the total cost for deterministic and stochastic scenario-based optimal control problems. We also present gradgen: an open-source Python package that generates Rust code for the gradient computation. The proposed method leads to a faster performance compared to CasADi and a significant reduction in generated code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑