Uniformly sampling region defined by linear constraints
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Computational Geometry en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!