Through field research on the assembly of household electric fans, the analysis of the existing problems was analyzed, and the time of product assembly process were measured. Using the branch and bound method and lingo method, respectively, to solve the problem of balance, redesign a assembly line with high balance rate and high capacity. Finally, the two methods were compared with each index, selected the optimal program.