GRASP in Switching Input Optimal Control Synthesis