Application of iterative dynamic programming to problems with time-invariant parameters