I was wondering if someone could explain why Mathematica is stating the optimal vector is {1,0} instead of {0,0.5} in the following invocation of LinearOptimization:
LinearOptimization[
x + y, {x + y >= 1/2, x >= 0, y >= 0}, {x \[Element] Integers, y}]
{x -> 1, y -> 0.}
Wow, thatβs a real humdinger! First I verified that LinearOptimization is indeed minimizing the objective (it correctly flags it as unbounded if I change the sign of the objective). I then tried changing the β1/2β to β0.5β, then 0.01, still getting the same answer as you did. Then I tried β1.01β, and got