Abstract—As a transition from Traditional Networks to Software Defined Networks(SDN), Hybrid SDN successfully faces the challenges that SDN comes with, such as robustness and scalability which makes Hybrid SDN has significant research value. Describe the network architecture of flow-based hybrid software defined networks. Introduce two kinds of flows in the network and how different flows can be forwarded in the same network, show how to reasonably distribute different flows in flow-based hybrid SDN to realize optimization of the entire network. Use models of bi-level programming,which upper-level is User Equilibrium and lower-level is stochastic user equilibrium, to formulate the problem; Use Tabu search algorithm to solve the model. Examples successfully show the results of the optimization.