SolutionNumber

Select a sub-optimal MIP solution
 Type: int
 Default value: 0
 Minimum value: 0
 Maximum value: MAXINT

When querying attribute Xn, ObjNVal, or PoolObjVal to retrieve an alternate MIP solution, this parameter determines which alternate solution is retrieved. The value of this parameter should be less than the value of the SolCount attribute.

One important note about integer-valued parameters: while the maximum value that can be stored in a signed integer is <span>$</span>2^{31}-1<span>$</span>, 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.