Application of iterative dynamic programming to time optimal control : Process operation and control