You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix bug in dare so that it returns a stabilizing solution
The new implementation calls the routine
scipy.linalg.solve_discrete_are(A, B, Q, R)
which is included in scipy versions >= 0.11. The old implementation
using slycot did satisfy the Riccati equation, but did not return a
stabilizing solution. The scipy implementation apparently works
correctly, though. This change fixes#8.
Unit tests now make sure closed-loop eigenvalues lie inside
the unit circle.
Note: the scipy implementation handles only the case S = 0, E = I,
the default values. If S and E are specified, the old routine (using
slycot) is called. This passes the existing tests, but the tests
include only one simple case, so it would be good to test this more
extensively.
0 commit comments