# Optimizing a function in optimal control problem

**URL:** <https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483>\
**Category:** Optimization (Mathematical)\
**Tags:** optimization, sciml, differentialequation\
**Created:** [February 2, 2025, 9:34pm UTC](https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483 "2025-02-02T21:34:14Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![odow](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/odow/32/28685_2.png) [@odow](https://discourse.julialang.org/u/odow)\
**Post date:** [February 5, 2025, 1:46am UTC](https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483/14 "2025-02-05T01:46:03Z")

</div>

> I think `JuMP.jl` has a nice optimal control example of this

See [Example: nonlinear optimal control of a rocket · JuMP](https://jump.dev/JuMP.jl/stable/tutorials/nonlinear/rocket_control/)

---

_[View the full topic](https://discourse.julialang.org/t/optimizing-a-function-in-optimal-control-problem/125483)._
