How do I solve this optimisation problem?
$$W = \left(\frac{n(X-Y-Z)p}{Zq}\right)^{1/a},\, a>0$$
$\operatorname{Max}\{ W\}$, subject to $0\leq n \leq 1$, $0\leq Y \leq X$ and $Z \leq Z_{max}$
What is the optimum value of $n$ and $Y$ in the equation?
If i add another constant, it is possible to solve another constants: $Z \leq Z_{max}$