Dear experts,
I encountered the following problem while using CVX mosek to solve convex optimization problems. How can I solve it?
K_i =
1
------------------------------------------------------------------------------------------------------------------------用户K_i = 1
Starting parallel pool (parpool) using the ‘local’ profile …
Connected to the parallel pool (number of workers: 10).
ans =
1
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 1
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
2
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 2
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
3
ans =
4
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 4
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
5
ans =
6
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 6
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
7
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 7
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
8
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 8
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
9
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 9
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
ans =
10
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 10
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 3
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
------------------------------------------------------------------------------------------------------------------------蒙特卡洛MC_i = 5
CVX Warning:
Models involving “log” or other functions in the log, exp, and entropy
family are solved using an experimental successive approximation method.
This method is slower and less reliable than the method CVX employs for
other models. Please see the section of the user’s guide entitled
The successive approximation method
for more details about the approach, and for instructions on how to
suppress this warning message in the future.
Calling Mosek 9.1.9: 99127 variables, 24600 equality constraints
For improved efficiency, Mosek is solving the dual problem.
NOTE: custom settings have been set for this solver.
MOSEK Version 9.1.9 (Build date: 2019-11-21 11:34:40)
Copyright (c) MOSEK ApS, Denmark. WWW: mosek.com
Platform: Windows/64-X86
Problem
Name :
Objective sense : min
Type : CONIC (conic optimization problem)
Constraints : 24600
Cones : 12
Scalar variables : 25399
Matrix variables : 18
Integer variables : 0
Optimizer started.
Presolve started.
Linear dependency checker started.
Linear dependency checker terminated.
Eliminator started.
Freed constraints in eliminator : 0
Eliminator terminated.
Eliminator - tries : 1 time : 0.00
Lin. dep. - tries : 1 time : 0.02
Lin. dep. - number : 0
Presolve terminated. Time: 0.11
Problem
Name :
Objective sense : min
Type : CONIC (conic optimization problem)
Constraints : 24600
Cones : 12
Scalar variables : 25399
Matrix variables : 18
Integer variables : 0
Optimizer - threads : 24
Optimizer - solved problem : the primal
Optimizer - Constraints : 24588
Optimizer - Cones : 12
Optimizer - Scalar variables : 25387 conic : 25368
Optimizer - Semi-definite variables: 18 scalarized : 148608
Factor - setup time : 150.39 dense det. time : 39.41
Factor - ML order time : 49.38 GP order time : 0.00
Factor - nonzeros before factor : 3.02e+08 after factor : 3.02e+08
Factor - dense dim. : 0 flops : 4.99e+12
ITE PFEAS DFEAS GFEAS PRSTATUS POBJ DOBJ MU TIME
0 3.2e+01 1.2e+00 1.4e+01 0.00e+00 5.535567339e+00 -6.969099991e+00 1.0e+00 150.81
Optimizer terminated. Time: 156.95
Interior-point solution summary
Problem status : UNKNOWN
Solution status : UNKNOWN
Primal. obj: 0.0000000000e+00 nrm: 0e+00 Viol. con: 7e+00 var: 0e+00 barvar: 0e+00 cones: 0e+00
Dual. obj: 0.0000000000e+00 nrm: 0e+00 Viol. con: 0e+00 var: 1e+00 barvar: 0e+00 cones: 0e+00
Optimizer summary
Optimizer - time: 156.95
Interior-point - iterations : 1 time: 156.95
Basis identification - time: 0.00
Primal - iterations : 0 time: 0.00
Dual - iterations : 0 time: 0.00
Clean primal - iterations : 0 time: 0.00
Clean dual - iterations : 0 time: 0.00
Simplex - time: 0.00
Primal simplex - iterations : 0 time: 0.00
Dual simplex - iterations : 0 time: 0.00
Mixed integer - relaxations: 0 time: 0.00
Mosek error: MSK_RES_ERR_SPACE (Out of space.)
Status: Error
Optimal value (cvx_optval): NaN
Calling Mosek 9.1.9: 99127 variables, 24600 equality constraints
For improved efficiency, Mosek is solving the dual problem.
NOTE: custom settings have been set for this solver.
MOSEK Version 9.1.9 (Build date: 2019-11-21 11:34:40)
Copyright (c) MOSEK ApS, Denmark. WWW: mosek.com
Platform: Windows/64-X86
Problem
Name :
Objective sense : min
Type : CONIC (conic optimization problem)
Constraints : 24600
Cones : 12
Scalar variables : 25399
Matrix variables : 18
Integer variables : 0
Optimizer started.
Presolve started.
Linear dependency checker started.
Linear dependency checker terminated.
Eliminator started.
Freed constraints in eliminator : 0
Eliminator terminated.
Eliminator - tries : 1 time : 0.00
Lin. dep. - tries : 1 time : 0.02
Lin. dep. - number : 0
Presolve terminated. Time: 0.08
Problem
Name :
Objective sense : min
Type : CONIC (conic optimization problem)
Constraints : 24600
Cones : 12
Scalar variables : 25399
Matrix variables : 18
Integer variables : 0
Optimizer - threads : 24
Optimizer - solved problem : the primal
Optimizer - Constraints : 24588
Optimizer - Cones : 12
Optimizer - Scalar variables : 25387 conic : 25368
Optimizer - Semi-definite variables: 18 scalarized : 148608
Factor - setup time : 150.64 dense det. time : 38.36
Factor - ML order time : 50.80 GP order time : 0.00
Factor - nonzeros before factor : 3.02e+08 after factor : 3.02e+08
Factor - dense dim. : 0 flops : 4.99e+12
ITE PFEAS DFEAS GFEAS PRSTATUS POBJ DOBJ MU TIME
0 3.2e+01 1.2e+00 1.4e+01 0.00e+00 5.535567339e+00 -6.969099991e+00 1.0e+00 151.14
Optimizer terminated. Time: 156.77
Interior-point solution summary
Problem status : UNKNOWN
Solution status : UNKNOWN
Primal. obj: 0.0000000000e+00 nrm: 0e+00 Viol. con: 8e+00 var: 0e+00 barvar: 0e+00 cones: 0e+00
Dual. obj: 0.0000000000e+00 nrm: 0e+00 Viol. con: 0e+00 var: 1e+00 barvar: 0e+00 cones: 0e+00
Optimizer summary
Optimizer - time: 156.77
Interior-point - iterations : 1 time: 156.77
Basis identification - time: 0.00
Primal - iterations : 0 time: 0.00
Dual - iterations : 0 time: 0.00
Clean primal - iterations : 0 time: 0.00
Clean dual - iterations : 0 time: 0.00
Simplex - time: 0.00
Primal simplex - iterations : 0 time: 0.00
Dual simplex - iterations : 0 time: 0.00
Mixed integer - relaxations: 0 time: 0.00
Mosek error: MSK_RES_ERR_SPACE (Out of space.)
{错误使用 cvx_mosek
无法识别的字段名称 “sol”。
Error cvx_mosek
Unrecognized field name ‘sol’