I need to minimize sum of distance from two fixed points on a line which are at distance of L/4 from its two ends. As each time line takes new position, the two fixed points