help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Linear Programming in Java using GLPK and MathProg


From: Andrew Makhorin
Subject: Re: [Help-glpk] Linear Programming in Java using GLPK and MathProg
Date: Wed, 12 Dec 2007 01:14:54 +0300

> The point here is that GLPK has no api routines available to map MathProg
> variable and index name to the associated column number in the resulting MIP
> or LP problem. Only this mapping would help Benson to read the values of the
> objective function and the decision variables without parsing the output
> file.

I think that row and column names can be used. Besides, why to use
MathProg? On api level it would be more reasonable (as it seems to me)
to build model with glpk routines, wouldn't it?

> Following your declarative approach of MathProg, I guess that Benson has
> to find another way to extract the solution components from a MathProg model
> in GLPK. In my previous response to his question I formulated a possible
> solution with xml files. 

> In this solution you create a xml file as output of the MathProg program
> with a self made tag and tree structure. For reading xml files Java has many
> routines available. So, accessing the xml file with the appropriate variable
> tag will give the required value.

> I hope this clarifies the discussion. I can remember a previous
> discussion thread about this subject.

> Best regards,

> Ivo van Baren
> Netherlands







reply via email to

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