A Multifactory Integrated Production and Distribution Scheduling Problem with Parallel Machines and Immediate Shipments Solved by Improved Whale Optimization Algorithm
Algorithm 1
Decoding Mechanism .
Input data
,,,:indexes and number of orders, customers, factories, machines;
npop: number of population;
sort: sort descending
:random variable
procedure
;
of sorted by as the priority vector of orders;
;;
of sorted by as the priority vector of customers;
for
for
select a random factory to be assigned to order of customer
select a random machine at factory to be assigned to order of customer