Research Article

Multiobjective Real-Time Scheduling of Tasks in Cloud Manufacturing with Genetic Algorithm

Algorithm 1

Generation of initial solutions of .
Input: for all , ,
Procedure:
      Step 1. .
      Step 2. , and save the service type for as , and randomly select and which satisfies:
(1) for , and
(2) is one of minimums among satisfying (1), and update for and .
      Step 3. Increase by 1 and save the service type for as .
      Step 4. Randomly select and which satisfies:
(1) for ,
(2) for ,
(3) is one of minimums among satisfying both (1) and (2), and update for and .
      Step 5. .
      Step 6. If and , terminate this algorithm. If and , increase by 1 and go to Step 2. If , increase by 1 and go to step 3.
output:.