Maximize the final horizontal position of a hang glider while in the presence of a thermal updraft.
The formulation of this problem follows [9].
The equations of motion for the hang glider are
| Variables |
|
| Constraints |
|
| Bounds |
|
| Linear equality constraints | 0 |
| Linear inequality constraints | 0 |
| Nonlinear equality constraints |
|
| Nonlinear inequality constraints | 0 |
|
Nonzeros in
|
0 |
|
Nonzeros in |
|
Results for the AMPL implementation are shown in Table 11.2.
For starting points we use
and the functions
,
, and
MINOS fails to produce a solution for any of the problem versions we present it, declaring each an infeasible problem (or bad starting guess).
| Solver | |
|
|
|
| LANCELOT | |
211.76 s | 693.74 s | |
|
|
|
1.25461e+03 | 1.24889e+03 | |
|
|
|
9.32090e-08 | 2.86060e-07 | |
| iterations | |
383 | 539 | |
| LOQO | |
2174.8 s | 2601.83 s | |
|
|
|
1.25461e+03 | 1.24880e+03 | |
|
|
|
2.1e-11 | 1.6e-12 | |
| iterations | |
14257 | 7206 | |
| MINOS | 28.06 s | 95.8 s | 206.62 s | 732.06 s |
|
|
2.12853e+04 |
4.55001e+05 |
7.47275e+03 |
5.93037e+03 |
|
|
3.2e+03 |
6.0e+06 |
6.4e+02 |
6.1e+02 |
| iterations | 83 | 124 | 118 | 161 |
| SNOPT | 11.14 s | 44.04 s | 240.36 s | 1268.67 s |
|
|
1.28239e+03 | 1.25461e+03 | 1.24889e+03 | 1.24797e+03 |
|
|
1.7e-10 | 1.8e-10 | 1.2e-11 | 5.1e-11 |
| iterations | 73 | 94 | 125 | 166 |
|
|
||||
Figure 11.1 shows the altitude
and control function
as a function of time.
The glider starts at an altitude of
and descends until the glider meets the
updraft centered at
. As a result the glider
climbs and then descends to the desired final altitude
of
at time
.
Figure 11.2 shows velocities
and
as a function of time.
Note, in particular, the erratic behavior of the
velocities while the control is in the
bang-region where
.