Live Stream #57 - Traveling Salesperson

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=r_SpBy9fQuo



Duration: 2:13:21
20,529 views
313


This Live Stream is all about the classic "computer science" "Traveling Salesperson Problem." I tackle this challenge by comparing / contrasting brute force algorithms with other techniques. My goal was to solve the TSP with a genetic algorithm, but I didn't get to it this session beyond a brief discussion at the end.

8:43 - Introduction to today's challenge
17:48 - Traveling Salesperson Pt.1
41:19 - Traveling Salesperson Pt.2
1:15:10 - Traveling Salesperson Pt.3
1:42:34 - Traveling Salesperson Pt.4 (Will be continued next live stream)
1:57:50 - Conclusion

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Contact: https://twitter.com/shiffman

Links discussed in this video:
MDN Array Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array
Traveling Salesman on Wikipedia: https://en.wikipedia.org/wiki/Travelling_salesman_problem
Permutation Algorithm Using Lexicographic Ordering: https://www.quora.com/How-would-you-explain-an-algorithm-that-generates-permutations-using-lexicographic-ordering

Source Code for the Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For More Live Streams: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bxnFR6no70vlxxuxDEzflz

For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH

Help us caption & translate this video!

http://amara.org/v/U5oj/

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct







Tags:
coding
rainbow
live
traveling
p5.js
daniel shiffman
p5js
p5.js tutorial
processing tutorial
creative coding
traveling salesman
traveling salesperson
permutation
lexical ordering
lexicographic ordering
nature of code
coding challenge
genetic
genetic algorithms
genetic algorithm
algorithm
evolution
challenge
patreon
brute force
factorial
swap
javascript swap
lexicographical ordering