Text this: Discrete Optimization of Transmission Ratio of Two-speed AMT for Electric Vehicle