I have a question about a problem I am having in my constraint, the constraint is the following
subject to Inventario_BH40 {(fa,t) in SETD11}:
if t=1 then -sum {(bm,col) in PATRON} PATRONES40[bm,col] * BMC[bm,col,fa,t] + sum{(bh,fa,t1) in SETD2 :t1=1 and t1=t and bh=1} IFBH[bh,fa,t1] - IIBH[bh,fa] + sum{(j,k,t) in SETD2:j=1 and k=fa} Y[j,k,t]
else -sum {(bm,col) in PATRON} PATRONES40[bm,col] * BMC[bm,col,fa,t] + sum{(bh,fa,t1) in SETD2 :t1>1 and t1=t and bh=1} IFBH[bh,fa,t1] - IFBH[bh,fa,t1-1] + sum{(j,k,t1) in SETD2:j=1 and k=fa and t1=t} Y[j,k,t1] = 0;
modelo_cortes.mod, line 71 (offset 2413):
bh is undefined
modelo_cortes.mod, line 72 (offset 2610):
t1 is not defined
modelo_cortes.mod, line 72 (offset 2610):
bh is undefined