Have the ability to optimize components of the rocket to achieve desired effects in the flight (max/specific altitude, max/specific velocity, etc.).
A limit to the scope of the allowable changes would probably be desired (if not imperative) to keep within a reasonable computation period, perhaps some sort of maximum relative change from the current rocket state.