The invention provides an
optimal scheduling method and
system for a distributed heterogeneous prefabricated part flow shop, and belongs to the technical field of
hybrid flow line analysis. Based on the collected production data, establishing a
constraint programming model DHPPFSPCP and an MILP model to solve an initial upper bound and an initial lower bound of the minimum
completion time, constructing a mixed linear
integer programming model AMPSSR, and based on the collected production data, solving the linear
integer programming model AMPSSR to obtain an assignment scheme for allocating orders to factories and new minimum
completion time. The lower bound is used as the lower bound of the iteration; constructing a constrained
programming model SSPCP, solving the constrained
programming model SSPCP based on an assignment scheme of order allocation to a factory, and obtaining new minimum maximum
completion time as an upper bound of the iteration; according to the method, the
cut constraint is added to the mixed linear
integer programming model AMPSSR according to the upper bound value, the AMPSSR model and the SSPCP model are constructed, iteration is carried out continuously to obtain an
optimal scheduling scheme, and a good scheduling scheme can be obtained in a short time.