[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Tables in GNU MathProg
From: |
Jiri K |
Subject: |
Re: [Help-glpk] Tables in GNU MathProg |
Date: |
Mon, 9 Feb 2009 06:38:16 -0800 (PST) |
Thank you, I did not realize this was possible.
I am generally struggling with getting a user friendly outputs from the
model, since the standard output file is quite difficult for further
handling and processing the data. I guess I am missing some important
point/knowledge, since this seems as a very basic thing. Writing outputs to
tables helps a lot, but for example I still don't know how to get an easy to
handle representation of marginals...
Andrew Makhorin wrote:
>
>> Writing the variables' values is now ok, however is it also possible to
>> write the values of constraints in a table? If yes, how?
>
> Such a feature is not yet implemented in mathprog. However, you could
> duplicate corresponding linear form in the table statement that provides
> the same effect. For example:
>
> s.t. foo{i in I}: sum{j in J} a[i,j] * x[i,j] >= b[i];
> . . .
> solve;
> . . .
> table bar{i in I} OUT ... : ..., sum{j in J} a[i,j] * x[i,j], ... ;
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
>
--
View this message in context:
http://www.nabble.com/Tables-in-GNU-MathProg-tp21202101p21914017.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
- Re: [Help-glpk] Tables in GNU MathProg,
Jiri K <=