S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
It is currently Sat, 25 May 2013 14:57:30 UTC

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Determine if a rectangular solid is within polyhedron?
PostPosted: Fri, 1 Apr 2011 15:52:41 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame

Joined: Tue, 20 Nov 2007 04:36:12 UTC
Posts: 826
Location: Las Cruces
Find an efficient set of constraints that determine whether an axis-aligned rectangular solid is inside a polyhedron. Be more economical than writing constraints that say each corner of the rectangular solid is inside it.

I found a solution to this problem on the web, but there was no proof of the answer. Can anyone explain why the following constraints would work?

Let \mathbf{u} and \mathbf{l} be n dimensional vectors with \mathbf{u} < \mathbf{l} ( The "<" means a component-by-component relation.) Let \mathbf{R} be the rectangular solid defined by the vectors \{ {\mathbf{x} : \mathbf{l} \leq  \mathbf{x} \leq \mathbf{u} \} (So \mathbf{l} is the "lower corner" and \mathbf{u} is the "upper" corner). Let \mathbf{P} be the polyhedron defined by the set of vectors
\{ \mathbf{x}: \mathbf{A} \mathb{x} \leq \mathbf{b}\} where \mathbf{A} is a given matrix with n row entries and \mathbf{b} is a given vector of the same column dimension as \mathbf{A}.

Define \mathbf{A^+} to be the matrix with entries \mathbf{A}^+_{i,j} = max\{ \mathbf{A}_{i,j}, 0\}.

Define \mathbf{A^-} to be the matrix with entries \mathbf{A}^-_{i,j} = max\{ -\mathbf{A}_{i,j}, 0\}.

\mathbf{R} \subseteq \mathbf{P} iff \mathbf{A^}^+ \mathbf{u} - \mathbf{A}^- \mathbf{l} \leq \mathbf{b}


Top
 Profile  
 
 Post subject: Re: Determine if a rectangular solid is within polyhedron?
PostPosted: Fri, 1 Apr 2011 16:46:59 UTC 
Offline
Moderator
User avatar

Joined: Mon, 29 Dec 2008 17:49:32 UTC
Posts: 6009
Location: 127.0.0.1, ::1 (avatar courtesy of UDN)
tashirosgt wrote:
Find an efficient set of constraints that determine whether an axis-aligned rectangular solid is inside a polyhedron. Be more economical than writing constraints that say each corner of the rectangular solid is inside it.

I found a solution to this problem on the web, but there was no proof of the answer. Can anyone explain why the following constraints would work?

Let \mathbf{u} and \mathbf{l} be n dimensional vectors with \mathbf{u} < \mathbf{l} ( The "<" means a component-by-component relation.) Let \mathbf{R} be the rectangular solid defined by the vectors \{ {\mathbf{x} : \mathbf{l} \leq  \mathbf{x} \leq \mathbf{u} \} (So \mathbf{l} is the "lower corner" and \mathbf{u} is the "upper" corner). Let \mathbf{P} be the polyhedron defined by the set of vectors
\{ \mathbf{x}: \mathbf{A} \mathb{x} \leq \mathbf{b}\} where \mathbf{A} is a given matrix with n row entries and \mathbf{b} is a given vector of the same column dimension as \mathbf{A}.

Define \mathbf{A^+} to be the matrix with entries \mathbf{A}^+_{i,j} = max\{ \mathbf{A}_{i,j}, 0\}.

Define \mathbf{A^-} to be the matrix with entries \mathbf{A}^-_{i,j} = max\{ -\mathbf{A}_{i,j}, 0\}.

\mathbf{R} \subseteq \mathbf{P} iff \mathbf{A^}^+ \mathbf{u} - \mathbf{A}^- \mathbf{l} \leq \mathbf{b}


I think you want \mathbf{l}<\mathbf{u} instead of the other way round (otherwise your cuboid is empty).

The left hand side of each constraint A_i^+u-A^-_il\leq b_i is the largest possible A_iv as v ranges over the vertices v_j=u_j\text{ or }l_j, by the choice of A^+ and A^- (if the coefficient is negative, choose the lower so it subtracts less, and if the coefficient is positive, choose the upper so it adds more).

_________________
\begin{aligned}
Spin(1)&=O(1)=\mathbb{Z}/2&\quad&\text{and}\\
Spin(2)&=U(1)=SO(2)&&\text{are obvious}\\
Spin(3)&=Sp(1)=SU(2)&&\text{by }q\mapsto(\mathop{\mathrm{Im}}\mathbb{H}\ni p\mapsto qp\bar{q})\\
Spin(4)&=Sp(1)\times Sp(1)&&\text{by }(q_1,q_2)\mapsto(\mathbb{H}\ni p\mapsto q_1p\bar{q_2})\\
Spin(5)&=Sp(2)&&\text{by }\mathbb{HP}^1\cong S^4_{round}\hookrightarrow\mathbb{R}^5\\
Spin(6)&=SU(4)&&\text{by the irrep }\Lambda_+\mathbb{C}^4
\end{aligned}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2011 phpBB Group.
Copyright © 1999-2013 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA