A study is conducted to evaluate four derivative estimation methods when solving a large sparse nonlinear programming problem that arises from the approximation of an optimal control problem using a direct collocation method. In particular, the Taylor series-based finite-difference, bicomplex-step, and hyper-dual derivative estimation methods are evaluated and compared alongside a well known automatic differentiation method. The performance of each derivative estimation method is assessed based on the number of iterations, the computation time per iteration, and the total computation time required to solve the nonlinear programming problem. The efficiency of each of the four derivative estimation methods is compared by solving three benchmark optimal control problems. It is found that while central finite-differencing is typically more efficient per iteration than either the hyper-dual or bicomplex-step, the latter two methods have significantly lower overall computation times due to the fact that fewer iterations are required by the nonlinear programming problem when compared with central finite-differencing. Furthermore, while the bicomplex-step and hyper-dual methods are similar in performance, the hyper-dual method is significantly easier to implement. Moreover, the automatic differentiation method is found to be substantially less computationally efficient than any of the three Taylor series-based methods. The results of this study show that the hyper-dual method offers several benefits over the other three methods both in terms of computational efficiency and ease of implementation.
CGPOPS: A C++ Software for Solving Multiple-Phase Optimal Control Problems Using Adaptive Gaussian Quadrature Collocation and Sparse Nonlinear Programming
A Legendre-Gauss Pseudospectral Collocation Method for Trajectory Optimization in Second Order Systems
Institut de Robòtica i Informàtica Industrial, CSIC-UPC(西班牙国家研究委员会-加泰罗尼亚理工大学工业机器人与信息技术研究所)
伪谱配点法是求解最优控制问题的有力工具。虽然这些方法通常假设动力学以一阶形式$\dot{x} = f (x, u, t)$给出,其中x是状态,u是控制向量,但机器人系统通常由$\ddot{q} = g(q, \dot{q}, u, t)$形式的二阶ODE控制,其中q是配置。为了将二阶常微分方程转化为一阶常微分方程,通常的方法是引入一个速度变量v,并使它与q的时间导数重合。Lobatto方法通过构造来赋予这个约束,因为它们描述v的轨迹的多项式是q的多项式的时间导数,但高斯和Radau方法不能这么说。这对于这样的方法是有问题的,因为它们不能保证$\ddot{q} = g(q, \dot{q}, u, t)$在配置点处。在其消极的一面,Lobatto方法不能用于解决初始值问题,因为给定配置点处的u值,它们会生成状态的过约束方程组。在本文中,我们提出了一个Legendre-Gauss配置方法,保留了通常的Lobatto,Gauss和Radau方法的优点,同时避免了它们的缺点。我们提出的配置格式适用于求解初值问题,保持了v和q的多项式之间的一致性,并保证了配置点处的$\ddot{q} = g(q, \dot{q}, u, t)$。
A Direct Integral Pseudospectral Method for Solving a Class of Infinite-Horizon Optimal Control Problems Using Gegenbauer Polynomials and Certain Parametric Maps
Direct multiple shooting and direct collocation perform similarly in biomechanical predictive simulations
Laboratoire de Simulation et Modélisation du Mouvement(运动仿真与建模实验室);École de kinésiologie et des Sciences de l’Activité Physique(运动机能学与体育活动科学学院);Université de Montréal(蒙特利尔大学);Centre de réadaptation Marie-Enfant(玛丽-昂方康复中心);CHU Sainte-Justine(圣朱斯蒂娜大学医院中心);INRIA(法国国家信息与自动化研究所);Univ Montpellier(蒙彼利埃大学)