Non-DSLs for solving intertemporal optimization problems (not just for econ)