Text this: Optimal Midcourse Guidance with Terminal Relaxation and Range Convex Optimization