Copy one_min objective function to example