# how can I find the distance between a point and a polyhedron?

I have a point and a polyhedron(defined by vertices) in same space($\mathbb{R}^n$, maybe $n=32$), how can I find the distance between them?

Check https://www-fourier.ujf-grenoble.fr/~..., page 421. Giac is shipped with sage

I ran the example code on page 422, but when I ran

`f:=simplify(1/2*l2norm(x*tran(A)-b)^2):;`

, it returned Error: Bad Argument Value.When

`x`

is defined as`[x_0,...,x_9]`

(no dots) the polynomial`f`

can be computed but`frank_wolfe`

remains unevaluated