[Help-glpk] How can I define bounds for a two dimensional variable easil
From:
Raketenschnitzel
Subject:
[Help-glpk] How can I define bounds for a two dimensional variable easily?
Date:
Tue, 24 Jan 2012 09:42:09 -0800 (PST)
Hi there,
i just recently startet to get used to GLPK and right now I can't find help in the wikibooks or manuals, so I try it here.
I want to define constraints (especially upper bounds) for a two dimensional variable. In my case, the Variable is like that:
power1 power2 power3 ....
january
february
...
The specialty about this is the easy form of the constraint: one column its always the same number. Like that:
power1 power2 power3 ....
january c1 c2 c3
february c1 c2 c3
...
Is there an easy way to declare such a constraint in one line, or do I really have to make a table with an entry for each row and column?
Thx,
Raketenschnitzel
View this message in context: How can I define bounds for a two dimensional variable easily?
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.