[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] suggestion for a better lpx_read_model declaration
From: |
Duilio Foschi |
Subject: |
[Help-glpk] suggestion for a better lpx_read_model declaration |
Date: |
Thu, 11 Sep 2003 10:52:49 +0200 |
IMHO the declaration of lpx_read_model would be much more usable when
changed from
LPX *lpx_read_model(char *model, char *data, char *output);
into
integer lpx_read_model(char *model, char *data, char *output);
/* 0=success, -1=errors */
The way it is, calling it from a language other than C compels a poor guy
to translate also parts of glpk.h , which is a bore.
Or one will get memory leaks at every call of the function.
Just my 2 cents...
Duilio Foschi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-glpk] suggestion for a better lpx_read_model declaration,
Duilio Foschi <=