Initializing help system before first use

# TIMELIMIT

Description | The maximum time in seconds that the Optimizer will run before it terminates, including the problem setup time and solution time. For MIP problems, this is the total time taken to solve all nodes.
Type | Double
Topic area | Limits
Values |
≥0 | Stop LP or MIP search after the given number of seconds.
Default value | 1e+20
Unit | seconds
Notes | This control has been newly introduced with Xpress Optimizer version 9.0 and should be used instead of the deprecated MAXTIME control. Note that the meaning of positive values differs between TIMELIMIT and MAXTIME. When both controls are set, TIMELIMIT takes precedence. The functionality of positive MAXTIME values is covered by SOLTIMELIMIT. When TIMELIMIT is set on an objective using XPRSsetobjdblcontrol, then when the limit is reached the solver will stop the current solve but will continue with solving the next objective. This is in contrast to the behaviour when TIMELIMIT is set on the problem with XPRSsetdblcontrol, where the overall optimization will be terminated as soon as the limit is reached. When a TIMELIMIT of 0 is set, the solver will stop immediately.
Affects routines | XPRSlpoptimize ( LPOPTIMIZE), XPRSmipoptimize ( MIPOPTIMIZE).
See also | SOLTIMELIMIT.
Category | Control

Parent Topic Control Parameters

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.