Hi all,
I have n matrices (p\times p) as variables that need to be PSD and I need to minimize this objective function over the matrices A_i. S_i is known and \lambda is the regularizer. Thanks
Have you tried reading the CVX User’s Guide? You can specify this in CVX almost exactly as written. Declare all your Ai to be psd. Use log_det for log det. You can specify 1 norm. You can sum all the terms and use that for your objective function, and you’re done. I would note that although you can solve this as one optimization problem as written, you appear to have n uncoupled problems, so alternatively you could formulate and solve your n problems separately.
Good point, but subtle enough that it would have warranted pointing out in your1st post of this thread.
But actually, log_det also constrains its argument to be symmetric, so it would seem that specifying symmetric wouldn’t be needed either, unless it is somehow needed due to the extra (3rd) dimension on A.