- linear programming
We model the problem as a linear program with
To ensure that the circle remains within the cave, we compute the shortest distance between the center of the circle and each of the cave boundaries
We model the problem as a linear program with
To ensure that the circle remains within the cave, we compute the shortest distance between the center of the circle and each of the cave boundaries