Hi!

I came across another issue:
Where should "solve" and "table .. OUT ..." statements stay in code?
before the data section? inside this section or maybe after?

Thanks for the answers!
BR
KDS




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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-glpk
> 
> 



-- 
View this message in context: 
http://www.nabble.com/Tables-in-GNU-MathProg-tp21202101p22171904.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.






_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to