Yes, you can. But odeint is clearly not intended for DDE. There are two options for solving DDE with odeint:
- You consider x and its discretized history as dependent variables and use steppers directly.
- You only consider x as a dependent variable and pass the history using a system function (your rhs). But in this case, you should only use steppers that evaluate the state when multiplying timestamps, such as Euler or RK2.
, , , .