Commands for offline calculation of dynamic programming