daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 58 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top