Uniformly sampling region defined by linear constraints
이전 댓글 표시
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!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Computational Geometry에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!