Initializing help system before first use

WORKLIMIT

Description
The maximum work (measured in work units) that the Optimizer will run before it terminates. WORK is accumulated during the search and ever increasing. In contrast to TIME, WORK is independent of the hardware and platform on which the search is conducted. The WORKLIMIT serves as a deterministic stopping criterion. When it is reached, it leaves the Optimizer in a reproducible state.
Type
Double
Topic areas
Values
≥0 
Stop LP or MIP search when the given number of work units is reached.
Default value
1e+20
Unit
work units
Notes
The reproducibility of a search conducted under a WORKLIMIT depends on the chosen determinism of the search, see the control DETERMINISTIC for more information.
The speed at which work is accumulated depends on the hardware, the algorithms involved, and the problem being solved.
When WORKLIMIT 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 WORKLIMIT is set on the problem with XPRSsetdblcontrol, where the overall optimization will be terminated as soon as the limit is reached.
When a WORKLIMIT of 0 is set, the solver will stop immediately.
Affects routines
See also
Category
Control

© 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.