The speed of development of the computer network is an urgent need to comprehensively improve and optimize the overall performance of the network. Neural network algorithm has a massively parallel processing and distributed information storage, Hopfield neural network showed a unique advantage in the associative memory and optimization based on the neural network algorithm for computer network optimization model of Hopfield neural network theory and reality computer network, modern optimization methods, it is combined.