A travelling salesman knocks on a door, which is opened by a 12 year old in a bathrobe, holding a cigar and a snifter of cognac

The salesman is shocked, but manages to say, "Excuse me, is your dad home?"

The kid responds, "What the hell do you think?"

πŸ‘︎ 61
πŸ’¬︎
πŸ‘€︎ u/edfitz83
πŸ“…︎ Jan 20 2022
🚨︎ report
Big Dawg - The Travelling "Salesman"
πŸ‘︎ 298
πŸ’¬︎
πŸ‘€︎ u/SeeYawnDie
πŸ“…︎ Dec 10 2021
🚨︎ report
Travelling salesman project

Hello,

I’m doing a project on the travelling salesman problem. I found the upper and lower bounds and used the Christofides Algorithm. However my solution from the Christofides algorithm is 0.9 times my lower bound (I expected it to be 1-1.5 times my lower bound which I assume to be the optimal solution). I have checked my lower bound calculations using both Kruskal’s and Prim’s algorithm however it’s still the same. Can anyone explain why this is happening? Any advice regarding how to improve my lower bound or better explain the reason for this would be much appreciated :)

Thanks

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/anc_002
πŸ“…︎ Jan 25 2022
🚨︎ report
Travelling Salesman

Hey guys, can someone please let me visit their teapot so I can do travelling salesman. UID 849937440.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/WeekOld8282
πŸ“…︎ Jan 15 2022
🚨︎ report
Travelling Salesman of world map visualisation
πŸ‘︎ 85
πŸ’¬︎
πŸ‘€︎ u/zuulosgyrados
πŸ“…︎ Nov 04 2021
🚨︎ report
Travelling salesman
πŸ‘︎ 38
πŸ’¬︎
πŸ‘€︎ u/magicgoatfly
πŸ“…︎ Dec 07 2021
🚨︎ report
dantzig-fulkerson-johnson formulation (travelling salesman problem)

i’ve been trying to understand this formula since a very long time. If anyone would be kind enough to send me a solved example or point me to one i would be eternally grateful.

πŸ‘︎ 4
πŸ’¬︎
πŸ“…︎ Dec 12 2021
🚨︎ report
Routing is unsolvable. Human brain avoids Travelling Salesman Problem through Vector Based Navigation techxplore.com/news/2021-…
πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/BitcoinUser263895
πŸ“…︎ Oct 19 2021
🚨︎ report
The Travelling Salesman Problem Greedy Approach Algorithm

This website says

The greedy algorithm goes as follows:

  1. Sort all of the edges in the network.
  2. Select the shortest edge and add it to our tour if it does not violate any of the following conditions: there are no cycles in our tour with less than n edges or increase the degree of any node (city) to more than 2.
  3. If we have n edges in our tour stop, if not repeat step 2.

What does "there are no cycles in our tour with less than n edges" mean exactly? To my understanding, it simply means that the cycle has to have less than n edges? So basically when I reach n edges, I stop, which is what rule 3 says

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/abdulahad1234
πŸ“…︎ Dec 04 2021
🚨︎ report
Archaeology collections are a cross-reference nightmare and I feel like a travelling salesman, not a skilled archaeologist.

I'm new to this and never really use reddit so be gentle, i'm doing my best to explain this.

Skill: Archaeology

Problem: I have a bunch of partially completed collections, and like 60-80 bank spaces of artefacts etc. Some damaged some repaired. I want to take repair said artefacts and take them to the collector, but whenever I start looking at doing this, I just get drowned in tables, cross referencing, names and locations.

Suggested solution: A higher level overview of status within the game interface that helps indicate what you have in bank, what status its in, what mats you have to repair them, and if you have all the items needed to complete a collection.

Discussion/example: I understand that I can click a single item to see what collections in belongs to, and I can go to a collection and see what items it contains. So now I need to check the bank to see if I have all the items, but i've forgotten most of the names of the items so it takes about 10 minutes to check if I have everything. But then I also know that some of those artefacts go in multiple collections so I need to work out if I have enough of the artefacts for all the collections, and what other items are needed in those other collections to see if could complete them to make this worth doing. I also have to find if I have the mats to repair all the artefacts I would need to do those collections. Of course I don't have enough artefacts so then need decide which collection I'm going to try and complete with what I have. Decision made, I get all the artefacts and visit the collector and hand them all in, only to realise I missed one, and need another 10 levels to get it. Time wasted. Ultimately, I like the idea of completing collectors collections after finding and repairing the artefacts, but I find it a cross-reference nightmare. I end up in a situation where I end up trying to brute force it by having too much of everything and then it feels like I'm a travelling salesman not a skilled archaeologist.

