Thanks for the quick reply. From glpmpl.h, while I can get some hints,
i can't really find exactly what I need.
The translator database is, generally speaking, a tree, which
completely inherits the syntactic structure of the model.
To translate the model and evaluate all model objects you need
In the AMPL language, the show command can be used to examine sets,
variables, parameters, etc.
GNU MathProg (a subset of AMPL implemented in glpk) currently does not
support interactive mode. It has two statements: display and printf
which can be used within the model description to output