Skip to content

Glider ​

  • 4 state
  • 1 control
  • 1 variable
  • Mayer cost
  • free final time
  • 2 state box
  • 1 control box
  • 1 variable box
  • 7 boundary
  • OptimalControl valid
  • OptimalControl, scalarized valid
  • JuMP valid

The hang glider problem is a classical benchmark in optimal control. It consists of steering a hang glider from an initial horizontal position and altitude to a target altitude while maximising the horizontal distance travelled. The glider dynamics incorporate lift, drag, gravity, and the effect of a thermal updraft. The control variable is the lift coefficient , which modulates the aerodynamic lift and influences the trajectory through the thermal region.

Mathematical formulation ​

with

and

where are constants describing the glider and the thermal properties.

Qualitative behaviour ​

  • The optimal trajectory exploits the thermal updraft to maximise horizontal distance.

  • The lift coefficient balances altitude loss and horizontal progression.

  • The dynamics are nonlinear due to the coupling of lift, drag, and relative velocity in the thermal.

  • Horizontal velocity is maintained positive, and the trajectory respects the control and state constraints.

Characteristics ​

  • Nonlinear dynamics.

  • Widely used as a benchmark for trajectory optimisation and direct transcription methods in nonlinear optimal control.

References ​

  • Dolan, E. D., & More, J. J. (2004). Benchmarking Optimization Software with COPS 3.0. Argonne National Laboratory. PDF Includes the hang glider problem in the COPS 3.0 benchmark collection with problem formulation and solver comparisons.

  • PSOPT Example: Hang Glider Problem. psopt.net/list-of-examples Demonstrates a practical implementation of the hang glider optimal control problem in PSOPT.

  • PSOPT GitHub Repository: Hang Glider Example. github.com/PSOPT/psopt/blob/master/examples/glider/glider.cxx Source code example for testing direct transcription and NLP solvers with the hang glider problem.

Parameters ​

ParameterDefault valueUnitMeaning
t00sinitial time
x_t00minitial horizontal position
y_t01000minitial altitude
y_tf900mfinal altitude
vx_t013.23m/sinitial horizontal velocity
vx_tf13.23m/sfinal horizontal velocity
vy_t0-1.288m/sinitial vertical velocity
vy_tf-1.288m/sfinal vertical velocity
u_c2.5m/smaximum velocity of the updraft of the thermal
r_t0100mradius of the thermal
m100kgmass of the glider
g9.81m/s²gravitational acceleration
c00.034–zero-lift drag coefficient
c10.069662–induced drag coefficient, D ∝ c0 + c1 cL²
S14m²wing area
ρ1.13kg/m³air density
cL_min0–lower bound of the lift coefficient cL
cL_max1.4–upper bound of the lift coefficient cL
tf_l0slower bound of the final time
x_l0mlower bound of the horizontal position
vx_l0m/slower bound of the horizontal velocity

Every modeling takes other values with the keyword parameters, merged with these: glider(backend; parameters=(t0=…,)).

Reference objective ​

The best objective among the solves that converged, in each modeling, on the default grid of the modeling: the modelings are independent, each has its own reference. See how the references are computed.

ModelingSchemeGridReference objectiveSolvesDistinct solutionsConfigurations agree
JuMP:trapeze500-1247.9784381yes, within 1.0e-10
OptimalControl:trapeze500-1247.97843181yes, within 1.0e-10
OptimalControl, scalarized:trapeze500-1247.9784331yes, within 4.6e-14