# JuMP: Constraint with a huge expression

**URL:** <https://discourse.julialang.org/t/jump-constraint-with-a-huge-expression/108456>\
**Category:** Optimization (Mathematical)\
**Tags:** jump\
**Created:** [January 7, 2024, 6:05am UTC](https://discourse.julialang.org/t/jump-constraint-with-a-huge-expression/108456 "2024-01-07T06:05:02Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![tmigot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tmigot/32/23914_2.png) [@tmigot](https://discourse.julialang.org/u/tmigot)\
**Post date:** [January 15, 2024, 1:09pm UTC](https://discourse.julialang.org/t/jump-constraint-with-a-huge-expression/108456/14 "2024-01-15T13:09:26Z")

</div>

I think if you plan such comparison, you should differentiate the modeling tools from the the solvers. For instance, in [AC-Optimal-Power-Flow benchmark](https://discourse.julialang.org/t/ac-optimal-power-flow-in-various-nonlinear-optimization-frameworks/78486/78) the comparison is only on the modeling tools and the solver used is always Ipopt.  
It could be interesting to try out different solvers than Ipopt too.

If you know the derivatives and want to use Ipopt one way is to use [ManualNLPModels.jl](https://github.com/JuliaSmoothOptimizers/ManualNLPModels.jl).

---

_[View the full topic](https://discourse.julialang.org/t/jump-constraint-with-a-huge-expression/108456)._