πŸ‘︎ 122
πŸ’¬︎
πŸ“…︎ Aug 29 2021
🚨︎ report
Finally obtained the forest-patrol hound pet from the teapot travelling salesman which looks like my irl dog! reddit.com/gallery/nj9u8g
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/The_Leumaster
πŸ“…︎ May 23 2021
🚨︎ report
For years computer scientist have wrestled with the Travelling Salesman Problem.
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Mticore
πŸ“…︎ Oct 22 2021
🚨︎ report
Travelling Salesman Problem with python and gurobi

I am currently working on a college project with a partner (both industrial engineers). We were planning on doing a travelling salesman problem using Lingo, but our professor recommended checking out python and gurobi. I am fairly new to python, having only seen Mosh's tutorial around halfway. I have programmed with VBA before. Do you guys know if doing the TSP with python is viable? Or would it be extremely out of our level (given we use online resources as a base and then adapt those to our specific needs)? I am moderately confident in my abilities to learn quickly and adapt in terms of coding, even though I don't have much experience. We have around 5 weeks. Any guidance is appreciated.

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/Mr_Cupcake33
πŸ“…︎ Sep 01 2021
🚨︎ report
The sample case of a Christmas lights travelling salesman, early 1960s
πŸ‘︎ 25k
πŸ’¬︎
πŸ‘€︎ u/ClandesTyne
πŸ“…︎ Nov 02 2020
🚨︎ report
Question about multiple "Single" Travelling Salesman Problem /r/AskComputerScience/com…
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/Hellrida69
πŸ“…︎ Aug 24 2021
🚨︎ report
It would be great if the travelling salesman had more than just mountains and pets for sale

Considering he is a limited time vendor he should have a random assortment of furnishings from the realm depot shop (and have them cost half their normal price). Because as it stands, the furnishings are quite expensive and you're obviously limited to how many you can purchase per day.

πŸ‘︎ 474
πŸ’¬︎
πŸ‘€︎ u/Realshotgg
πŸ“…︎ Jun 01 2021
🚨︎ report
Travelling Salesman, me, 3D, 2021
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/RaphaFabris
πŸ“…︎ Mar 27 2021
🚨︎ report
"Routing is unsolvable. Human brain avoids Travelling Salesman Problem through Vector Based Navigation" (x-post /r/TheLightningNetwork) reddit.com/r/TheLightning…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Qwahzi
πŸ“…︎ Oct 20 2021
🚨︎ report
Travelling Salesman!
πŸ‘︎ 416
πŸ’¬︎
πŸ‘€︎ u/RaphaFabris
πŸ“…︎ Mar 27 2021
🚨︎ report
[OoT] & [MM] The travelling Happy Mask Salesman. I created this short piece as part of an online Youtube challenge, using provided motion caption data for the character & a sphere in the top right. I immediately thought of the HMS & began working on the story of his journey between Oot & MM. v.redd.it/3zdq7nu6iz371
πŸ‘︎ 66
πŸ’¬︎
πŸ‘€︎ u/Liamblenkinsop
πŸ“…︎ Jun 08 2021
🚨︎ report
Travelling Salesman Problem Complexity

The Travelling Salesman Problem (TSP) is known to be NP-Hard. However for a problem to be NP-Hard, it should be in the NP Class in the first place. According to these slides made by a Stanford professor, the NP class consists of all decision problems of which a "yes" answer can be efficiently verified and a decision problem is any problem that has a yes/no answer (Page 10 of the pdf).

How is the TSP a decision problem and how is a "yes" answer efficiently verified for the decision problem version of the TSP?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/mich5250
πŸ“…︎ Jul 21 2021
🚨︎ report
If you build DAOs, study ants. "They adapt to changing conditions (sudden food availability, environmental disturbance, predators). Their nests thermoregulate, balancing solar collection & ventilation. They can even solve NP-hard problems like Travelling Salesman when they forage..." blog.colony.io/the-future…
πŸ‘︎ 86
πŸ’¬︎
πŸ‘€︎ u/Razaberry
πŸ“…︎ Apr 18 2021
🚨︎ report
Courtesy of teapot travelling salesman, if anyone wishes to join the pot, dm/ reply
πŸ‘︎ 25
πŸ’¬︎
πŸ‘€︎ u/Moiraodearan
πŸ“…︎ Apr 29 2021
🚨︎ report
Travelling Salesman
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/zoidbergx
πŸ“…︎ Sep 05 2020
🚨︎ report
Travelling salesman problem where weights are a function of time

I want to create an algorithm to optimise the route a delivery car should follow in order to minimise time.

Basically the travelling salesman problem but the weights of the edges change over time depending on traffic (I already know the weights of the edges at all times).

