0 / 60 seg.

However, in practice, this computation can be vastly accelerated if we assume that $\mathcal{P}(q)$ is a strictly decreasing function, that is to say that the price per unit strictly decreases when the order quantity increases.