GPOPS-II explained

GPOPS-II
Developer:Michael Patterson[1] and Anil V. Rao[2]
Latest Release Version:2.0
Programming Language:MATLAB
Operating System:Mac OS X, Linux, Windows
Language:English
Genre:Numerical optimization software
License:Proprietary, Free-of-charge for K - 12 or classroom use. Licensing fees apply for all academic, not-for profit, and commercial use (outside of classroom use)

GPOPS-II (pronounced "GPOPS 2") is a general-purpose MATLAB software for solving continuous optimal control problems using hp-adaptive Gaussian quadrature collocation and sparse nonlinear programming. The acronym GPOPS stands for "General Purpose OPtimal Control Software", and the Roman numeral "II" refers to the fact that GPOPS-II is the second software of its type (that employs Gaussian quadrature integration).

Problem Formulation

GPOPS-II[3] is designed to solve multiple-phase optimal control problems of the following mathematical form (where

P

is the number of phases):

minJ=\phi(e(1),\ldots,e(P))

subject to the dynamic constraints

y

(p)(t)=a(p)(y(p)(t),u(p)(t),t,s),(p=1,\ldots,P),

the event constraints

bmin\leqb(e(1),\ldots,e(P),s)\leqbmax,

the inequality path constraints

(p)
c
min

\leqc(y(p)(t),u(p)

(p)
(t),t,s)\leqc
max

,(p=1,\ldots,P),

the static parameter constraints

smin\leqs\leqsmax,

and the integral constraints

(p)
q
min

\leqq(p)

(p)
\leqq
max

,(p=1,\ldots,P),

where

e(p)=\left[y(p)

(p)
(t
0
(p)
),t
0

,y(p)

(p)
(t
f
(p)
),t
f

,q(p)\right],(p=1,\ldots,P),

and the integrals in each phase are defined as

(p)
q
i
(p)
t
f
=\int
(p)
t
0
(p)
g
i

(y(p)(t),u(p)(t),t,s)dt,

(p)
(i=1,\ldots,n
q

,p=1,\ldots,P).

It is important to note that the event constraints can contain any functions that relate information at the start and/or terminus of any phase (including relationships that include both static parameters and integrals) and that the phases themselves need not be sequential. It is noted that the approach to linking phases is based on well-known formulations in the literature.[4]

Method Employed by GPOPS-II

GPOPS-II uses a class of methods referred to as

hp

-adaptive Gaussian quadrature collocation where the collocation points are the nodes of a Gauss quadrature (in this case, the Legendre-Gauss-Radau [LGR] points). The mesh consists of intervals into which the total time interval

t(p)

(p)
\in[t
0
(p)
,t
f

]

in each phase is divided, and LGR collocation is performed in each interval. Because the mesh can be adapted such that both the degree of the polynomial used to approximate the state

y(p)(t)

and the width of each mesh interval can be different from interval to interval, the method is referred to as an

hp

