Hello,
I have written a simplified problem of my actual problem in the file attached to this message. It is a mixed integer(binary) programming.
I have two questions, first of them is why I cannot solve it with gurobi (eve when I say to do so) and it is solved with the YALMIP integer branch & bound instead.
And the second question is why I am getting better solutions in the examples 2 and 3 that in the 4 when it does not make sense as 2 and 3 are more restricted?
I am pretty sure that the answer of both questions is because I am doing something wrong.
Thanks in advance,
Ignacio
>> which gurobi
>> yalmip('ver')
dir('C:\Program Files (x86)\Gurobi\win32\bin')
cons
max((A_f*e))
solvesdp(cons,max((A_f*e)),ops)
cons=[cons implies(delta(ii,1), [w(1,ii) == w(2,ii), etc]),
etc]