The decision version of the problem Integar Linear Programming is the following:
- Input: two matrices $A\in \mathcal{M}_n(\mathbb{Z})$ and $B\in \mathcal{M}_{n,1}(\mathbb{Z})$.
- Question: is there a matrix $X\in \mathcal{M}_{n,1}(\mathbb{Z})$ such that $AX\leqslant B$? (the inequality being component by component).
This is a well-known $\mathsf{NP}$-complete problem, but I struggle to prove that it is in $\mathsf{NP}$.
An obvious certificate for a positive instance $(A, B)$ would be such a $X$, but there is no guarantee that the size of such an $X$ is polynomial in the size of the input (here, we can consider the size of the instance $(A, B)$ to be $n^2\log_2(\max(|a_{ij}|, |b_i|)$ and the size of $X$ to be $n\log_2(\max |x_i|))$.
What I expect is that if there is such an $X$, there is one with coefficients not too big, but I don't know how to prove this.
While this is a computer science formulation, I am sure that there is some maths behind this to prove the result, so maybe this question should be asked on maths.SE?
This document states:
ILP ∈ NP. (Not obvious! Need a little math to prove it. Proof omitted.)
and this one states:
Unlike with most NP-complete problems, it is not that easy to see that ILP ∈ NP, since a witness need not necessarily have polynomial size. This is the case though, but the reasons are beyond the scope of the course.
But none gives further references.
(Note: I think that this problem is an answer to my previous question)