A data-driven approach to make optimal lead-time decisions