Does anyone know what has already been done to solve this problem?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/tereso_mathlete
πŸ“…︎ Jun 18 2021
🚨︎ report
[1976] Pennies from Heaven-A travelling sheet music salesman with an uptight wife throws everything away for the love of an innocent school teacher in the romantic spirit of the music he loves. youtube.com/playlist?list…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/irish66
πŸ“…︎ Aug 17 2021
🚨︎ report
[WP] Your father is a spy. Your mother is a soldier. Your brother is a politician. Your sister is a CEO. You are a travelling salesman. Suddenly all your family DIE and through terrible luck you become responsible for all of their actions in the run up to their deaths. It's also Christmas.
πŸ‘︎ 16
πŸ’¬︎
πŸ“…︎ Jul 05 2021
🚨︎ report
[1971] Bless This House - Sitcom about life in Putney, where travelling stationery salesman Sid Abbott (Sid James) and his wife Jean (Diana Coupland) live with their teenagers: Mike is fresh from art college and more pre-occupied with protests than finding a job; and trendy schoolgirl Sally. dailymotion.com/video/x6w…
πŸ‘︎ 23
πŸ’¬︎
πŸ‘€︎ u/TwoForTheMorgue
πŸ“…︎ Jul 07 2021
🚨︎ report
Travelling Salesman Problem - As the crow flies /r/gis/comments/mpabap/tr…
πŸ‘︎ 8
πŸ’¬︎
πŸ‘€︎ u/mtfreestyler
πŸ“…︎ Apr 12 2021
🚨︎ report
How many days can the travelling salesman travel?

Hi, just finished a coding interview online. Absolutely failed it! Hard problem, and they barely give you any time to solve it (30mins). This is the problem. Do you know what this is called, in the general sense? I thought I might be a weighted longest path problem

You are given n integers. Each integer represents a city, and the number times you can travel TO that city.

How many times can a traveling salesman travel, starting from the first city, before he cannot travel to any more cities?

example: for the input 7 2 3, the salesman can travel to the first city 7 times, the 2nd city 2 times, and the 3rd city 3 times.

I didn't think this was a very good interview question. Certainly not only at 30mins

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/proboardslolv5
πŸ“…︎ May 21 2021
🚨︎ report
[WP] A travelling salesman offers you a superpower of your choice. His twin offers the opposite power to your best friend. You two don’t know this until after you’ve become superheroes and meet on opposite ends of a mission.
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/Zytharros
πŸ“…︎ Jul 07 2021
🚨︎ report
I've made a Genetic Algorithm for The Travelling Salesman Problem that calculates the answer QUICK

EDIT - I am receiving a lot of criticism for misleading people with my title. I would like to clarify. With my initial testing I found than when the points were ******NON-randomised i.e in a circle. I am able to solve the problem every time to the best solution (you can try this for yourself... I have tested this up to 400 points and it completes every run and in a pretty quickly time considering the amount of possible routes). I determine the solution is found when the route is in sequential order from 0 to the total points or the reverse of this.

******non randomised does not imply that the algorithm has any prior knowledge of the best route and all initial routes are populated at random.

https://reddit.com/link/k8c3jd/video/8eo0j76xdq361/player

If you don't know, The travelling salesman problem is an optimisation problem. Given a list of n points, you need to calculate the shortest distance between them all. Which route will you take?

Real world applications involve solving problems for delivery drivers most efficient delivery route etc.

Imagine a world with 100 cities and you need to go to them all.. Which route will you take?

100 points to choose from has (N-1)! / 2 possibilities (divided by two because each route can also be done in reverse)

How many possibilities is that? Its big... (correct me if i'm wrong)

466,631,077,219,720,768,248,848,888,576,312,920,744,944,336,736,344,592,320,432,120,192,648,432,664,448,048,464,160,152,768,040,368,600,128,056,864,248,176,200,472,360,208,208,680,872,472,888,184,392,032,568.

What is a genetic algorithm then? Random routes are populated into a group of what I see as "workers", the best of the bunch are "mated" together to get a new set of directions and this is then passed onto the rest of the workers (simulated breeding), then add a dash of "mutation" to their routes and were good to go.

Only problem I found is with my implementation on some configurations of points it gets stuck. It gets close but then it can go no further - it probably would get there eventually, but I haven't got time.

So I've added another layer. Groups of "workers" which I call "families". The workers are bred incestuously every generation and then between families less frequently.

I'm my testing it appears to perform much better on harder tasks.

Code:

https://github.com/lewis-morris/python-tsp

πŸ‘︎ 116
πŸ’¬︎
πŸ‘€︎ u/LewisgMorris
πŸ“…︎ Dec 07 2020
🚨︎ report
Travelling Salesman Problem with python and gurobi

I am currently working on a college project with a partner (both industrial engineers). We were planning on doing a travelling salesman problem using Lingo, but our professor recommended checking out python and gurobi. I am fairly new to python, having only seen Mosh's tutorial around halfway. I have programmed with VBA before. Do you guys know if doing the TSP with python is viable? Or would it be extremely out of our level (given we use online resources as a base and then adapt those to our specific needs)? I am moderately confident in my abilities to learn quickly and adapt in terms of coding, even though I don't have much experience. Any guidance is appreciated.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Mr_Cupcake33
πŸ“…︎ Sep 01 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.