Hi Guys I find myself in need of a constraint that should look like this:
s.t. phase{u in U, j in 1..3}: sum{s in S} ((ps[s] * y[s,j,u]) / o[s,u]) = d[j,u];
But since division with o[s,u] is not linear I can't do that.
So can anyone explain how one could make the constraint linear?
set S; set U; param ps {s in S}, integer, > 0; var y {s in S, j in 1..3, u in U}, binary; var o {s in S, u in U}, integer, >= 0;
var d {j in 1..3, u in U}, integer, >= 0;