Minimisation functional problem $$ \min_{y} \int _ {(-\beta,0)}^A\sqrt{(\dot{y}(x))^2+1} dx \mbox{ such that } x^2+y(x)^2\geq R^2$$ Scaling everything, take $R=1, \beta >1$
Starting at $(-\beta,0)$ find the path with minimum distance taking you to $A=(x_0,y_0), y_0 \geq 0 \mbox{ wlog }$ without going through the interior of the unit circle.
Let $ \alpha $ be the angle between the x axis and the line segment joining $ (-\beta,0)$ with $ A $. If $ \sin \alpha \geq 1/ \beta $, then the curve is that line segment.
You can try the problem with a square, a rhombus any compact set you like. In fact:
Generalisation: find a curve that minimises the distance between two points $A(x_A,y_A)$ and $ B(x_B,y_B) $ that doesn't go through some obstacles. The obstacles are open bounded sets $B_i$, with the curve lying in $ \mathbb{R} ^2 \setminus \cup_{i=1}^{\infty} B_i$.
My difficulty: I am not familiar with inequality constraints. Any advice on how to tackle these problems either analytically or computationally would be appreciated.