Julia with Knitro

Sorry I’m replying very late as I’m not active in this forum, I just noticed this thread as it was linked to Knitro.jl a few days ago. It seems you are solving a MINLP problem, you should use mip_maxtime_cpu and mip_maxtime_real (all options are described in online documentation).

I’m a member of Knitro development team, do not hesitate to contact us at
support
when you encounter an issue with Knitro itself. You are apparently not the first ones to get confused with this option so I will take that back internally, we should probably raise a hint when you try to use this option for a MIP problem.

Always happy to help, let me know how it goes.

5 Likes

To follow up on this, I have fixed a bug in KNITRO.jl, so set_time_limit_sec(model, 60) should now work.

1 Like

Hi! it works fine!

1 Like