Bang‐Bang solution of nonlinear time‐optimal control problems using a semi‐exhaustivesearch