I have a binary parameter "Asij" in my model. One of my constraint is like that:
Xijmt + Iijm(t-1) - Sijmt - Iijmt - TOTALs (Ni).(Asij).(Ysmt) = 0 for i=1,2,3; j=1,2,3; m=1,2; t=1,2,3; s=1,2,...,6
My problem is that I dont know how to deal with Asij. When I suppose that it is 0, my job is a bit easy but when I take it as a 1, I got toooooo many variables because s goes on 1 to 6. In excel solver model, I know there is an option as bin but I could not decide how can I write my constraints?
Can you help me?|||well you should make more columns with something like ifequal, ifgreater, iflessthan
and then the final calculation column
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment