[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] Error line in GMPL files

From: Andrew Makhorin
Subject: Re: [Help-glpk] Error line in GMPL files
Date: Thu, 24 Feb 2011 03:01:36 +0300

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]