Research and Implementation of VB Language Applied to Pipeline Laying Mathematical Model

Considering the additional cost of the city demolition project compensation and the same or different situation between public and non-public pipeline cost in the real life,this paper analyses the oil pipeline situation.Through method of extremum,we establishes the relevant expenses mathematical model,uses CAD drawing software,MATLAB mathematical software and Visual Basic language to solve the problem.And we can get best plan by optimized model based on relevant data.