How to optimize the genetic algorithm, control the variable is a pipe diameter, fullness (from traditional views, pipe diameters and fullness control slope, once the pipe diameter, fullness is determined, the slope is also fixed), this, Slope can be calculated, then the cost analysis is pulled. . . Of course, this should be in the genetic algorithm.