Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
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)