發送短信: Optimal resource allocation