Originally posted by: SystemAdmin
[jin82873053 said:]
at first , thank you everybody here, I learned a lot from this forum.and I keep on growing^.^
I wrote a programe and get the answer Output[P][bminusc]
and the code like
range P = 1..3;
range B =1..7;
range C = 1..3;
{int} bminusc = {b-c| b in B,c in C};
dvar int+ Output[P][bminusc];
now I get the Output from Output[P][-1], Output[P][0], Output[P][1].....Output[P][7],
if I want to get the Output of range bminusc>=1, it means I only want to get the answer Output[P][1] to Output[P][7],
shall I write a execute to do it? and how does it like?
waiting for your help
thanks a lot.
Jin
#DecisionOptimization#OPLusingCPLEXOptimizer