How to convert non-linear equation to linear equation [closed]
Solution 1:
You want to enforce $$B_{i,j} = 0 \implies S_{i,j} = 0$$ and $$B_{i,j} = 1 \implies 0.15 P_i \le S_{i,j} \le 4000$$ You can do so via linear big-M constraints, where $U_i$ is a small constant upper bound on $P_i$: \begin{align} 0 \le S_{i,j} &\le 4000 B_{i,j} \\ 0.15 P_i - S_{i,j} &\le 0.15 U_i(1-B_{i,j}) \end{align}