Destroying the Problem
Since .NET uses a garbage collector, it does not provide a mechanism for explicitly destroying objects.
Optimizer problems can take up large amounts of memory and so a
Destroy function is provided to free up this memory. Any operation performed on an
XPRSprob object after it has been destroyed will throw an exception.
XPRSprob prob = new XPRSprob (); ... prob.Destroy ();