Opened 5 years ago

Closed 3 years ago

#172 closed enhancement (migrated)

Maximum Running Time for Infeasible Problem

Reported by: st688 Owned by: tkr
Priority: minor Component: Cbc
Version: 2.9.2 Keywords:



I used CbcModel::setMaximumSeconds to set the maximum running time (5-mins) for solving an MILP. When the MILP is feasible (or a feasible solution can be found within the maximum seconds, I guess), the problem can be solved within that running time. However, when the MILP is infeasible, the solver will not return until it determined that the program is infeasible, which takes much longer time than what I wanted. I wonder if there is any option to force the branch and bound solver to return upon the timeout, so that I would be able to take further action with respect to the best possible result.

Thank you.

Change History (1)

comment:1 Changed 3 years ago by stefan

  • Resolution set to migrated
  • Status changed from new to closed

This ticket has been migrated to GitHub and will be resolved there:

Note: See TracTickets for help on using tickets.