how can I add this constraint?
for i in N:
for e in M:
b[i][e]=arctan(P[i] - Pc[i][e] * x [i,e])
where x is the binary variable, Pc is the decision variable, and P is a constant.
error (TypeError: must be real number, not gurobipy.LinExpr)
Please sign in to leave a comment.