Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
GRBModel::reset()
void | reset ( | int | clearall=0 ) |
Reset the model to an unsolved state, discarding any previously computed solution information. Note that, due to our lazy update approach, the change won't actually take effect until you update the model (using GRBModel::update), optimize the model (using GRBModel::optimize), or write the model to disk (using GRBModel::write).
clearall (optional): Should additional information such as MIP starts, variable hints, branching priorities, lazy flags, and partition information be cleared?
Arguments: