Hi Johan,
I'm trying to restrict binary variables in this way:
clear
bt = bt(2, 2);
stc = [bt(1,2) + bt(2, 1) == 1];
obj = 2*bt(1, 2) + bt(2, 1);
solvesdp(stc, obj)
Why is it infeasible with CPLEX? It seems that bt(1, 2) == 0 and bt(2, 1) == 1 could be a feasible solution.
Thanks for your help in advance.