10. TIMLIM
Use this tolerance to place a limit on the number of seconds the solver runs. If the solver hits this limit, it will stop and return with the best solution found so far. The default limit is 0, meaning no time limit is imposed on the solver.
If the solver hits this limit, it returns to normal command mode. If the model contains integer variables, LINGO will restore the best integer solution found so far. You may need to be patient, however, because the solver may have to perform a fair amount of work to reinstall the current best solution after it hits a runtime limit.
Note: | Some caution is required when interrupting the solver. There must be an incumbent solution available if you hope to interrupt the solver and have it return a valid solution. You can always tell if an incumbent solution is available by examining the Best Obj field in the Extended Solver Status box of the solver status window. If this field is blank, then an incumbent solution does not exist, and the solution returned after an interrupt will be invalid. If, on the other hand, this field contains a numeric value, then you should be able to interrupt and return to a valid, if not globally optimal, solution. |