Destroy the problem object
Tells when to destroy a problem object in the C API.
Use the routine CPXfreeprob to
destroy a problem object when your application no longer needs it.
Doing so will free all memory required to solve that problem instance.