Documentation


SolutionLimit

MIP solution limit
 Type: int
 Default value: MAXINT
 Minimum value: 1
 Maximum value: MAXINT

Limits the number of feasible MIP solutions found. Optimization returns with a SOLUTION_LIMIT status once the limit has been reached (see the Status Code section for further details).

One important note about integer-valued parameters: while the maximum value that can be stored in a signed integer is $2^{31}-1$, we use a MAXINT value of 2,000,000,000. Attempting to set an integer parameter to a value larger than this maximum will produce an error.

Note: Only affects mixed integer programming (MIP) models

For examples of how to query or modify parameter values from our different APIs, refer to our Parameter Examples.