No triangle exists that minimizes that condition.

However, the infinum of the perimeters of all such triangles = twice the distance from (a,b) to the line y = x.

That's just an application of the triangle inequality after picking the first two points (one is on the line, the other is (a,b)) of any triangle.