Hello everybody,
is it possible, in mathprog, to specify that var values should be contained
in a defined set?

Actually my var declaration is:
var p {i in C} >=0 <=1;

but in my problem vars are not in a continous interval but they're more
like:
#MODEL
set S;
var p {i in C} in S; #this tell the solver that p_i values are to be taken
from set S

s.t. ...

#DATA
set S:= s1 s2

Is it possible to obtain something like this in mathprog, and if not, could
please point me to a tool able to solve such kind of problem?

Thanks,
Luca
-- 
View this message in context: 
http://www.nabble.com/Constraining-var-values-to-a-specified-set-tf4880498.html#a13967077
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