Open
Description
Hi, Thanks for the code provided for Google Colab.
I am trying to solve my MINLP problem using 'couenne'. It takes a long time until it gives me the result; however, I want it to stop computations after a defined time frame. I tried this code: from pyomo.opt import SolverFactory, SolverManagerFactory
solver = SolverFactory('couenne')
solver_manager = SolverManagerFactory('serial')
results = solver_manager.solve(model, opt=solver, tee=True, timelimit=600)
But I face an error: 'TimeoutExpired: Command '['/content/bin/couenne', '/tmp/tmp4ceh948b.pyomo.nl', '-AMPL']' timed out after 600.99996879700029 seconds' without having any results.
Could you please help me in this regard?
Thanks,
Niloofar
Metadata
Assignees
Labels
No labels