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 visualizações86 slides
Unit 5 Programming Portfolio 1 por
Unit 5 Programming Portfolio 1Unit 5 Programming Portfolio 1
Unit 5 Programming Portfolio 1Jamie Boyd
2 visualizações96 slides
What is algorithm por
What is algorithmWhat is algorithm
What is algorithmmshoaib15
80 visualizações30 slides
Lect 3-4 Zaheer Abbas por
Lect 3-4 Zaheer AbbasLect 3-4 Zaheer Abbas
Lect 3-4 Zaheer AbbasInformation Technology Center
1.5K visualizações29 slides
Robotic arm tool por
Robotic arm toolRobotic arm tool
Robotic arm toolRizwan Ahmed
83 visualizações16 slides
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 visualizações9 slides

Mais conteúdo 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 visualizações27 slides
unit 2 hpc.pptx por
unit 2 hpc.pptxunit 2 hpc.pptx
unit 2 hpc.pptxgopal467344
11 visualizações55 slides
Introduction to algorithms por
Introduction to algorithmsIntroduction to algorithms
Introduction to algorithmsMadishetty Prathibha
297 visualizações26 slides
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 visualizações31 slides
Lingo por
LingoLingo
Lingobulan02
3.1K visualizações18 slides
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 visualizações10 slides

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 visualizações
unit 2 hpc.pptx por gopal467344
unit 2 hpc.pptxunit 2 hpc.pptx
unit 2 hpc.pptx
gopal46734411 visualizações
Introduction to algorithms por Madishetty Prathibha
Introduction to algorithmsIntroduction to algorithms
Introduction to algorithms
Madishetty Prathibha297 visualizações
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 visualizações
Lingo por bulan02
LingoLingo
Lingo
bulan023.1K visualizações
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 visualizações
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 Chand776 visualizações
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
abhishekcreations12 visualizações
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 visualizações
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 visualizações
Cs854 lecturenotes01 por Mehmet Çelik
Cs854 lecturenotes01Cs854 lecturenotes01
Cs854 lecturenotes01
Mehmet Çelik385 visualizações
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 visualizações
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 visualizações
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 visualizações
DA lecture 3.pptx por SayanSen36
DA lecture 3.pptxDA lecture 3.pptx
DA lecture 3.pptx
SayanSen367 visualizações
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.410 visualizações
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 visualizações
Advantages Of Linear Programming Models por Brenda Torres
Advantages Of Linear Programming ModelsAdvantages Of Linear Programming Models
Advantages Of Linear Programming Models
Brenda Torres3 visualizações
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 visualizações
Two methods for optimising cognitive model parameters por University of Huddersfield
Two methods for optimising cognitive model parametersTwo methods for optimising cognitive model parameters
Two methods for optimising cognitive model parameters
University of Huddersfield150 visualizações

Mais 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 visualizações1 slide
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 visualizações1 slide
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 visualizações2 slides
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 visualizações1 slide
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 visualizações1 slide
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 visualizações1 slide

Mais 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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
Range of.docx por bkbk37
Range of.docxRange of.docx
Range of.docx
bkbk373 visualizações
Ralph Waldo Emerson.docx por bkbk37
Ralph Waldo Emerson.docxRalph Waldo Emerson.docx
Ralph Waldo Emerson.docx
bkbk373 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
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 visualizações
Race and.docx por bkbk37
Race and.docxRace and.docx
Race and.docx
bkbk373 visualizações
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 visualizações
R2P and Syria.docx por bkbk37
R2P and Syria.docxR2P and Syria.docx
R2P and Syria.docx
bkbk372 visualizações

Último

11.30.23A Poverty and Inequality in America.pptx por
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptxmary850239
86 visualizações18 slides
Create a Structure in VBNet.pptx por
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptxBreach_P
82 visualizações8 slides
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx por
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxGuidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxNiranjan Chavan
38 visualizações48 slides
Jibachha publishing Textbook.docx por
Jibachha publishing Textbook.docxJibachha publishing Textbook.docx
Jibachha publishing Textbook.docxDrJibachhaSahVetphys
54 visualizações14 slides
Thanksgiving!.pdf por
Thanksgiving!.pdfThanksgiving!.pdf
Thanksgiving!.pdfEnglishCEIPdeSigeiro
461 visualizações17 slides
Career Building in AI - Technologies, Trends and Opportunities por
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and OpportunitiesWebStackAcademy
41 visualizações44 slides

Último(20)

11.30.23A Poverty and Inequality in America.pptx por mary850239
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptx
mary85023986 visualizações
Create a Structure in VBNet.pptx por Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P82 visualizações
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx por Niranjan Chavan
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptxGuidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Guidelines & Identification of Early Sepsis DR. NN CHAVAN 02122023.pptx
Niranjan Chavan38 visualizações
Jibachha publishing Textbook.docx por DrJibachhaSahVetphys
Jibachha publishing Textbook.docxJibachha publishing Textbook.docx
Jibachha publishing Textbook.docx
DrJibachhaSahVetphys54 visualizações
Career Building in AI - Technologies, Trends and Opportunities por WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy41 visualizações
When Sex Gets Complicated: Porn, Affairs, & Cybersex por Marlene Maheu
When Sex Gets Complicated: Porn, Affairs, & CybersexWhen Sex Gets Complicated: Porn, Affairs, & Cybersex
When Sex Gets Complicated: Porn, Affairs, & Cybersex
Marlene Maheu108 visualizações
Education of marginalized and socially disadvantages segments.pptx por GarimaBhati5
Education of marginalized and socially disadvantages segments.pptxEducation of marginalized and socially disadvantages segments.pptx
Education of marginalized and socially disadvantages segments.pptx
GarimaBhati540 visualizações
CUNY IT Picciano.pptx por apicciano
CUNY IT Picciano.pptxCUNY IT Picciano.pptx
CUNY IT Picciano.pptx
apicciano60 visualizações
MercerJesse3.0.pdf por jessemercerail
MercerJesse3.0.pdfMercerJesse3.0.pdf
MercerJesse3.0.pdf
jessemercerail92 visualizações
Berry country.pdf por MariaKenney3
Berry country.pdfBerry country.pdf
Berry country.pdf
MariaKenney361 visualizações
Java Simplified: Understanding Programming Basics por Akshaj Vadakkath Joshy
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming Basics
Akshaj Vadakkath Joshy625 visualizações
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf por Dr Vijay Vishwakarma
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdfSTRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf
STRATEGIC MANAGEMENT MODULE 1_UNIT1 _UNIT2.pdf
Dr Vijay Vishwakarma90 visualizações
Parts of Speech (1).pptx por mhkpreet001
Parts of Speech (1).pptxParts of Speech (1).pptx
Parts of Speech (1).pptx
mhkpreet00143 visualizações
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 por MysoreMuleSoftMeetup
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
MysoreMuleSoftMeetup44 visualizações
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
DivyaSheta246 visualizações
EILO EXCURSION PROGRAMME 2023 por info33492
EILO EXCURSION PROGRAMME 2023EILO EXCURSION PROGRAMME 2023
EILO EXCURSION PROGRAMME 2023
info33492181 visualizações
Meet the Bible por Steve Thomason
Meet the BibleMeet the Bible
Meet the Bible
Steve Thomason76 visualizações
Six Sigma Concept by Sahil Srivastava.pptx por Sahil Srivastava
Six Sigma Concept by Sahil Srivastava.pptxSix Sigma Concept by Sahil Srivastava.pptx
Six Sigma Concept by Sahil Srivastava.pptx
Sahil Srivastava40 visualizações

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