Challenges with MINLP Problems Using Knitro

12 views
Skip to first unread message

Diego Fernandes Pantuza

unread,
Jan 5, 2026, 10:17:06 AM (3 days ago) Jan 5
to kni...@googlegroups.com

I am currently working on solving a MINLP (Mixed Integer Nonlinear Programming) problem and have been using Knitro as the solver, which initially showed promising results for this type of problem.

At first, I focused on developing an NLP model that could find a local optimal solution quickly. After some adjustments to the solver settings, I was able to achieve this goal: the solver now finds the optimal solution in about 3 seconds, even without using a previous solution as a starting point.

However, when binary variables were introduced into the model, Knitro started to struggle significantly. While the root node relaxation is solved quickly, the branch-and-bound iterations take a long time to converge and, in many cases, produce infeasible solutions — even in scenarios where the binary variables do not affect other constraints in the model.

Please find below a screenshot with the problem characteristics:


image.png

I would like to know:

  • Have you encountered similar issues when using Knitro?
  • Do you have any suggestions on what might be causing this difficulty in finding feasible solutions?

Thank you very much for your attention and support.

Best regards,

richard.waltz

unread,
Jan 5, 2026, 10:58:20 AM (3 days ago) Jan 5
to Artelys Knitro forum
Hi,

It's hard to say much without looking more closely at your model.  The problem characteristics show many quadratic equality constraints in your model, which makes it highly non-convex and difficult when combined with binary variables.  If possible, can you please contact Artelys Knitro support <support...@artelys.com> and share your model with us so we can investigate?

Regards,
-Richard Waltz
Reply all
Reply to author
Forward
0 new messages