Infinite Dimensional Optimization Problems In Ai