A hybrid approach is proposed for the detailed scheduling of products pipeline. The proposed method combines the capabilities of ACO with SM to solve the model. Technical constraints of multiple pump stations pipeline are taken into consideration. The practicability, stability of proposed method are demonstrated by examples.