Research Article
The Tractor and Semitrailer Routing Considering Carbon Dioxide Emissions
Pseudocode 1
Pseudocode of the proposed SA heuristics for finding the number of tractors.
Simulated Annealing for finding the number of tractors (,,,) | Step 1. Let | Step 2. Generate the initial solution randomly; | Step 3. Let ; ; ; ; | Step 4. ; ; | Step 5. Generate a solution based on by the three types of operators in Section 4.1; | Step 6. If {Let | Else { | Generate ; | If {Let | } | Step 7. ; | Step 8. If | Else {Go to Step 3;} | Step 9. If {Go to Step 3;} | Else {Terminate the SA heuristics;} | Step 10. If ; Go to Step 2;} | If ; Go to Step 2;} | Else |
|