Testing if a point is inside a convex polytope formed by halfspaces in n-dimension
Few votes (3) and no answers. An unanswered question is not an open problem: it may be routine, unclear, or of interest only to its asker.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
Assume we have a convex polytope that is formed by the intersection of \(k\)-halfspaces in \(\mathbb{R}^{n}\).
$$ a_{0,0}x^{n-1} + {a}_{0,1}x^{n-2} + ... a_{0,n-1} \leq 0 $$$$ a_{1,0}x^{n-1} + {a}_{1,1}x^{n-2} + ... a_{1,n-1} \leq 0 $$$$ a_{2,0}x^{n-1} + {a}_{2,1}x^{n-2} + ... a_{2,n-1} \geq 0 $$$$ .... $$$$ a_{k-1,0}x^{n-1} + {a}_{k-1,1}x^{n-2} + ... a_{k-1,n-1} \leq 0 $$
How do I quickly and efficiently test that some point \(x \in \mathbb{R}^n\) lies inside this polytope ?
I would ideally like this computation to be done as efficiently as possible ?
(What I know so far ? If there were \(k\) points in \(\mathbb{R}^n\) forming the convex hull and we have to test if \(x\) lies inside this hull, then we can frame this as a linear programming problem. I was wondering if the same treatment applies when they are halfspaces also ?)
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.