Hi Xypron, > the GLPK library provides functions to read and generate GMPL models. > If an error occurs this is indicated by the return code. I would like > to use the error line to set the cursor in an editor window and mark > the problematic line. >
Though it is not an elegant solution, but you can intercept the terminal output with glp_term_hook and then parse the error and context lines in the same way as Gusek does. I think it would be quite easy, since at most one error can be reported. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
