MIP solution to the optimizer.
procedure addmipsol(solid:string,s:array(set of mpvar) of real)
Identifier to be assigned to the solution
An array containing the solution
1. This function adds a MIP solution to the optimizer that has
previously been saved using procedure savemipsol
constructed by some external heuristic. In the latter case a value needs
to be assigned to each discrete variable in the problem, such as
is a decision variable of type
2. The values for the continuous variables in the s array are
ignored and are calculated by fixing the integer variables and
3. The current problem definition must be loaded into the Optimizer for
to have any effect. If this has not recently been
, by calling maximize
, the problem must be explicitly loaded using
4. The function returns immediately after passing the
solution to the optimizer. The solution is placed in a pool until the
optimizer is able to analyze the solution during a MIP solve.
callback function can be used to discover
the outcome of a loaded solution, based on the identifier
assigned to the solution (see setcallback
If you have any comments or suggestions about these pages,
please send mail to email@example.com.
© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.