Computing an Optimal Pitching Strategy in a Baseball At-Bat