Solving Job Shop Scheduling Problem Based on Differential Evolution Algorithm

Solving Job Shop Scheduling Problem Based on Differential Evolution Algorithm

The job shop scheduling problem refers to the reasonable scheduling among multiple jobs and multiple machines so as to minimize the total time required to complete all jobs. This is a classic combinatorial optimization problem. For large-scale problems, heuristic algorithms are often used to solve it. Differential evolution algorithm is one of the commonly used heuristic algorithms, which simulates the process of mutation and crossover in biological evolution, and is widely used to solve various optimization problems.

The following is the source code of using Matlab to implement the differential evolution algorithm to solve the job shop scheduling problem:

function [bestSchedule, bestMakespan] = differentialEvolution(jobTimes, numMachines, populationSize, maxIterations)
    % 参数说明:
    % jobTimes:作业时间矩阵,每行代表一个作业在不同机器上的加工时间
    

Guess you like

Origin blog.csdn.net/m0_47037246/article/details/132703400