# JuMP.jl to solve NLP with higher exponents?

**URL:** https://discourse.julialang.org/t/jump-jl-to-solve-nlp-with-higher-exponents/95086
**Category:** Optimization (Mathematical)
**Tags:** jump, nlp
**Created:** [February 23, 2023, 3:31pm UTC](https://discourse.julialang.org/t/jump-jl-to-solve-nlp-with-higher-exponents/95086 "2023-02-23T15:31:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Chad](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Chad](https://discourse.julialang.org/u/Chad)
#### Post date: [February 23, 2023, 3:31pm UTC](https://discourse.julialang.org/t/jump-jl-to-solve-nlp-with-higher-exponents/95086/1 "2023-02-23T15:31:32Z")

</div>

Wondering what is the best solver for Non Linear programming for the objective function with exponent 4 and 5? I am trying to solve for a big graph of the order 20k vertices and 1M edges.

Please advise any documentation.

---

<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 23, 2023, 5:52pm UTC](https://discourse.julialang.org/t/jump-jl-to-solve-nlp-with-higher-exponents/95086/2 "2023-02-23T17:52:28Z")

</div>

Welcome! I’ve moved your post to the “Optimization (Mathematical)” section, which is where we try to keep all of the JuMP-related questions.

Without knowing more about your problem, the first nonlinear solver to try, always, is Ipopt: [GitHub - jump-dev/Ipopt.jl: Julia interface to the Ipopt nonlinear solver](https://github.com/jump-dev/Ipopt.jl#jump-and-mathoptinterface)

But Ipopt doesn’t support discrete variables like binary or integer. And it may struggle if you have 10^6 or 10^7 variables and constraints and the problem is non-convex.

If you need more help, please post a reproducible example of your problem.
