On Mon, 30 Aug 2010, xiaomi wrote:

Is there a totural for how to call GLPK in my own C/C++ programming?

There is example code.

And there is a more serious problem: I saw GLPK uses many memories when
it runs longer. If my own C/C++ programming uses almost all the memories
like open a huge matrix, will these memories be released to let GLPK run
when I call GLPK?

No, but that is why god invented swap.
Using swap will take longer than using fast ram.
That said, there might be relevant limits.
On a 32-bit machine,
you will almost certainly be limited to 3 or 4 GB per process.
If that is a problem, you will need to have GLPK run in a separate process.

Of course, if available,
the simplest soution is to free the huge matrix yourself.

--
Michael   [email protected]
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to