McDonald's uses machine-learning models to set 'optimal prices' for menu items at individual restaurants, analyzing customer willingness to pay and competitor pricing. The system has widened price gaps between nearby locations, with franchisees reportedly pressured to follow recommendations despite officially setting their own prices.