Solver parameters¶
Solver parameters are technical parameters that modify the solver procedure. They are passed directly to scipy.integrate.solve_ivp. All of the parameters have default values which are used unless specified otherwise.
- solver.method¶
- Type:
string
- Default:
“RK45”
Integration method to use. Alternatives are “RK45”, “RK23, “DOP853”, “RADAU”, “BDF” and “LSODA”.
- solver.rtol¶
- Type:
number
- Default:
1e-3
Relative tolerance. The solver keeps the local error estimates less than atol + rtol * abs(y).
- solver.atol¶
- Type:
number
- Default:
1e-6
Absolute tolerance. The solver keeps the local error estimates less than atol + rtol * abs(y).
- solver.first_step¶
- Type:
number
- Default:
0
Initial step size. Default is 0 which means that the algorithm should choose.
- solver.max_step¶
- Type:
number
- Default:
0
Maximum allowed step size. Default is 0 which means that the step size is not bounded and determined solely by the solver.