Profit yes, but not necessarily yield. Yield is not necessary king any longer.
It helps though!
CoP/tonne is what creates maximum Profit.
A good cost of production is one thing. Good marketing will help maximise profit. We sold wheat at £135/t and some at £203/t from 2020 harvest, and the rest in between the two.