Im trying this code
m.minimize(30sum(x["Product A",j])+28sum(I["Product B",j])+0.9sum(I["Product A",j])+0.75sum(I["Product B",j])for i in Products)
and it keeps giving me DOcplexException: cannot convert to expression: <generator object error
please help me break this down or let it work
works fine and gives