Optimal Control Strategies for Trajectory Optimization with Applications to Continuous Solar Flight