Hello Andrew,
> I agree with Xypron that preparing model data is an important issue.
> However including comprehensive features for data processing in glpk
> would take it far away from its main purpose. Using existing tools
> like sed, gawk, cpp, etc. is a much better idea.
>
Could you, please, at least lift the restriction on function mpl_read_data to
be called only once. (Single line change, see below.)
Best regards
Xypron
--- glpk/glpk/trunk/glpk-4.31/src/glpmpl04.c 2008/08/28 17:07:42 273
+++ glpk/glpk/branches/glpk-4.31-multiple_data_files/src/glpmpl04.c
2008/09/27 17:09:13 286
@@ -699,7 +699,7 @@
-- processing. */
int mpl_read_data(MPL *mpl, char *file)
-{ if (mpl->phase != 1)
+{ if (mpl->phase != 1 && mpl->phase != 2)
xfault("mpl_read_data: invalid call sequence\n");
if (file == NULL)
xfault("mpl_read_data: no input filename specified\n");
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk