problem.reset
problem.reset |
Purpose
Clears all information regarding an optimization problem and returns it to the same status as it would be after creation (i.e. after the instruction
p = xpress.problem()).
Synopsis
problem.reset()
Example
p = xpress.problem() p.read("problem0", "l") p.solve() x0 = p.getSolution() p.reset() p.read("problem1", "") p.solve() x1 = p.getSolution()
Related topics