Verification of Hybrid Systems via Mathematical Programming