Hello Andrew,
I implemented the terminal hook function.
My program reads a GMPL file and solves it. The GMPL file contains
a line
printf "The smallest bag contains %d marbles\n", sum{n in minBag} n;
I get the following output:
hook('Reading model section from marbles.mod...
')
hook('53 lines were read
')
hook('T')
hook('h')
hook('e')
hook(' ')
hook('s')
Calling the hook function for every single character can cause
performance problem. I suggest the hook function to be called
for complete output lines.
Best regards
Xypron
--
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 Euro/mtl.!*
http://portal.gmx.net/de/go/dsl
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk