MVar.copy()

copy ( )

Create a copy of this MVar.

Return value:

The new object.

Example usage:

  orig = model.addMVar(3)
  copy = orig.copy()