Documentation


Model.reset()

reset ( clearall=0 )

Reset the model to an unsolved state, discarding any previously computed solution information.

Arguments:

clearall (int, optional): Should additional information such as MIP starts, variable hints, branching priorities, lazy flags, and partition information be cleared?

Example usage:

  model.reset(0)