-adaptive method (where "

h

" refers to the width of each mesh interval, while "

p

" refers to the polynomial degree in each mesh interval). The LGR collocation method has been developed rigorously in Refs.,[5] [6] [7] while

hp

-adaptive mesh refinement methods based on the LGR collocation method can be found in Refs., .[8] [9] [10] [11]

Development

The development of GPOPS-II began in 2007. The code development name for the software was OptimalPrime, but was changed to GPOPS-II in late 2012 in order to keep with the lineage of the original version of GPOPS [12] which implemented global collocation using the Gauss pseudospectral method. The development of GPOPS-II continues today, with improvements that include the open-source algorithmic differentiation package ADiGator [13] and continued development of

hp

-adaptive mesh refinement methods for optimal control.

Applications of GPOPS-II

GPOPS-II has been used extensively throughout the world both in academia and industry. Published academic research where GPOPS-II has been used includes Refs.[14] [15] [16] where the software has been used in applications such as performance optimization of Formula One race cars, Ref.[17] where the software has been used for minimum-time optimization of low-thrust orbital transfers, Ref.[18] where the software has been used for human performance in cycling, Ref.[19] where the software has been used for soft lunar landing, and Ref.[20] where the software has been used to optimize the motion of a bipedal robot.

External links

Notes and References

  1. Web site: People.
  2. http://www.anilvrao.com Website of Anil V. Rao
  3. Patterson. M. A.. Rao. A. V.. GPOPS-II: A MATLAB Software for Solving Multiple-Phase Optimal Control Problems Using hp-Adaptive Gaussian Quadrature Collocation Methods and Sparse Nonlinear Programming. ACM Transactions on Mathematical Software. 2014. 41. 1. 1:1–1:37. 10.1145/2558904. free.
  4. Book: Betts. John T.. Practical Methods for Optimal Control and Estimation Using Nonlinear Programming. 2010. SIAM Press. Philadelphia. 9780898718577. 10.1137/1.9780898718577.
  5. Garg. D.. Patterson. M. A.. Hager. W. W.. Rao. A. V.. Benson. D. A.. Huntington. G. T.. A Unified Framework for the Numerical Solution of Optimal Control Problems Using Pseudospectral Methods. Automatica. 2010. 46. 11. 1843–1851. 10.1016/j.automatica.2010.06.048.
  6. Garg. D.. Hager. W. W.. Rao. A. V.. Pseudospectral Methods for Solving Infinite-Horizon Optimal Control Problems. Automatica. 2011. 47. 4. 829–837. 10.1016/j.automatica.2011.01.085. etal.
  7. Garg. D.. Patterson. M. A.. Darby. C. L.. Francolin. C.. Huntington. G. T.. Hager. W. W.. Rao. A. V.. Direct Trajectory Optimization and Costate Estimation of Finite-Horizon and Infinite-Horizon Optimal Control Problems Using a Radau Pseudospectral Method. Computational Optimization and Applications. 2011. 49. 2. 335–358. etal. 10.1007/s10589-009-9291-0. 10.1.1.663.4215. 8817072.
  8. Darby. C. L.. Hager. W. W.. Rao. A. V.. An hp-Adaptive Pseudospectral Method for Solving Optimal Control Problems. Optimal Control Applications and Methods. 2011. 32. 4. 476–502. 10.1002/oca.957. 16065706 . etal.
  9. Darby. C. L.. Hager. W. W.. Rao. A. V.. Direct Trajectory Optimization Using a Variable Low-Order Adaptive Pseudospectral Method. Journal of Spacecraft and Rockets. 2011. 48. 3. 433–445. 10.2514/1.52136. etal. 10.1.1.367.7092. 2011JSpRo..48..433D.
  10. Patterson. M. A.. Hager. W. W.. Rao. A. V.. A ph Mesh Refinement Method for Optimal Control. Optimal Control Applications and Methods. 2011. 36. 4. 398–421. 10.1002/oca.2114. 6266472 . free.
  11. Liu. F.. Hager. W. W.. Rao. A. V.. Adaptive Mesh Refinement for Optimal Control Using Nonsmoothness Detection and Mesh Size Reduction. Journal of the Franklin Institute - Engineering and Applied Mathematics. 2015. 352. 10. 4081–4106. 10.1016/j.jfranklin.2015.05.028. free.
  12. Rao. A. V.. Benson. D. A.. Darby. C. L.. Patterson. M. A.. Francolin. C.. Sanders. I.. Huntington. G. T.. GPOPS: A MATLAB Software for Solving Multiple-Phase Optimal Control Problems Using the Gauss Pseudospectral Method. ACM Transactions on Mathematical Software. 2010. 37. 2. 22:1–22:39. 10.1145/1731022.1731032. 15375549. free.
  13. Web site: Weinstein. M. J.. Rao. A. V.. ADiGator: A MATLAB Toolbox for Algorithmic Differentiation Using Source Transformation via Operator Overloading. ADiGator. 2 June 2019 .
  14. Perantoni. G.. Limebeer. D. J. N.. Optimal Control of a Formula One Car on a Three-Dimensional Track—Part 1: Track Modeling and Identification. Journal of Dynamic Systems, Measurement, and Control. 2015. 137. 2. 10.1115/1.4028253. 021010. 121951098 .
  15. Limebeer. D. J. N.. Perantoni. G.. Optimal Control of a Formula One Car on a Three-Dimensional Track—Part 2: Optimal Control. Journal of Dynamic Systems, Measurement, and Control. 2015. 137. 5. 10.1115/1.4029466. 051019.
  16. Limebeer. D. J. N.. Perantoni. G.. Rao. A. V.. Optimal Control of Formula One Car Energy Recovery Systems. International Journal of Control. 2014. 87. 10. 2065–2080. 10.1080/00207179.2014.900705. 2014IJC....87.2065L. 41823239.
  17. Graham. K. F.. Rao. A. V.. 43633680. Minimum-Time Trajectory Optimization of Many Revolution Low-Thrust Earth-Orbit Transfers. Journal of Spacecraft and Rockets. 2015. 52. 3. 711–727. 10.2514/1.a33187.
  18. Dahmen. T.. Saupeand. D.. Optimal pacing strategy for a race of two competing cyclists. Journal of Science and Cycling. 2014. 3. 2.
  19. Moon. Y. Kwon. S. Lunar Soft Landing with Minimum-Mass Propulsion System Using H2O2/Kerosene Bipropellant Rocket System. Acta Astronautica. 99. May - June. 153–157. 10.1016/j.actaastro.2014.02.003. 2014. 2014AcAau..99..153M.
  20. Haberland. M.. McClelland. H.. Kim. S.. Hong. D.. The Effect of Mass Distribution on Bipedal Robot Efficiency. International Journal of Robotics Research. 25. 11. 1087–1098. 10.1177/0278364906072449. 2006. 18209459.