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_file, read_LP, read_mps, read_MPS 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. There is no valid solution at this time. The default timeout is 0, resulting in no timeout. Example
See Also make_lp, copy_lp, read_lp, read_lp_file, read_LP, read_mps, read_MPS, get_timeout, solve, lag_solve |