Dear all,
I discovered that solving a YALMIP optimization problem using SDPT3 as a solver unexpectedly turns off all MATLAB warnings. Example code to reproduce:
---
clear all; close all; clc;
warning('on');
warning() % Output: All warnings have the state 'on'.
A = [-0.4 -0.02; -0.02 -0.6];
P = sdpvar(2, 2, 'symmetric');
constr = (P >= 1e-6) + (A'*P*A - P <= 0);
diagn = optimize(constr, [], sdpsettings('solver', 'sdpt3'));
warning() % Output: All warnings have the state 'off'.
---
The behaviour does not occur if I specify another solver, e.g., sedumi. Version information: SDPT3 4.0, MATLAB 8.5.0.197613 (R2015a), YALMIP 20150919.
Can this problem somehow be resolved?
Best regards,
Jurre H