Research Article

Multiobjective Sustainable Order Allocation Problem Optimization with Improved Genetic Algorithm Using Priority Encoding

Algorithm 1

Pseudocode of chromosome segment decoding.
Input: : set of OEMs; : set of products
   : demand for product j,
   : capacity of OEM i to manufacture product j,
   : chromosome,
Output: : quantity of product j supplied by OEM i,
(1),
(2) Select the gene k with the highest priority value
(3)
  //ceil(a) is a function that rounds the element of a to the nearest integer greater than or equal to a
(4), determine the product type
(5), determine the OEM id
(6), allocate available product quantities
  // Update availabilities on demand () and capacity ()
(7);
(8)  if , then
(9)   for do
(10)   
(11)   end for
(12)  else
(13)   
(14)  end if
(15)  for all do
(16)   if each , then
(17)    stop
(18)   else
(19)    go to step 1
(20)   end if
(21)  end for