Documentation


Model.dispose()

dispose ( )

Free all resources associated with this Model object. After this method is called, this Model object must no longer be used.

Example usage:

  env = Env()
  model = read("misc07.mps", env)
  model.optimize()
  model.dispose()
  env.dispose()