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
objective+=cvxpy.sum([cvxpy.norm(Q_sqrt_inv @ (x_states[n] -A @ x_states[n-1]), 1) ifhuberM<1e-3# Process terms: sum of ||Q^(-1/2)(x_n - A x_{n-1})||_1
322
-
elsecvxpy.sum(cvxpy.huber(Q_sqrt_inv @ (x_states[n] -A @ x_states[n-1]), huberM)) forninrange(1, N)])
323
-
318
+
R_sqrt_inv=np.linalg.inv(sqrtm(R))
319
+
# Process terms: sum of 1/2||Q^(-1/2)(x_n - A x_{n-1})||_2^2
320
+
objective=0.5*cvxpy.sum([cvxpy.sum_squares(Q_sqrt_inv @ (x_states[n] -A @ x_states[n-1])) forninrange(1, N)])
321
+
# Measurement terms: sum of sqrt(2)||R^(-1/2)(y_n - C x_n)||_1, per https://jmlr.org/papers/volume14/aravkin13a/aravkin13a.pdf section 6
0 commit comments