How Can fix the problem

Uncategorized
Jul 15, 2021
M

What does the solver and CVX output show?

It sounds like the problem is (has be determined by the solver to be) infeasible. Except for section 1, the advice in https://yalmip.github.io/debugginginfeasible also applies to CVX.

M
Replying to #21

Calling SeDuMi 1.34: 25 variables, 6 equality constraints

SeDuMi 1.34 (beta) by AdvOL, 2005-2008 and Jos F. Sturm, 1998-2003.
Alg = 2: xz-corrector, Adaptive Step-Differentiation, theta = 0.250, beta = 0.500
eqs m = 6, order n = 7, dim = 26, blocks = 4
nnz(A) = 60 + 0, nnz(ADA) = 24, nnz(L) = 15
it : by gap delta rate t/tP t/tD* feas cg cg prec
0 : 5.13E+00 0.000
1 : -3.06E-01 1.38E+00 0.000 0.2682 0.9000 0.9000 1.76 1 1 2.1E+00
2 : -3.28E-02 4.69E-01 0.000 0.3413 0.9000 0.9000 1.59 1 1 9.7E-01
3 : 7.27E-01 1.75E-01 0.000 0.3735 0.9000 0.9000 -0.15 1 1 7.3E-01
4 : 3.35E+00 5.01E-02 0.000 0.2856 0.9000 0.9000 -0.50 1 1 4.6E-01
5 : 1.20E+01 1.36E-02 0.000 0.2724 0.9000 0.9000 -0.77 1 1 3.8E-01
6 : 3.60E+01 3.16E-03 0.000 0.2318 0.9000 0.9000 -0.84 1 1 2.9E-01
7 : 1.36E+02 8.55E-04 0.000 0.2704 0.9000 0.9000 -0.93 1 1 2.9E-01
8 : 4.66E+02 2.20E-04 0.000 0.2572 0.9000 0.9000 -1.01 1 1 2.8E-01
9 : 1.67E+03 5.94E-05 0.000 0.2703 0.9000 0.9000 -1.00 1 1 2.7E-01
10 : 5.91E+03 1.64E-05 0.000 0.2760 0.9000 0.9000 -1.00 1 1 2.6E-01
11 : 2.08E+04 4.59E-06 0.000 0.2799 0.9000 0.9000 -1.00 1 1 2.5E-01
12 : 7.25E+04 1.30E-06 0.000 0.2833 0.9000 0.9000 -1.00 1 1 2.5E-01
13 : 2.52E+05 3.71E-07 0.000 0.2854 0.9000 0.9000 -1.00 1 1 2.5E-01
14 : 8.76E+05 1.07E-07 0.000 0.2873 0.9000 0.9000 -1.00 1 1 2.5E-01
15 : 3.01E+06 3.08E-08 0.000 0.2888 0.9000 0.9000 -1.00 1 1 2.5E-01
16 : 1.04E+07 8.94E-09 0.000 0.2903 0.9000 0.9000 -1.00 1 1 2.4E-01
17 : 3.53E+07 2.61E-09 0.000 0.2918 0.9000 0.9000 -1.00 1 1 2.4E-01
18 : 1.23E+08 7.66E-10 0.000 0.2935 0.9000 0.9000 -1.00 1 1 2.4E-01
19 : 4.04E+08 2.27E-10 0.000 0.2959 0.9000 0.9000 -1.00 1 2 2.4E-01
20 : 1.43E+09 6.70E-11 0.000 0.2955 0.9000 0.9000 -1.00 2 2 2.4E-01
21 : 4.58E+09 6.36E-12 0.284 0.0950 0.0000 0.9000 -1.00 2 2 2.4E-01
22 : 2.32E+10 1.22E-12 0.000 0.1921 0.9000 0.9103 -1.08 2 2 2.5E-01
23 : 7.16E+10 3.26E-13 0.000 0.2664 0.8939 0.9000 -1.05 2 2 2.4E-01
24 : 3.39E+11 7.93E-14 0.000 0.2434 0.9000 0.9048 -1.00 4 2 2.4E-01
25 : 1.18E+12 2.18E-14 0.000 0.2745 0.9000 0.9017 -1.02 4 4 2.4E-01
Run into numerical problems.

Primal infeasible, dual improving direction found.
iter seconds |Ax| [Ay]_+ |x| |y|
25 1.1 9.2e-13 7.6e-13 4.9e-01 1.9e+01

Detailed timing (sec)
Pre IPM Post
2.760E-01 8.550E-01 3.200E-02
Max-norms: ||b||=1, ||c|| = 7.071068e-01,
Cholesky |add|=1, |skip| = 0, ||L.L|| = 1.

Status: Infeasible
Optimal value (cvx_optval): +Inf

M

Follow the advice in the previously provided link.