16,009,965 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by j4rey89 (Top 7 by date)
j4rey89
6-May-16 7:33am
View
That's disappointing...all the time I was thinking that there was something wrong will my code.....So genetic algorithm with random changes alone wouldn't give optimal solution......What would be your suggestion, if I wanted an optimal solution? Perhaps combining Neural Network with Genetic Algorithm Or perhaps should I apply some use of minimum spanning tree(MST)? Will Simulated Annealing give a better result?
j4rey89
6-May-16 3:17am
View
yeah....so i thought I took it to the next phase by feeding it 10 scattered points.It usually gives me a decent solution of around 1300, however sometimes gives an output of around 1400-1500. But when I fed it 20 Cities, 9 out of 10 times it gave a horrible output of 3000, and occasionally an optimum output of around 1800.
I'd figure it would be right to ask this here, so I posted another question regarding it here (http://www.codeproject.com/Questions/1098223/Genetic-algorithm-for-TSP-getting-stuck-with-ineff). Looking forward to your input there. Many thanks.
j4rey89
6-May-16 1:55am
View
Ah.....Okay, I get it now, the loop, I wasn't calculating the return to the starting point....
j4rey89
5-May-16 7:08am
View
Hi Amt-Coder, I have come across similar problem,here's my full code (http://www.codeproject.com/Questions/1097913/Genetic-algorithm-for-TSP-getting-stuck-with-ineff), have you solved it? And would you mind sharing your project?
j4rey89
5-May-16 7:02am
View
How do I improve on it? I would like it to get as close as possible to the best solution(which is about 380-420). I would really appreciate it if you could suggest me any additional logic which I could add to the solution or perhaps any modification on the current solution.
j4rey89
5-May-16 6:09am
View
now? ( ´△`)
j4rey89
5-May-16 2:38am
View
Sorry for not adding a description, I have edited my question and have described the problem I am facing....thanks
Show More