Segmentation fault (core dumped): Everytime introduces an expression into my target objective, and the terminal exits and displays only this piece of information

113 views
Skip to first unread message

李亚楠

unread,
Mar 29, 2021, 10:30:22 PM3/29/21
to cvxpy
Hi, I recently came across a bug that I was having a hard time fixing it.

Everytime introduces the expression `(cp.diag(Y_c @ A @ R_c.T @ X.T) @ Q)` into my objective,  the terminal exits and displays only "Segmentation fault (core dumped)".

Is it caused by the dimension of the matrix is too large? where Y_c.shape=(190, 4), A.shape=(4, 4), R_c.shape=(43, 4), Q.shape=(190, 1) and all this four matrix is constant.
X is the cp.Variable() which shape (190, 43).

The  function source code can be found here

Any help would be much appreciated ! 


Reply all
Reply to author
Forward
0 new messages