# Gurobi and non linear

**URL:** <https://discourse.julialang.org/t/gurobi-and-non-linear/111665>\
**Category:** Optimization (Mathematical)\
**Tags:** gurobi\
**Created:** [March 15, 2024, 2:07pm UTC](https://discourse.julialang.org/t/gurobi-and-non-linear/111665 "2024-03-15T14:07:25Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Fabrizio](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fabrizio/32/30587_2.png) [@Fabrizio](https://discourse.julialang.org/u/Fabrizio)\
**Post date:** [March 15, 2024, 4:18pm UTC](https://discourse.julialang.org/t/gurobi-and-non-linear/111665/3 "2024-03-15T16:18:35Z")

</div>

Thanks @gdalle for pointing out this, it’s my first experience with non linear cns and jump. However it does not solve the problem. The issue should be related to the gurobi.jl present interface as pointed out in here

> [@Can't solve a problem with nonlinear terms like x^0.7 or x^3 using JuMP with Gurobi 11](https://discourse.julialang.org/t/cant-solve-a-problem-with-nonlinear-terms-like-x-0-7-or-x-3-using-jump-with-gurobi-11/106896):
>
> I have installed Gurobi 11 and Gurobi 1.2.0.jl, and it’s believed that Gurobi now supports solving general nonlinear programming like x^0.7 or x^3, but I cannot solve it with JuMP using Gurobi, if I switch the solve to Ipopt, it works. using JuMP, Gurobi m = Model() @variable(m, 0 \<= x1 \<= 40, start=23.564546) @variable(m, 0 \<= x2 \<= 40, start=33.235712480000004) @variable(m, 0 \<= x3 \<= 40, start=9.232629520000001) @objective(m, Min, 0.1 \* (16800 \* (x71)^0.7 + 9500 \* (x72)^ 0.7 + 12600 \* …

---

_[View the full topic](https://discourse.julialang.org/t/gurobi-and-non-linear/111665)._
