Given a set of linear inequalities $Ax \leq b$ let $P = \text{conv}\{x \in \{0,1\}^n \mid A x \leq b \}$ be the convex hull of all binary vectors that satisfy the given inequalities. I am interested in the hardness of computing the dimension of the polytope $P$.
Equivalently we can formulate this as the decision problem by asking whether the dimension of $P$ is $m$ for some $0 \leq m \leq n$. To prove that the dimension is indeed $m$, we need to show that
- There are $m+1$ affinely independent vectors in $P$ which yields that the dimension is at least $m$.
- There are $n-m$ independent equalities that are satisfied by $P$ which yields that the dimension is at most $m$.
I could not find any literature that considers this problem. Also I cannot think of a reduction to or from another problem.
Answer thanks to Neil Young:
Condition 1 can be checked in polynomial time while this is not obvious for Condition 2. Therefore the problem "is the dimension of $P$ at least $m$?" is in NP and similarly the problem "is the dimension at most $m$?" is in co-NP.
The decision problem "is $P$ empty?" is well known to be NP-hard. This problem can be reduced to the decision of dimension as follows: Add $m$ additional free variables to $P$ to obtain $P'$. Then $P$ is not empty iff the dimension of $P'$ is at least $m$. Therefore "is $P$ empty?" can be reduced to "is the dimension of $P'$ at least $m$?".
Together we obtain that "is the dimension of $P$ at least $m$?" is NP-complete and as a result that "is the dimension of $P$ equal $m$?" is NP-hard.
However, if we additionally assume that $P$ is non-empty then this reduction does not work. It is unclear to me whether the problem remains NP-complete.
(Edit thanks to Neal Young: Given a feasible solution, finding a second, different, feasible solution is NP-hard. And since two different vectors are affinely independent deciding "is the dimension of $P$ at least $1$?" is NP-hard for non-empty $P$. Again, by adding free variables, it follows that deciding "is dimension of $P$ at least $m$?" is NP-hard even for non-empty $P$)
Originally, my interest in this problem arose from studying the convex hull of the feasible set of an ILP corresponding to a combinatorial optimization problem. Such polytopes have some additional structure and the general "proof" from above does not hold. So my follow-up question is:
Are there examples of combinatorial optimization problems where it is hard to compute the dimension of the convex hull of all feasible solutions and where the set of feasible solutions is non-empty? And related: are there examples where it is hard to decide whether a valid inequality defines a facet (maybe even where the polytope is full dimensional and the facet has dimension $n-1$)?