Given a set $J$, I have the following constraint:
$w_j = y_j u \quad \forall j \in J$
where $y_j \in \mathbb{N}$ and $u \in \mathbb{R}⁺_0$. I would like to make this constraint linear.
Note: I am familiar with the linearization of this similar constraint when $y_j \in \{0, 1\} \quad \forall j \in J$ which could be
$w_j \leq u, \quad \forall j \in J$
$w_j \leq My_j, \quad \forall j \in J$
$w_j \geq u - M(1 - y_j), \quad \forall j \in J$.
However in my case, $y_j$ is not a binary variable but a integer non-negative variable.
Just so it is clear, $\mathbb{N}$ is the set of all integers including $0$ and $\mathbb{R}⁺_0$ is the set of all real non-negative numbers.