How to solve a quadratic equation using JuMP? I was following the documentation, but the quadratic equations are not working.
1 Like
What was not working?
Did you use a solver that supports quadratic equality constraints?
There are examples in the documentation here:
I was using JuMP and HiGHS as a template to solve a quadratic equation through optimization! but it wasn’t working, changing the model to Ipopt I managed to solve the system.
1 Like
HiGHS supports quadratic objectives, but not quadratic constraints.
If all of your variables are continuous, Ipopt is a good choice. If you have discrete variables, choose a solver like Gurobi.
1 Like