ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 24 Jul 2023 19:41:56 +0200how can I find the distance between a point and a polyhedron?https://ask.sagemath.org/question/70097/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?Fri, 14 Jul 2023 21:45:27 +0200https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/Comment by achrzesz for <p>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?</p>
https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70837#post-id-70837When `x` is defined as `[x_0,...,x_9]` (no dots) the polynomial `f` can be computed but `frank_wolfe` remains unevaluatedMon, 24 Jul 2023 19:41:56 +0200https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70837#post-id-70837Comment by house_fz for <p>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?</p>
https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70822#post-id-70822I 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.Mon, 24 Jul 2023 16:00:58 +0200https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70822#post-id-70822Comment by achrzesz for <p>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?</p>
https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70181#post-id-70181Check https://www-fourier.ujf-grenoble.fr/~parisse/giac/cascmd_en.pdf, page 421.
Giac is shipped with sageSat, 15 Jul 2023 12:17:55 +0200https://ask.sagemath.org/question/70097/how-can-i-find-the-distance-between-a-point-and-a-polyhedron/?comment=70181#post-id-70181