I'se setup a problem for intlinprog, solutions are constrained to be binary:
lb = 0 0 0 0 0 0 0 0 0ub = 1 1 1 1 1 1 1 1 1
However this is what I get when I run intlingprog:
LP: Optimal objective value is 6.000000. Optimal solution found.Intlinprog stopped at the root node because the objective value is within a gap tolerance of the optimal value,options.TolGapAbs = 0 (the default value). The intcon variables are integer within tolerance,options.TolInteger = 1e-05 (the default value).ans = 0.5000 0.5000 0 0 0.5000 0.5000 0 0 0
Which is clearly a not integer solution within the tollerance.
What am I missing?
Best Answer