I'm not too sure about your understanding of mathematics, so please accept my apologies if this goes over your head, or if it is really too easy to explain, but the solution that instantly stood out for me is to use Fourier analysis on a discrete sample of the polygon width at fixed angles.
Your approach to rotation by a small amount and the test can be considered as a discrete sample of a continuous function.
We know that there is a continuous function that determines the measure you are measuring for each possible rotation, you simply evaluate it at given points. that is, as you know, there is an angle with a function of the width of the polygon, and we can estimate the width of the polygon for a finite set of angles given enough time.
So, assuming that we can find an expression in terms of elementary functions for this angle-to-width function, we could potentially precisely determine all the angles that give the smallest possible width by solving the equation.
We know that since you rotate through 2PI radians, the width function will be 2PI periodic, and so you could completely restore the function, given that sufficient angles were selected using Fourier analysis.
The question is how many samples do you need for a perfect reconstruction of the function?
I think this is determined by the smallest distance between the boundary points.
ceil(perimiterLength/smallestDistanceBetweenPoints);
In short, I will overcriminate the perimeter of the boundary by placing evenly spaced samples along the perimeter, using an interval equal to or less than the smallest distance. Let me call this number n. (Honestly, I'm not sure if this is correct)
An example of east and west points at n points with evenly spaced angles through 2PI radians and the superposition of their difference in the form of an n-point angle on the width function.
Take the Fourier transform of this graph to give you the set of real Fourier series coefficients needed to determine the distance function
Use any of your favorite methods to determine the minimum function value.
So, I suppose that for an example of a triangle you determine that you need a ceiling (3 + root (3)) = 5 samples. Calculate the distance at 0 2pi / 5 4pi / 5 6pi / 6 and 8pi / 5, take the Fourier transform of this result and reconstruct the signal by creating a formula like
a0 + a1 sin (t) + a2 sin (2t)
And then you must determine the minimum of this function (for which there are many options)