Optimisation of production regimes