Lab 4 Report
Lab 4 Report
Lab 4 Report
CMM426
BUSINESS INTELLIGENCE AND ANALYTICS
SEMESTER 2
ACADEMIC SESSION 2022/2023
ii
Part 1: A spreadsheet model for swiss42
The spreadsheet model can be found in the zip file named “swiss42.csv”. There are three sets
Set 1:
Convergence = 0.0001
Mutation rate = 0.075
Population size = 100
Random seed = 0
Maximum time without improvement = 30s
Require Bounds on Variables
Run 1: 1371
Run 2: 1317
Run 3: 1375
Run 4: 1305
Run 5: 1354
Set 2:
Convergence = 0.0001
Mutation rate = 0.075
Population size = 200
Random seed = 0
Maximum time without improvement = 30s
Require Bounds on Variables
1
Run 1: 1367
Run 2: 1366
Run 3: 1412
Run 4: 1381
Run 5: 1341
Set 3:
Convergence = 0.0001
Mutation rate = 0.075
Population size = 300
Random seed = 0
Maximum time without improvement = 30s
Require Bounds on Variables
Run 1: 1376
Run 2: 1465
Run 3: 1386
Run 4: 1409
Run 5: 1398
2
Result in Tabular Format
The deviation percentage provides insight into the difference between the average tour
length and the optimal tour length, expressed as a percentage. For a population size of 100, the
deviation percentage was calculated to be 5.61%. With a population size of 200, the deviation
percentage increased to 7.89%, and for a population size of 300, the deviation percentage further
rose to 10.51%. A lower deviation percentage signifies a closer alignment between the average
tour length and the optimal tour length, indicating better convergence and solution quality. Based
on these findings, it is evident that the Evolutionary Method, implemented using Microsoft Excel
Solver, effectively addresses the Traveling Salesman Problem. The algorithm's ability to find
near-optimal solutions, as indicated by the decreasing deviation percentage with larger population
sizes, demonstrates its efficiency and reliability in solving this complex optimization problem.