problem.copycontrols
problem.copycontrols |
Purpose
Copies controls defined for one problem to another.
Synopsis
problem.copycontrols (src)
Argument
src
|
The problem from which the controls are copied.
|
Example
The following turns off presolve for problem
prob1 and then copies this and other control values to the problem
prob2:
prob1 = xpress.problem () prob2 = xpress.problem () prob1.controls.presolve = 0 prob2.copycontrols (prob1)
Related topics