CoinUtils icon indicating copy to clipboard operation
CoinUtils copied to clipboard

gmpl reader keeps gmpl pointer in global variable

Open svigerske opened this issue 5 years ago • 0 comments

Issue created by migration from Trac.

Original creator: @svigerske

Original creation time: 2011-03-25 17:25:24

Since https://projects.coin-or.org/CoinUtils/changeset/1389/trunk the gmpl reader in CoinMpsIO does not free the GMPL pointer after usage anymore, but keeps it in a global variable, which the user has to remember to free.

Would be nice to have a variant where the GMPL pointer is stored in the CoinMpsIO object and freed in the destructor. Also a CoinMpsIO method to call the GMPL postsolve routine would be nice.

svigerske avatar Mar 02 '19 16:03 svigerske