Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scipy.integrate
- import dill
- ## Restart the ode solver
- file_name='ode_instance.pkl'
- with open(file_name, "r") as ode_file:
- ode_solver = dill.load(ode_file)
- ode_solver.integrate(2)
- print ode_solver.t, ode_solver.y
Add Comment
Please, Sign In to add comment