Unfortunately, I confront with a disciplined convex programming error (MATRIX_FRAC is convex and nonmonotonic, so its input must be affine). I do not know how to rephrase the second term (out of three) of the optimization problem to be understandable by CVX. Could you please help me.
(The other variables which appear in the optimization problem are either constant scalars or constant matrices)
Thank you for the reply.
I plotted each term versus positive values of J1_part1 and checked the convexity. I also checked the second derivative by hand calculations.
I haven’t checked in higher dimensions, but in 1 dimension, the 2nd term can only be convex over a limited portion of the reals. That is likely to be problematic for prospects of representing in CVX, even though you have added a constraint on J1part1.
The most convenient way is plotting it versus positive values of J1_part1:
si =
49.8066
51.8517
zigmabarlocalnormal(2:num,2:num)=
42.6962 44.1458
44.1458 51.8904
constant =
0.0500
eye(num-1)=
1 0
0 1
Using the above values as the parameters of the second term of the optimization problem, this figure always shows a convex behavior for positive values of optimization variable.
I have also tried a mathematical proof for the second derivative but the math gets a bit complicated to bring here.