Determination of optimal feed profile