There are two non-negative integer variables $q$ and $p$, where only one of them can take a positive value. To impose this relation, I write: \begin{align} q &\leq M(1 - y) \tag1 \\ p &\leq M(y) \tag2 \end{align}
where $y$ is binary and $M$ is a large number.
Is there a better way to model this relation, possibly without binary and/or big-M?