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 ?)