I have a linear program
$$\max c^T x \text{ s.t. } A x\leq b, x\geq 0.$$
I would like a solution that, among all optimal solutions, has the largest number of integer variables. For example, if the objective is $x_1+x_2+x_3$, and two feasible solutions are $0.5,0.5,0.5$ and $1,0,0.5$, I would like the solver to return $1,0,1/2$. Is there a LP/IP/MIP solver that can do this?