Optimal design of an oil pipeline with a large-slope section