“…e time window of RC1 is [6,18]. RC2 and RC3 have the same Nondominated Sorting Algorithm-II (NSGA-II) Input: pop size , nodes, R, Rmax, Nmax, sp, cp, and mp Output: Pareto front optimal solutions (1) Initialize parameters (2) # set the population size (pop size ), number of customers (nodes), number of generation (R), maximum number of generations (Rmax), maximum number of runs (Nmax), selection probability (sp), crossover probability (cp), and mutation probability (mp) (3) For N � 1:Nmax (4) For R � 1:Rmax (5) Generate the initial population with size pop size (6) Objective function evaluation (7) # compute the objective function to minimize the total operating cost and TNV (8) Divide pop size into nondominance front and calculate the crowding distance of each individual (9) For i � 1: R (10)…”