To solve the discrete manufacturing of flexible manufacturing workshop in a small precision mold processing enterprise, a modified heuristic algorithm(five factors scheduling algorithm,FFA) was proposed. This algorithm took into account five factors that may affect the sort of selection, i.e., processing start time of current task procedures, processing working time of current procedure, remaining processing time of current device, the total remaining processing time of the task after current procedure, and the remaining processing time after the task reaching the next device upon the completion of current procedure. When the constructed evaluation index was the smallest through maximizing the first three factors and minimizing the last two factors, the task was prioritized. In addition, the evaluation index formulae was improved to select the appropriate coefficient for five factors, hence reducing the calculation complexity. Finally, compared with the genetic algorithm, it is proved that the modified algorithm has more advantages in shortening maximum completion time and improving calculation speed. |