Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Pyomo - MINLP

30 views
Skip to first unread message

CHITHRAPONNU R 20PHD1199

unread,
Apr 22, 2025, 6:50:15 AMApr 22
to Pyomo Forum
Is it possible to solve MINLP using Pyomo?
Can anyone help me solve my problem? 

Disclaimer:
This message was sent from Vellore Institute of Technology.  The contents of this email may contain legally protected confidential or privileged information of “Vellore Institute of Technology”.  If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. If you have received this email in error, please promptly notify the sender by reply email and delete the original email and any backup copies without reading them.

Venu©

unread,
Apr 22, 2025, 6:53:00 AMApr 22
to pyomo...@googlegroups.com
Pyomo is just programming way based on python. To solve MINLP problem u have to use solver and mostly all solvers can be used through pyomo

--
You received this message because you are subscribed to the Google Groups "Pyomo Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyomo-forum...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pyomo-forum/8743fb1b-9175-473d-b719-480e63d8142en%40googlegroups.com.

CHITHRAPONNU R 20PHD1199

unread,
Apr 22, 2025, 8:39:36 AMApr 22
to pyomo...@googlegroups.com
Yes. Thank you for your response, firstly. Yes, I used IPOPT to solve MINLP. But it's not working. Can you please suggest any other with a simple example? 

Venu©

unread,
Apr 22, 2025, 8:58:42 AMApr 22
to pyomo...@googlegroups.com
So I believe some of ur decision variables must be binary and ipopt will not give any output with binary options. So u can use different solvers like Baron or Gurobi to solve MINLP problem. There r some open source solvers available for solving MINLP problem. U can check AMPL website to get list of open source solvers and AMPL does offer some. 

Ahmad Heidari

unread,
Apr 23, 2025, 11:02:34 AMApr 23
to Pyomo Forum
CHITHRAPONNU,

Since non-linear programming usually provides a local optimum, other linearized methods are applied. 
You can apply some methods to solve MINLP problems, though. 
First, you might need to linearize the nonlinear terms using well-known mathematical methods.
You can use some advanced optimization techniques, such as Benders Decomposition, to increase the probability of reaching a global optimum.
In case of solvers, as @Venu correctly mentioned, you can sign up on the AMPL website and obtain a 30-day free trial of commercial solvers. 
In your case, for MINLP problems, the Knitro solver works best. You may use Gurobi with some parameter tuning, as well. 

CHITHRAPONNU R 20PHD1199

unread,
Apr 23, 2025, 11:51:17 AMApr 23
to pyomo...@googlegroups.com
Thank you @venu and @heidari. Conversion of my model nonlinear to linear is little complicated. I'll first try @venu suggestions. If it's not working for me I'll try @heidari suggestions. 

Reply all
Reply to author
Forward
0 new messages