Randomised algorithms for travelling salesman problem.docx

B

course material

Randomised algorithms for travelling salesman problem
Aim:You are required to implement the Monte Carlo algorithm to solve the Odyssey of
Ulysses 22 cities Travelling Salesman Problem (TSP). The problem (ulysses22.tsp) is
available at TSPLIB (Links to an external site.)Links to an external site.. For your interest,
here is an article about this problem: The Optimized Odyssey (Links to an external
site.)Links to an external site..Requirements:You can use any programming languages to
complete this assignment. However, if you want to use languages other than Matlab/Octave,
you should make your program executable/runnable. For example, if you use Java, you need
to compile it. If you use Python, make sure it can be run in a python online IDE such as
TutorialPoint (Links to an external site.)Links to an external site.. Your program should be
able to read in the ulysses22.tsp file. Calculate distance based on Geographical distance.
Please read this document (Links to an external site.)Links to an external site. (Section 2.4)
to learn how to calculate Geographical distance. In order to check whether your
implementation of the Geographical distance calculation is correct or not, you can download
this file (Links to an external site.)Links to an external site., which gives you the optimal
tour with the optimal distance of 7013. Implement the Monte Carlo algorithm. Execute 30
independent runs of your Monte Carlo algorithm with 1000 iterations and record the
average distance and standard deviation from results of the 30 runs. Write a report to
report your results. In the report, you should briefly introduce the Monte Carlo algorithm by
using a flowchart and pseudo-code, discuss the pros and cons. You should also show
intermediate solutions and their lengths at 1st, 500th and 1000th iterations during a typical
run of your algorithm. You should plot a figure to show how the cost changes over the 1000
interactions of a typical run. You should also list all the average result and standard
deviations obtained from the 30 runs of the algorithm.Marking Scheme (total 10
points):Correct calculation of the geographical distance. (1 marks).Correct implementation
of the Monte Carlo algorithm (4 marks)Report: Satisfied requirement 6 (5
marks).http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/ulysses22.tsp
https://www.zib.de/groetschel/pubnew/paper/groetschelpadberg2001a.pdf
https://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/tsp95.pdf
http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/ulysses22.opt.tour #Randomised
#algorithms #travelling #salesman #problem

Recomendados

