Linear Optimal Control Problems and Generalized Linear Programs