Jump to content

Mountain Car: Difference between revisions

From mintOC
No edit summary
Line 10: Line 10:
Its dynamics are given by a two-dimensional [[:Category:ODE model|ODE model]].
Its dynamics are given by a two-dimensional [[:Category:ODE model|ODE model]].


The optimal integer control functions exhibits a [[:Category:Bang bang|bang bang]].
The optimal integer control functions exhibits a [[:Category:Bang bang|bang bang]] structure.


== Mathematical formulation ==
== Mathematical formulation ==

Revision as of 14:47, 20 August 2025

Mountain Car
State dimension: 1
Differential states: 2
Discrete control functions: 1


The Mountain Car problem proposes a vehicle stuck in a “well.” It lacks the power to directly climb out of the well, but instead must accelerate repeatedly forwards and backwards until it has achieved the energy necessary to exit the well.

The problem is a popular machine learning test case. It first appeared in the PhD thesis of Andrew Moore in 1990. [Moo90]. The implementation here is taken from [] and based on that given by Melnikov, Makmal, and Briegel [MMB14]. Its dynamics are given by a two-dimensional ODE model.

The optimal integer control functions exhibits a bang bang structure.

Mathematical formulation

minwx2(1)subject tox1˙(t)=(w(t)+12w(t)2)x1(t),x2˙(t)=w(t)x1(t),x(0)=(1,0)T,w(t)[0,5]

Reference Solutions

Here is one local solution to the above control problem.

Miscellaneous and Further Reading

This formulation detailed description can be found in [1].

References

[1] https://apmonitor.com/do/index.php/Main/DynamicOptimizationBenchmarks