On Tue, 7 Feb 2012, Philipp Bachmann wrote:
I have a MathProg model on the one hand and want to supply its input not using glp_mpl_read_data(), but programmatically on the other hand. Also I want to fetch the results after calling the solver not via a file, but programmatically.
From Andrew's response,
to do what you want would require using an intermediate file. The stumper might be reading the results. You would need to know how GLPK generates variable names from data. That is why I've always used the API.
How can I do this, which is the correct order of API routines to call? Skimming through the examples I did not find similar code, but I may have overlooked something, of course.
-- Michael [email protected] "On Monday, I'm gonna have to tell my kindergarten class, whom I teach not to run with scissors, that my fiance ran me through with a broadsword." -- Lily _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
