Variable statement

‘’‘@variable(model,PRDint[o in O, f in F, p in P[f],j in U, t in TIME], lower_bound=0, upper_bound=1000, Int)’‘’

‘’‘@variable(model,PRD[o in O,f in F, p in P[f], j in U, t in TIME, o<=23 && f<=13 && p<=45]==PRDint[o,f,p,j,t]*bsize[f,p])’‘’’

bsize{f in F, p in P[f]} - parameter

Variable PRDint is used to force variable PRD to take values whom division with bsize gives 0 residual.

Is this a proper statement in Julia?

Thanks.
marco

It’s easier to help if you follow the advice I gave earlier:

2 Likes