# Large optimal control problems in Julia

**URL:** <https://discourse.julialang.org/t/large-optimal-control-problems-in-julia/88566>\
**Category:** General Usage\
**Created:** [October 11, 2022, 9:38am UTC](https://discourse.julialang.org/t/large-optimal-control-problems-in-julia/88566 "2022-10-11T09:38:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kieran\_Marray](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kieran_marray/32/35686_2.png) [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Post date:** [October 11, 2022, 9:38am UTC](https://discourse.julialang.org/t/large-optimal-control-problems-in-julia/88566/1 "2022-10-11T09:38:11Z")

</div>

I am trying to set up and solve a large (10/20 control variables, and approx 20,000 state variables following ODE constraints) optimal control problem with non-linear constraints in Julia using the IPOPT solver. Is there a package that allows me to implement large optimal control problems easily? I am currently using JuMP.jl for a toy version of the problem with roughly 20 constraints, which is manageable. Moving to the larger problem seems like it might be quite cumbersome though

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [October 11, 2022, 9:42am UTC](https://discourse.julialang.org/t/large-optimal-control-problems-in-julia/88566/2 "2022-10-11T09:42:35Z")

</div>

JuliaSim’s Control module is being designed precisely for large-scale nonlinear control problems. Details can be found in the documentation:

[https://help.juliahub.com/juliasimcontrols/stable/](https://help.juliahub.com/juliasimcontrols/stable/)

---

<div class="post-metadata">

**Author:** ![Kieran\_Marray](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kieran_marray/32/35686_2.png) [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Post date:** [October 11, 2022, 10:05am UTC](https://discourse.julialang.org/t/large-optimal-control-problems-in-julia/88566/3 "2022-10-11T10:05:34Z")

</div>

Fantastic, thank you so much!
