daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import scipy.integrate
  2. import dill
  3.  
  4. ## Restart the ode solver
  5. file_name='ode_instance.pkl'
  6. with open(file_name, "r") as ode_file:
  7.     ode_solver = dill.load(ode_file)
  8.  
  9. ode_solver.integrate(2)
  10. print ode_solver.t, ode_solver.y
RAW Paste Data
Top