given a LP half-integral solution from the minimum vertex cover problem with x € {0, 1/2 , 1} I'm looking for an algorithm that returns an integer solution with x € {0,1} that is optimal.
Obviously I can't just round up all x, since that would yield too many vertices in the minimum cover set and thus wouldn't be optimal.
So I have to decide which vertices with x=1/2 should be 0 and which should be 1.
I'm thinking about looking at the neighbours of a given vertex with x=1/2, so I can decide whether it's in the set or not but I think I'm missing something here.
Any hints are appreciated :)