Hi,
I'm trying to implement an SDP Mixed Integer (binary) problem using yalmip.
This is my example code
clear all
clc
c=rand(3,1);
x = binvar(3,1);
A = [-1 2 0;-3 -4 1;0 0 -2];
P = sdpvar(3,3);
a = sdpvar(3,1);
% Define LMI
F = [P >= 0, A'*P+P*A <= 0];
% Define MI elementwise-inequality
F = F + set(a<=9.*x);
F = F + set(a>=-9.*x);
F = [F, trace(P) == 1];
solvesdp(F,(c+a)'*(P)*(c+a));
Pfeasible = double(P);
The routine returns 'No suitable solvers'.
Also if I specify to use 'bnb' solver, I'm not able to obtain a result.
Am I doing something wrong?
Thanks