<div id="comment:0"></div> Extend `MixedIntegerLinearProgram.get_values` so it can convert inexact integer values from numerical solvers to `ZZ` and `bool`, with tolerance checking. We apply it to one use of MIP in `sage.graphs`. Other fixes using the new option will be tracked in #32191. CC: @mkoeppe @tscrim @dimpase @DaveWitteMorris @seblabbe Component: **graph theory** Author: **David Coudert, Matthias Koeppe** Branch/Commit: **[`db83853`](https://github.com/sagemath/sagetrac-mirror/commit/db83853c6df0ed792b4b011b842cf5fd01444765)** Reviewer: **David Coudert** _Issue created by migration from https://trac.sagemath.org/ticket/32197_