Enviar por SMS: Computing maximal dual-feasible functions using a novel approach