Live data from Hacker News

My Efforts to solve "Travelling salesman problem" through JavaScript

activegeek22.wordpress.com

1–10 of 11 posts

Re: My Efforts to solve "Travelling salesman problem" through JavaScript

#3
post #2

Keeps getting Application Error

It is uploaded on heroku app and heroku gives one dyno(Instance) as it is my free account. So if my app crashes then it will take 5-10 minutes to work again. So wait for sometime it will be fixed automatically. If you want you can download npm package and test it. Link for the same is mentioned on my blog.

Re: My Efforts to solve "Travelling salesman problem" through JavaScript

#7

Your English is a bit stilted in places - "Just check that the distance from A-B and B-A are not equal because it is the distance related to road.". And I'm getting Application Errors too.

Sorry for the bad explanation but I mean to say that when we travel through road it does not necessary that distance form A-B and B-A will be same and you can check my app on http://short-route-demo.ap01.aws.af.cm/ I have only one instance on heroku and it was crashed, so now finally uploaded to appfog

Re: My Efforts to solve "Travelling salesman problem" through JavaScript

#8
post #2

Keeps getting Application Error

So uploaded on a appfog http://short-route-demo.ap01.aws.af.cm/ Now you can check.

That works better. When I only type two cities it adds an undefined city, which won't go away.

Re: My Efforts to solve "Travelling salesman problem" through JavaScript

#9
post #8

Earlier quoted context omitted.

So uploaded on a appfog http://short-route-demo.ap01.aws.af.cm/ Now you can check.

That works better. When I only type two cities it adds an undefined city, which won't go away.

It's a wierd issue because on my localhost everything is fine but when i deploy it to some servers like appfog or heroku then this issue comes. I am checking logs and trying hard to fix it. But if you are getting this error try refresh the page and try again.

Re: My Efforts to solve "Travelling salesman problem" through JavaScript

#10

Your English is a bit stilted in places - "Just check that the distance from A-B and B-A are not equal because it is the distance related to road.". And I'm getting Application Errors too.

Sorry for the bad explanation but I mean to say that when we travel through road it does not necessary that distance form A-B and B-A will be same and you can check my app on http://short-route-demo.ap01.aws.af.cm/ I have only one instance on heroku and it was crashed, so now finally uploaded to appfog

>>paris london berlin

>The shortest Distance is paris to london to paris accounting upto 0 kilometers.

You've got a bug somewhere.

Post reply on HN