Uniformly sampling region defined by linear constraints
Show older comments
I'm trying to uniformly sample the (bounded) feasible region defined by some linear constraints.
At the moment, my plan is to
- Remove redundant constraints using qhull
- Find vertices of polytope defined by the non-redundant constraints
- Use delaunayn to find the unique simplices that make up the polytope
- Find the volume of each simplex to determine how densely each simplex should be sampled
- Uniformly sample each simplex according to this scheme
This seems a bit overly complicated. I sort of just mashed together some of the techniques/tools I'm vaguely familiar for this method. Is there a more 'direct' or better way to achieve the same thing?
Note: I intend this for fairly low (<10) dimensional problems. The number of constraints would also likely be low (certainly <20).
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Computational Geometry in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!