set_timeoutSet a timeout. void set_timeout(lprec *lp, long sectimeout); Return Value set_timeout has no return value. Parameters lp Pointer to previously created lp model. See return value of make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI sectimeout The number of seconds after which a timeout occurs. If zero, then no timeout will occur. Remarks The set_timeout function sets a timeout in seconds. The solve
and lag_solve functions may not last longer than
this time or the routines return with a timeout. The default timeout is 0, resulting in no timeout. Example
See Also make_lp, copy_lp, read_lp, read_LP, read_mps, read_freemps, read_MPS, read_freeMPS, read_XLI, get_timeout, time_elapsed, solve, lag_solve |