Originally posted by: SystemAdmin
[jin82873053 said:]
[quote author=alain.chabrier link=topic=723.msg2196#msg2196 date=1228122970]
Hi,
Some starting point:
code
range B = 1..
...
...
Alain
It is very kind of you,alain. But maybe I haven't explained my question clearly.
in my problem, range B- range C ,
if range B =1..5;
range C = 1..3;
I want to get B-C 1-1=0,1-2=-1,1-3=-2;
2-1=1,2-2=0,2-3=-1;
....
5-1=4,5-2=3,5-3=2;
the Output[A][B] in ex-problem have to change to Output[A][B-C]
and in subject to
ct-ex:
Output[A][B]*Handcost[A]<=22.5 ...<br /> have to change to
ct-now:
Output[A][B-C]*Handcost[A][1+C]<=22.5;<br /> if range B=1..3;
then 1+C is 2,3,4
I wish i explained my question clearly this time....
thank you
#DecisionOptimization#OPLusingCPLEXOptimizer