Adaptive algorithms creating new ways to optimise production