Suppose a linear program that is defined as follows with decision variables $ w, x, y, z$ and parameters $a, b, c_j, d_i$.
$\min \sum_{I}^{} a x_{i} + \sum_{I}^{} b y_{i}$
$s.t.$
$x_{i} \geq w + \sum_{J}^{} c_{j} z_j - d_i \ \forall i \in I$
$y_{i} \geq d_i - w + \sum_{J}^{} c_{j} z_j \ \forall i \in I$
$x_{i}, y_{i} \geq 0 \ \forall i \in I$, $w \in \mathbb{R} $, $z_j \in \mathbb{R} \ \forall j \in J$
I get to the following with $u_i$ and $v_i$ as dual variables for the constraints
$\max - \sum_{I}^{} d_i u_{i} + \sum_{I}^{} d_i v_{i} $
$s.t.$
$u_{i} \leq a \ \forall i \in I$
$v_{i} \leq b \ \forall i \in I$
$ - \sum_{I}^{} u_{i} + \sum_{I}^{} v_{i} \leq 0$
$ - \sum_{J}^{} c_j u_{i} + \sum_{J}^{} c_j v_{i} \leq 0 \ \forall i \in I$
$u_{i}, v_i\geq 0 \ \forall i \in I$
but I am not sure how to correctly account for z and c of the primal. Is the above formulation complete and correct?