Automated method for selecting optimal digital pump operating strategy