Obtaining the convex hull of large number of convex sets #1088
-
I have 5 constrained sets, actually convex sets, and I need to obtain the convex hull of them. So I follow an approach as below.
This is perfectly fine, and I can get the convex hull without any problem. Imagine I have 100 constrained sets for example, do I need to still use the command Instead of typing
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You are generating them somewhere, so simply put all in a cell and then do hull(these{:}) Although it sounds like a very expensive representation if the sets actually look like this. Just compute all the vertices explicitly and then corresponding convex hull vertices, and then generate the constraint |
Beta Was this translation helpful? Give feedback.
You are generating them somewhere, so simply put all in a cell and then do hull(these{:})
Although it sounds like a very expensive representation if the sets actually look like this. Just compute all the vertices explicitly and then corresponding convex hull vertices, and then generate the constraint