[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
If you had a traveling salesman problem with 1000 points, what's
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /sci/ - Science & Math

Thread replies: 15
Thread images: 1
File: image.jpg (36 KB, 405x437) Image search: [Google]
image.jpg
36 KB, 405x437
If you had a traveling salesman problem with 1000 points, what's the first thing you would do to solve it?
>>
greedy
>>
>>7663110
>what's the first thing you would do to solve it?
I would solve it.
>>
>>7663158
/thread
>>
>>7663110
I wrote an ant colony optimization simulation for """solving""" this problem for my java class last year.
>>
>>7663183
How close did it get to the optimal solution?
>>
>>7663110
visiting wiki and looking up solving algorithms
>>
>>7663154
That's awful for TSP tho senpai.
>>
some sort of heuristic
>>
>>7663110
You should probably research known approximation algorithms for this problem.
>>
>>7663110
deep recurrent neural network with genetic step function
>>
try generating lots of random walks and hope that statistics of the graph are nice enough
>>
>>7663110
You don't solve it you approximate it. This can literally range from greedy as suggested before to a whole range of more complex shit. Basically if you need to show you've done something do a greedy and then make it better with 2-opt.
>>
>>7663244
I don't know what the optimal solution was, but the solutions I got seemed pretty good.
>>
>>7664139
still the first thing I would try
if only to see if my boilerplate works
Thread replies: 15
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.