Determining a Checkout Register Opening Policy to Maximize Profit