Abstract:In this paper, based on theorem refraction of light, the cost of reservoir-pipeline is analogized by the optical path. When a ray of light travels between two points, the optical path length is the least. According to this theorem, a class of problems are solved which are represented by the least cost of building pipeline, and the working drawing is also president in this paper. This strategy can be extended to other similar problems in constructions.