> I am using Glpk in a gui program and I like to get glpk output in a textbox
> DO you know how to redirect stdout elsewhere? If you are using the GLPK API routines in your program you could use the lib_set_print_hook() and lib_set_fault_hook() functions to redirect the outputs and errors, respectively, printed by glpk somewhere else, e.g. in a file or a in textbox. See comments to these routines in glplib2.c. Regards, Nicolo Giorgetti. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
