I'm working on a convex quadratic separable min-cost flow problem with the following structure: $P = \{\frac{1}{2}x^tQx + qx : Ex = b, 0 \leq x \leq u\}$ But I'm stuck on deriving the KKT conditions to solve the problem. Can someone help me with the computation?