1. Homepage
  2. Programming
  3. COMP5511 Artificial Intelligence Concepts - Assignment 1: TSP, GA, Dynamic Optimization and Multi-objective optimization

COMP5511 Artificial Intelligence Concepts - Assignment 1: TSP, GA, Dynamic Optimization and Multi-objective optimization

Engage in a Conversation
HK PolyUCOMP5511Artificial Intelligence ConceptsTSPGADynamic optimization problemLarge-scale optimization problemMulti-objective optimizationTime window constraint

CourseNana.COM

  CourseNana.COM

COMP5511 Artificial Intelligence Concepts CourseNana.COM

- Assignment 1 - CourseNana.COM

  CourseNana.COM

Important Notes CourseNana.COM

  CourseNana.COM

1.      Write your report using the given word template (maximum 15 pages). On top of the first page, provide your name and matriculation number. CourseNana.COM

2.      Students can modify the Matlab file provided or geatpy (https://github.com/geatpy-dev/geatpy) or use other programming languages to solve the problem given. CourseNana.COM

3.      The solution and report should be the results of each individual work. CourseNana.COM

4.      You must write the readme file to explain how the code works. (e.g., the code is implemented in Matlab language. The code is run on the Matlab R2020 version. The code requires the GA toolbox/package…) CourseNana.COM

  CourseNana.COM

Report Structure CourseNana.COM

  CourseNana.COM

1.       Introduction: Give a brief introduction about TSP, GA, etc. CourseNana.COM

2.       Methodology: Include five subsections regarding the five tasks. In each subsection, you should give a detailed description of the designed algorithm, including the overall framework, crossover and mutation operators, selection operator, and other components. CourseNana.COM

3.       Experimental results: Include five subsections regarding the five tasks. In each subsection, you should provide the experimental results and carry out sensitive studies for all parameters, including population size, mutation probability, and crossover probability, and discuss the effects of changing these parameters. You need to show the results in various formats, such as tables, figures, etc. You are requested to run the algorithm multiple times. CourseNana.COM

4.       Conclusion: You should summarize what you have learned and your findings. CourseNana.COM

 
CourseNana.COM

Instruction: How to submit it online on LEARN@PolyU CourseNana.COM

  CourseNana.COM

1.     Find and click COMP5511 on your course menu (https://learn.polyu.edu.hk/ultra/course). CourseNana.COM

  CourseNana.COM

2.     Find and click Assessments and Assignment 1  CourseNana.COM

  CourseNana.COM

3.     Attach your zip file and submit it CourseNana.COM

CourseNana.COM

 
CourseNana.COM

Assignment Description

Abstract: Traveling Salesman Problem (TSP) is a classical combinatorial problem that is deceptively simple. This problem is about a salesman who wants to visit n customers cyclically. In one tour, the salesman must visit each customer just once and should finish up where he started. Since each customer is situated in a different locations, the distance between every customer will be different. The objective is to find the shortest round-trip route that visits each customer once and then returns to the starting customer. The dataset with 100 customers is provided in the zip file (‘TSP.csv’). CourseNana.COM

  CourseNana.COM

In this assignment, students are required to finish the following five tasks: CourseNana.COM

  CourseNana.COM

(1) Classical TSP

A genetic algorithm is used to find the shortest round-trip route of these 100 customers. The locations of customers are given in TSP.csv. Students should visualize the round-trip route and provide the total distance. CourseNana.COM

(2) Dynamic optimization problem

In the real-world TSP, the location and number of customers may vary with time, such a TSP problem can be considered a dynamic optimization problem. Considering such a scenario: CourseNana.COM

For each environment , the first  customers are allowed to be visited. Besides, the location of a customer varies with the environment , CourseNana.COM

CourseNana.COM

CourseNana.COM

where  and  are the new X coordinate and Y coordinate at environment , respectively.  and  are the X coordinate and Y coordinate provided in the TSP.csv. Assuming that the environmental variable  is changed every 100 generations, students should try to design a genetic algorithm to track the shortest round-trip route for each environment  by reusing the solutions from the last environment to accelerate the search in the new environment and then compare the results from the genetic algorithm without reusing the solutions from the last environment. CourseNana.COM

(3) Large-scale optimization problem

By adding 100 to the X coordinate for each customer in the TSP.csv, additional 100 customers can be formed. Regarding the newly formed 100 customers and the original 100 customers as a whole, the new problem can be regarded as a large-scale problem. For this large-scale problem, the customers can be divided into several small-scale regions by using clustering techniques, e.g., K-means. The salesman must finish visiting all the customers within the region before visiting any other customers in other regions. In this task, students are required to combine the clustering technique with a genetic algorithm to handle the large-scale optimization problem. CourseNana.COM

(4) Multi-objective optimization problem

The salesman may consider more than one objective. For example, the salesman not only wants to minimize the travel distance of the round-trip route but also maximize the sales profit. Assume that the sales profit of each customer can be by the ‘PROFIT’ minus traveled distance, the two objective functions, (i.e., total travel distance  and total sales profit ) may be conflicting, that is, a solution cannot satisfy the maximal sales profit and minimal travel distance at the same time. The multi-objective optimization problem can be formulated as  An alternative approach is to change the multi-objective optimization problem to a single-objective optimization problem by weighting the two objective functions, CourseNana.COM

CourseNana.COM

where  () is the weight on . Students can specify the  value to get the optimal solution. CourseNana.COM

In addition to the weighting objective functions-based method, students should develop a Pareto dominance selection-based evolutionary algorithm to handle the multi-objective optimization problem and discuss the advantages and disadvantages of the weighting objective functions-based method and Pareto dominance selection-based method. CourseNana.COM

(5) Time window constraint problem

The salesman is required to visit a certain customer within a certain time window, i.e., the salesman should visit the customer between “READY TIME” and “DUE TIME”, and the time window for each customer is given in TSP.csv. The travel time between customers is computed by the Euclidean distance between customers. Considering the time window as an additional objective, students are required to develop a Pareto dominance selection-based evolutionary algorithm to solve the problem by optimizing the following three objectives: minimize total travel distance, maximize total sales profit, and minimize the total violation value of the time window, where the total violation value of the time window is the summation of the violation value of the time window for each customer. For example, “READY TIME” and “DUE TIME” of the “CUST NO 2” are 273 and 289, respectively. If the salesman visits the “CUST NO 2” at time 272, the violation value of the time window is 273-272=1. If the salesman visits the “CUST NO 2” at time 291, the violation value of the time window is 291-289=2. CourseNana.COM

Discussion and analysis:

Students must give the details of the designed algorithms and perform sensitive studies for the above tasks with the various parameters, for example, the crossover and mutation rates, the population size, and the number of generations, and discuss the effects of changing these parameters.  Students need to show their results in various formats, such as tables, figures, etc. CourseNana.COM

References CourseNana.COM

  CourseNana.COM

[1] http://comopt.ifi.uni-heidelberg.de/software/TSPLIB95/ CourseNana.COM

[2] http://myweb.uiowa.edu/bthoa/TSPTWBenchmarkDataSets.htm CourseNana.COM

[3] https://github.com/geatpy-dev/geatpy CourseNana.COM

[4] Deb, Kalyanmoy, et al. "A fast and elitist multiobjective genetic algorithm: NSGA-II." IEEE Transactions on Evolutionary Computation, 2002. CourseNana.COM

[5] Yang, Jin-Qiu, et al. "Solving large-scale TSP using adaptive clustering method." IEEE International Symposium on Computational Intelligence and Design, 2009. CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
HK PolyU代写,COMP5511代写,Artificial Intelligence Concepts代写,TSP代写,GA代写,Dynamic optimization problem代写,Large-scale optimization problem代写,Multi-objective optimization代写,Time window constraint代写,HK PolyU代编,COMP5511代编,Artificial Intelligence Concepts代编,TSP代编,GA代编,Dynamic optimization problem代编,Large-scale optimization problem代编,Multi-objective optimization代编,Time window constraint代编,HK PolyU代考,COMP5511代考,Artificial Intelligence Concepts代考,TSP代考,GA代考,Dynamic optimization problem代考,Large-scale optimization problem代考,Multi-objective optimization代考,Time window constraint代考,HK PolyUhelp,COMP5511help,Artificial Intelligence Conceptshelp,TSPhelp,GAhelp,Dynamic optimization problemhelp,Large-scale optimization problemhelp,Multi-objective optimizationhelp,Time window constrainthelp,HK PolyU作业代写,COMP5511作业代写,Artificial Intelligence Concepts作业代写,TSP作业代写,GA作业代写,Dynamic optimization problem作业代写,Large-scale optimization problem作业代写,Multi-objective optimization作业代写,Time window constraint作业代写,HK PolyU编程代写,COMP5511编程代写,Artificial Intelligence Concepts编程代写,TSP编程代写,GA编程代写,Dynamic optimization problem编程代写,Large-scale optimization problem编程代写,Multi-objective optimization编程代写,Time window constraint编程代写,HK PolyUprogramming help,COMP5511programming help,Artificial Intelligence Conceptsprogramming help,TSPprogramming help,GAprogramming help,Dynamic optimization problemprogramming help,Large-scale optimization problemprogramming help,Multi-objective optimizationprogramming help,Time window constraintprogramming help,HK PolyUassignment help,COMP5511assignment help,Artificial Intelligence Conceptsassignment help,TSPassignment help,GAassignment help,Dynamic optimization problemassignment help,Large-scale optimization problemassignment help,Multi-objective optimizationassignment help,Time window constraintassignment help,HK PolyUsolution,COMP5511solution,Artificial Intelligence Conceptssolution,TSPsolution,GAsolution,Dynamic optimization problemsolution,Large-scale optimization problemsolution,Multi-objective optimizationsolution,Time window constraintsolution,