Demo entry 6734165

matlab

   

Submitted by anonymous on Apr 19, 2018 at 16:04
Language: Matlab. Code size: 2.4 kB.

Calling SDPT3 4.0: 6 variables, 3 equality constraints
------------------------------------------------------------

 num. of constraints =  3
 dim. of linear var  =  6
*******************************************************************
   SDPT3: Infeasible path-following algorithms
*******************************************************************
 version  predcorr  gam  expon  scale_data
    NT      1      0.000   1        0    
it pstep dstep pinfeas dinfeas  gap      prim-obj      dual-obj    cputime
-------------------------------------------------------------------
 0|0.000|0.000|1.1e+01|5.1e+00|6.0e+02|-7.000000e+01  0.000000e+00| 0:0:00| chol  1  1 
 1|0.912|1.000|9.4e-01|4.6e-02|6.5e+01|-5.606627e+00 -2.967567e+01| 0:0:00| chol  1  1 
 2|1.000|1.000|1.3e-07|4.6e-03|8.5e+00|-2.723981e+00 -1.113509e+01| 0:0:00| chol  1  1 
 3|1.000|0.961|2.3e-08|6.2e-04|1.8e+00|-4.348354e+00 -6.122853e+00| 0:0:00| chol  1  1 
 4|0.881|1.000|2.2e-08|4.6e-05|3.7e-01|-5.255152e+00 -5.622375e+00| 0:0:00| chol  1  1 
 5|0.995|0.962|1.6e-09|6.2e-06|1.5e-02|-5.394782e+00 -5.409213e+00| 0:0:00| chol  1  1 
 6|0.989|0.989|2.7e-10|5.2e-07|1.7e-04|-5.399940e+00 -5.400100e+00| 0:0:00| chol  1  1 
 7|0.989|0.989|5.3e-11|5.8e-09|1.8e-06|-5.399999e+00 -5.400001e+00| 0:0:00| chol  1  1 
 8|1.000|0.994|2.8e-13|4.3e-11|2.7e-08|-5.400000e+00 -5.400000e+00| 0:0:00|
  stop: max(relative gap, infeasibilities) < 1.49e-08
-------------------------------------------------------------------
 number of iterations   =  8
 primal objective value = -5.39999999e+00
 dual   objective value = -5.40000002e+00
 gap := trace(XZ)       = 2.66e-08
 relative gap           = 2.26e-09
 actual relative gap    = 2.21e-09
 rel. primal infeas (scaled problem)   = 2.77e-13
 rel. dual     "        "       "      = 4.31e-11
 rel. primal infeas (unscaled problem) = 0.00e+00
 rel. dual     "        "       "      = 0.00e+00
 norm(X), norm(y), norm(Z) = 4.3e+00, 1.3e+00, 1.9e+00
 norm(A), norm(b), norm(C) = 6.7e+00, 9.1e+00, 5.4e+00
 Total CPU time (secs)  = 0.38  
 CPU time per iteration = 0.05  
 termination code       =  0
 DIMACS: 3.6e-13  0.0e+00  5.8e-11  0.0e+00  2.2e-09  2.3e-09
-------------------------------------------------------------------
 
------------------------------------------------------------
Status: Solved
Optimal value (cvx_optval): -5.4

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).