Originally posted by: KeerthivasanC
I have defined by variable this way:
TP1 = m.integer_var_dict(name = "TP1",keys=project)
Now, I want TP1 to only take the following values - [0,0.5,1,1.5,2]
But I am only able to do something like this in python:
for i in project:
TP1[i].set_domain([0,1,2,3])
How can I configure TP1 to only take a set of values from a list which has continuous values?
Thanks and Regards
#CPOptimizer#DecisionOptimization