G`JFW2IHZ1F{MDTISBW(}KC.jpg__MACOSX._G`JFW2IHZ1F{MDTISBW(}K.docx por
G`JFW2IHZ1F{MDTISBW(}KC.jpg__MACOSX._G`JFW2IHZ1F{MDTISBW(}K.docxG`JFW2IHZ1F{MDTISBW(}KC.jpg__MACOSX._G`JFW2IHZ1F{MDTISBW(}K.docx
G`JFW2IHZ1F{MDTISBW(}KC.jpg__MACOSX._G`JFW2IHZ1F{MDTISBW(}K.docxbenjaminjames21681
2 vistas86 diapositivas
Unit 5 Programming Portfolio 1 por
Unit 5 Programming Portfolio 1Unit 5 Programming Portfolio 1
Unit 5 Programming Portfolio 1Jamie Boyd
2 vistas96 diapositivas
What is algorithm por
What is algorithmWhat is algorithm
What is algorithmmshoaib15
80 vistas30 diapositivas
Lect 3-4 Zaheer Abbas por
Lect 3-4 Zaheer AbbasLect 3-4 Zaheer Abbas
Lect 3-4 Zaheer AbbasInformation Technology Center
1.5K vistas29 diapositivas
Robotic arm tool por
Robotic arm toolRobotic arm tool
Robotic arm toolRizwan Ahmed
83 vistas16 diapositivas
Design the implementation of trajectory path of the robot using parallel loop... por
Design the implementation of trajectory path of the robot using parallel loop...Design the implementation of trajectory path of the robot using parallel loop...
Design the implementation of trajectory path of the robot using parallel loop...Ankita Tiwari
83 vistas9 diapositivas

Más contenido relacionado

Similar a Randomised algorithms for travelling salesman problem.docx

Applet and graphics programming por
Applet and graphics programmingApplet and graphics programming
Applet and graphics programmingsrijavel
1.3K vistas27 diapositivas
unit 2 hpc.pptx por
unit 2 hpc.pptxunit 2 hpc.pptx
unit 2 hpc.pptxgopal467344
11 vistas55 diapositivas
Introduction to algorithms por
Introduction to algorithmsIntroduction to algorithms
Introduction to algorithmsMadishetty Prathibha
297 vistas26 diapositivas
Ds03 part i algorithms by jyoti lakhani por
Ds03 part i algorithms   by jyoti lakhaniDs03 part i algorithms   by jyoti lakhani
Ds03 part i algorithms by jyoti lakhanijyoti_lakhani
59 vistas31 diapositivas
Lingo por
LingoLingo
Lingobulan02
3.1K vistas18 diapositivas
Numerical analysis using Scilab: Error analysis and propagation por
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagationScilab
4.9K vistas10 diapositivas

Similar a Randomised algorithms for travelling salesman problem.docx(20)

Applet and graphics programming por srijavel
Applet and graphics programmingApplet and graphics programming
Applet and graphics programming
srijavel1.3K vistas
Ds03 part i algorithms by jyoti lakhani por jyoti_lakhani
Ds03 part i algorithms   by jyoti lakhaniDs03 part i algorithms   by jyoti lakhani
Ds03 part i algorithms by jyoti lakhani
jyoti_lakhani59 vistas
Lingo por bulan02
LingoLingo
Lingo
bulan023.1K vistas
Numerical analysis using Scilab: Error analysis and propagation por Scilab
Numerical analysis using Scilab: Error analysis and propagationNumerical analysis using Scilab: Error analysis and propagation
Numerical analysis using Scilab: Error analysis and propagation
Scilab4.9K vistas
EE323 Mini-Project - Line tracing robot por Praneel Chand
EE323 Mini-Project - Line tracing robotEE323 Mini-Project - Line tracing robot
EE323 Mini-Project - Line tracing robot
Praneel Chand774 vistas
In this lab assignment you are to examine MASM programs and .pdf por abhishekcreations1
In this lab assignment you are to examine MASM programs and .pdfIn this lab assignment you are to examine MASM programs and .pdf
In this lab assignment you are to examine MASM programs and .pdf
Rip and OSPF assignment (RIP ба OSPF дасгал ажил) por Khunbish Nyamsuren
Rip and OSPF assignment (RIP ба OSPF дасгал ажил)Rip and OSPF assignment (RIP ба OSPF дасгал ажил)
Rip and OSPF assignment (RIP ба OSPF дасгал ажил)
Khunbish Nyamsuren477 vistas
L7,tor-pouSlssu eq,{utu 1s,(1uue qceedno.rE.rno,{ ur eldo.docx por DIPESH30
L7,tor-pouSlssu eq,{utu 1s,(1uue qceedno.rE.rno,{ ur eldo.docxL7,tor-pouSlssu eq,{utu 1s,(1uue qceedno.rE.rno,{ ur eldo.docx
L7,tor-pouSlssu eq,{utu 1s,(1uue qceedno.rE.rno,{ ur eldo.docx
DIPESH302 vistas
Understanding Parallelization of Machine Learning Algorithms in Apache Spark™ por Databricks
Understanding Parallelization of Machine Learning Algorithms in Apache Spark™Understanding Parallelization of Machine Learning Algorithms in Apache Spark™
Understanding Parallelization of Machine Learning Algorithms in Apache Spark™
Databricks2K vistas
Practical Guides on Programming with Big Number Library in Scientific Researches por theijes
Practical Guides on Programming with Big Number Library in Scientific ResearchesPractical Guides on Programming with Big Number Library in Scientific Researches
Practical Guides on Programming with Big Number Library in Scientific Researches
theijes31 vistas
IRJET- Latin Square Computation of Order-3 using Open CL por IRJET Journal
IRJET- Latin Square Computation of Order-3 using Open CLIRJET- Latin Square Computation of Order-3 using Open CL
IRJET- Latin Square Computation of Order-3 using Open CL
IRJET Journal42 vistas
DA lecture 3.pptx por SayanSen36
DA lecture 3.pptxDA lecture 3.pptx
DA lecture 3.pptx
SayanSen367 vistas
How To Use IO Monads in Scala? por Knoldus Inc.
 How To Use IO Monads in Scala? How To Use IO Monads in Scala?
How To Use IO Monads in Scala?
Knoldus Inc.409 vistas
Intelligent Systems Project: Bike sharing service modeling por Alessio Villardita
Intelligent Systems Project: Bike sharing service modelingIntelligent Systems Project: Bike sharing service modeling
Intelligent Systems Project: Bike sharing service modeling
Alessio Villardita807 vistas
Advantages Of Linear Programming Models por Brenda Torres
Advantages Of Linear Programming ModelsAdvantages Of Linear Programming Models
Advantages Of Linear Programming Models
Brenda Torres3 vistas
1)Which logical operators perform short-circuit evaluation (Select .pdf por arihantcomp1008
1)Which logical operators perform short-circuit evaluation (Select .pdf1)Which logical operators perform short-circuit evaluation (Select .pdf
1)Which logical operators perform short-circuit evaluation (Select .pdf
arihantcomp10083 vistas

Más de bkbk37

Rater Errors Associated with the Performance Management Systems.docx por
Rater Errors Associated with the Performance Management Systems.docxRater Errors Associated with the Performance Management Systems.docx
Rater Errors Associated with the Performance Management Systems.docxbkbk37
5 vistas1 diapositiva
QUESTION FIRM PERFORMANCE Report financial data.docx por
QUESTION FIRM PERFORMANCE Report financial data.docxQUESTION FIRM PERFORMANCE Report financial data.docx
QUESTION FIRM PERFORMANCE Report financial data.docxbkbk37
3 vistas1 diapositiva
Ratio analysis provides another set of patterns to evaluate before.docx por
Ratio analysis provides another set of patterns to evaluate before.docxRatio analysis provides another set of patterns to evaluate before.docx
Ratio analysis provides another set of patterns to evaluate before.docxbkbk37
4 vistas2 diapositivas
Rates Negotiation Crisis Premium Paper Help.docx por
Rates Negotiation Crisis Premium Paper Help.docxRates Negotiation Crisis Premium Paper Help.docx
Rates Negotiation Crisis Premium Paper Help.docxbkbk37
3 vistas1 diapositiva
Rather than writing a literature review for your.docx por
Rather than writing a literature review for your.docxRather than writing a literature review for your.docx
Rather than writing a literature review for your.docxbkbk37
3 vistas1 diapositiva
Rather than focus on the treatment of chronic policies.docx por
Rather than focus on the treatment of chronic policies.docxRather than focus on the treatment of chronic policies.docx
Rather than focus on the treatment of chronic policies.docxbkbk37
3 vistas1 diapositiva

Más de bkbk37(20)

Rater Errors Associated with the Performance Management Systems.docx por bkbk37
Rater Errors Associated with the Performance Management Systems.docxRater Errors Associated with the Performance Management Systems.docx
Rater Errors Associated with the Performance Management Systems.docx
bkbk375 vistas
QUESTION FIRM PERFORMANCE Report financial data.docx por bkbk37
QUESTION FIRM PERFORMANCE Report financial data.docxQUESTION FIRM PERFORMANCE Report financial data.docx
QUESTION FIRM PERFORMANCE Report financial data.docx
bkbk373 vistas
Ratio analysis provides another set of patterns to evaluate before.docx por bkbk37
Ratio analysis provides another set of patterns to evaluate before.docxRatio analysis provides another set of patterns to evaluate before.docx
Ratio analysis provides another set of patterns to evaluate before.docx
bkbk374 vistas
Rates Negotiation Crisis Premium Paper Help.docx por bkbk37
Rates Negotiation Crisis Premium Paper Help.docxRates Negotiation Crisis Premium Paper Help.docx
Rates Negotiation Crisis Premium Paper Help.docx
bkbk373 vistas
Rather than writing a literature review for your.docx por bkbk37
Rather than writing a literature review for your.docxRather than writing a literature review for your.docx
Rather than writing a literature review for your.docx
bkbk373 vistas
Rather than focus on the treatment of chronic policies.docx por bkbk37
Rather than focus on the treatment of chronic policies.docxRather than focus on the treatment of chronic policies.docx
Rather than focus on the treatment of chronic policies.docx
bkbk373 vistas
Rapid Assessment of a Client.docx por bkbk37
Rapid Assessment of a Client.docxRapid Assessment of a Client.docx
Rapid Assessment of a Client.docx
bkbk373 vistas
Ransomware is malicious software that encrypts files and requires a.docx por bkbk37
Ransomware is malicious software that encrypts files and requires a.docxRansomware is malicious software that encrypts files and requires a.docx
Ransomware is malicious software that encrypts files and requires a.docx
bkbk373 vistas
Rated Over iko na 5star 65 times.docx por bkbk37
Rated Over iko na 5star 65 times.docxRated Over iko na 5star 65 times.docx
Rated Over iko na 5star 65 times.docx
bkbk374 vistas
Ranking Universities systems Premium Paper Help.docx por bkbk37
Ranking Universities systems Premium Paper Help.docxRanking Universities systems Premium Paper Help.docx
Ranking Universities systems Premium Paper Help.docx
bkbk373 vistas
Range of.docx por bkbk37
Range of.docxRange of.docx
Range of.docx
bkbk373 vistas
Ralph Waldo Emerson.docx por bkbk37
Ralph Waldo Emerson.docxRalph Waldo Emerson.docx
Ralph Waldo Emerson.docx
bkbk373 vistas
Raising Minimum An explanation of the its.docx por bkbk37
Raising Minimum An explanation of the its.docxRaising Minimum An explanation of the its.docx
Raising Minimum An explanation of the its.docx
bkbk373 vistas
Raising Capital Create a document that you will present to.docx por bkbk37
Raising Capital Create a document that you will present to.docxRaising Capital Create a document that you will present to.docx
Raising Capital Create a document that you will present to.docx
bkbk373 vistas
Rail Project A goal of the Obama administration.docx por bkbk37
Rail Project A goal of the Obama administration.docxRail Project A goal of the Obama administration.docx
Rail Project A goal of the Obama administration.docx
bkbk373 vistas
Racism toward Indigenous peoples in Canada.docx por bkbk37
Racism toward Indigenous peoples in Canada.docxRacism toward Indigenous peoples in Canada.docx
Racism toward Indigenous peoples in Canada.docx
bkbk373 vistas
Raffel jeans management decides that the units is most likely.docx por bkbk37
Raffel jeans management decides that the units is most likely.docxRaffel jeans management decides that the units is most likely.docx
Raffel jeans management decides that the units is most likely.docx
bkbk373 vistas
Race and.docx por bkbk37
Race and.docxRace and.docx
Race and.docx
bkbk373 vistas
Race Presentations on TV Premium Paper Help.docx por bkbk37
Race Presentations on TV Premium Paper Help.docxRace Presentations on TV Premium Paper Help.docx
Race Presentations on TV Premium Paper Help.docx
bkbk373 vistas
R2P and Syria.docx por bkbk37
R2P and Syria.docxR2P and Syria.docx
R2P and Syria.docx
bkbk372 vistas

Último

AI Tools for Business and Startups por
AI Tools for Business and StartupsAI Tools for Business and Startups
AI Tools for Business and StartupsSvetlin Nakov
107 vistas39 diapositivas
ICS3211_lecture 08_2023.pdf por
ICS3211_lecture 08_2023.pdfICS3211_lecture 08_2023.pdf
ICS3211_lecture 08_2023.pdfVanessa Camilleri
149 vistas30 diapositivas
MercerJesse2.1Doc.pdf por
MercerJesse2.1Doc.pdfMercerJesse2.1Doc.pdf
MercerJesse2.1Doc.pdfjessemercerail
169 vistas5 diapositivas
Sociology KS5 por
Sociology KS5Sociology KS5
Sociology KS5WestHatch
70 vistas23 diapositivas
Psychology KS5 por
Psychology KS5Psychology KS5
Psychology KS5WestHatch
93 vistas5 diapositivas
REPRESENTATION - GAUNTLET.pptx por
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptxiammrhaywood
100 vistas26 diapositivas

Último(20)

AI Tools for Business and Startups por Svetlin Nakov
AI Tools for Business and StartupsAI Tools for Business and Startups
AI Tools for Business and Startups
Svetlin Nakov107 vistas
Sociology KS5 por WestHatch
Sociology KS5Sociology KS5
Sociology KS5
WestHatch70 vistas
Psychology KS5 por WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch93 vistas
REPRESENTATION - GAUNTLET.pptx por iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood100 vistas
Class 10 English lesson plans por TARIQ KHAN
Class 10 English  lesson plansClass 10 English  lesson plans
Class 10 English lesson plans
TARIQ KHAN288 vistas
Scope of Biochemistry.pptx por shoba shoba
Scope of Biochemistry.pptxScope of Biochemistry.pptx
Scope of Biochemistry.pptx
shoba shoba133 vistas
JiscOAWeek_LAIR_slides_October2023.pptx por Jisc
JiscOAWeek_LAIR_slides_October2023.pptxJiscOAWeek_LAIR_slides_October2023.pptx
JiscOAWeek_LAIR_slides_October2023.pptx
Jisc96 vistas
Dance KS5 Breakdown por WestHatch
Dance KS5 BreakdownDance KS5 Breakdown
Dance KS5 Breakdown
WestHatch79 vistas
The Accursed House by Émile Gaboriau por DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta201 vistas
PLASMA PROTEIN (2).pptx por MEGHANA C
PLASMA PROTEIN (2).pptxPLASMA PROTEIN (2).pptx
PLASMA PROTEIN (2).pptx
MEGHANA C68 vistas
Ch. 7 Political Participation and Elections.pptx por Rommel Regala
Ch. 7 Political Participation and Elections.pptxCh. 7 Political Participation and Elections.pptx
Ch. 7 Political Participation and Elections.pptx
Rommel Regala97 vistas
Use of Probiotics in Aquaculture.pptx por AKSHAY MANDAL
Use of Probiotics in Aquaculture.pptxUse of Probiotics in Aquaculture.pptx
Use of Probiotics in Aquaculture.pptx
AKSHAY MANDAL100 vistas
Narration lesson plan.docx por TARIQ KHAN
Narration lesson plan.docxNarration lesson plan.docx
Narration lesson plan.docx
TARIQ KHAN112 vistas

Randomised algorithms for travelling salesman problem.docx

  • 1. Randomised algorithms for travelling salesman problem Aim:You are required to implement the Monte Carlo algorithm to solve the Odyssey of Ulysses 22 cities Travelling Salesman Problem (TSP). The problem (ulysses22.tsp) is available at TSPLIB (Links to an external site.)Links to an external site.. For your interest, here is an article about this problem: The Optimized Odyssey (Links to an external site.)Links to an external site..Requirements:You can use any programming languages to complete this assignment. However, if you want to use languages other than Matlab/Octave, you should make your program executable/runnable. For example, if you use Java, you need to compile it. If you use Python, make sure it can be run in a python online IDE such as TutorialPoint (Links to an external site.)Links to an external site.. Your program should be able to read in the ulysses22.tsp file. Calculate distance based on Geographical distance. Please read this document (Links to an external site.)Links to an external site. (Section 2.4) to learn how to calculate Geographical distance. In order to check whether your implementation of the Geographical distance calculation is correct or not, you can download this file (Links to an external site.)Links to an external site., which gives you the optimal tour with the optimal distance of 7013. Implement the Monte Carlo algorithm. Execute 30 independent runs of your Monte Carlo algorithm with 1000 iterations and record the average distance and standard deviation from results of the 30 runs. Write a report to report your results. In the report, you should briefly introduce the Monte Carlo algorithm by using a flowchart and pseudo-code, discuss the pros and cons. You should also show intermediate solutions and their lengths at 1st, 500th and 1000th iterations during a typical run of your algorithm. You should plot a figure to show how the cost changes over the 1000 interactions of a typical run. You should also list all the average result and standard deviations obtained from the 30 runs of the algorithm.Marking Scheme (total 10 points):Correct calculation of the geographical distance. (1 marks).Correct implementation of the Monte Carlo algorithm (4 marks)Report: Satisfied requirement 6 (5 marks).http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/ulysses22.tsp https://www.zib.de/groetschel/pubnew/paper/groetschelpadberg2001a.pdf https://www.iwr.uni-heidelberg.de/groups/comopt/software/TSPLIB95/tsp95.pdf http://elib.zib.de/pub/mp-testdata/tsp/tsplib/tsp/ulysses22.opt.tour #Randomised #algorithms #travelling #salesman #problem