problem.setdefaults
problem.setdefaults |
Purpose
Sets all controls to their default values. Must be called before the problem is read or loaded by
problem.read and
problem.loadproblem.
Synopsis
problem.setdefaults ()
Example
The following turns off presolve to solve a problem, before resetting the control defaults, reading it and solving it again:
p.controls.presolve = 0 p.mipoptimize ("") p.writeprtsol () p.setdefaults () p.read () p.mipoptimize ("")
Related topics