fixed ( )

Create the fixed model associated with a MIP model. The MIP model must have a solution loaded (e.g., after a call to the optimize method). In the fixed model, each integer variable is fixed to the value that variable takes in the MIP solution.

Return value:

Fixed model associated with calling object.

Example usage:

  fixed = model.fixed()