Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
30 Oct 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Kirk, Joseph

Alex, my code is a slight deviation from the "standard" genetic algorithm, but it has all the essential components of a GA (abstract representation of possible solutions, individual fitness evaluation, a population of potential solutions, and a method of propagating good solutions and forming new, potentially better, solutions).

There IS selection AND elitism, actually, but you are right about crossover. I don't think it is necessarily an essential component of a GA. I have implemented a handful of different versions of the GA (with various mutation/crossover operator combinations) to solve the TSP, and what I have found is that the crossover operator tends to be quite destructive (it makes large changes to a given route) and therefore rarely improves a decent solution. So my code uses 3 different mutation operators with the intent to make modifications that are more likely to improve the best solutions. (I randomly group 4 citizens at a time, take the best one of those four, and pass it on to the next generation. I then perform the 3 mutations on that best-of-four citizen and pass the mutated versions on to the next generation).

29 Oct 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Ter-Sarkissov, Alex

Great implementation, fast and furious, but...where is a genetic algorithm? There's no crossover, no selection, no elitism. It's more of a population-based hill climbing/simulated annealing, I guess.

29 Sep 2009 Dijkstra's Shortest Path Algorithm calculates the shortest path and distance between two nodes on a map Author: Joseph Kirk Knight, Benjamin

Great code, well documented and easy to apply. Note that I needed to transpose A and C matrices to get a result from this function.

03 Jun 2009 Graph GUI create/edit graphs of vertices and edges Author: Joseph Kirk Michael

just what I was looking for

02 Jun 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Dalon, Thierry

How about making a TSP Toolbox with all your TSP contributions? (around 15)!

28 May 2009 Dijkstra's Shortest Path Algorithm calculates the shortest path and distance between two nodes on a map Author: Joseph Kirk rfdgsdf, abdullah

Perfect >> thank u man ... go head

04 May 2009 Dijkstra's Shortest Path Algorithm calculates the shortest path and distance between two nodes on a map Author: Joseph Kirk Ashby, Michael

Very useful code for finding the distances from a given node to all the others.
Thanks to the author for assistance and updates.

22 Apr 2009 Cold Colormap Creates a COLD colormap that complements the built-in HOT colormap Author: Joseph Kirk D'Errico, John

You might add a see also for cool, an existing colormap with a slightly different shape in terms of colors.

Regardless, this adds another colormap option. As always, the help is what I'd expect.

07 Apr 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk yuzseksen, dokuzyuzseksen

thankss..

21 Mar 2009 Count Loops in a Graph Calculates the number of loops in a graph consisting of nodes and edges Author: Joseph Kirk Petschel, Ben

Nice code and very well documented.

Another idea uses the theory of cycle subspaces (e.g. chapter 5 of Wallis's book on graph theory) - use a spanning tree to construct the (e-v+1) fundamental cycles and then check all 2^(e-v+1) combinations to eliminate disjoint unions and figure-8's. Does this algorithm compare favourably with your tree method?

20 Mar 2009 Advanced Dijkstra's Minimum Path Algorithm calculates the shortest (least cost) path along edges of a graph using Dijkstra's Algorithm Author: Joseph Kirk peng, sun

Clear interface and detailed description. Good job! Very helpful!

04 Mar 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk jinpeng, xu

very good!
thanks

25 Feb 2009 Stopwatch Displays elapsed time from keyboard or button inputs Author: Joseph Kirk Ensalzado, Ruben

Very useful.. i'm working in an image acquisition gui, and i was about finish.. then i realized, that some people in the lab may need to know when the study is over or the elapsed time of the test.. Thanks to your gui, i can use some of your programming to finish my work on time!!

Thank you very much Joseph!

18 Jan 2009 Traveling Salesman Problem - Nearest Neighbor Finds a near-optimal solution to a TSP using Nearest Neighbor (NN) Author: Joseph Kirk Vijay, Sandip

09 Jan 2009 Drag Patches Demo shows how to create patches that can be clicked and dragged around Author: Joseph Kirk Foxgrover, Paul

Very helpful! Thanks you very much!

26 Dec 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk A.I, shaima

so good ..
and very useful
but it would be better if you explain the graphical result

thanks so much

01 Dec 2008 Dijkstra's Shortest Path Algorithm calculates the shortest path and distance between two nodes on a map Author: Joseph Kirk Yin, Weihao

14 Nov 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Mahdieh

this was awesome, nice job
though for 1000 points, took very long ...

13 Nov 2008 Advanced Dijkstra's Minimum Path Algorithm calculates the shortest (least cost) path along edges of a graph using Dijkstra's Algorithm Author: Joseph Kirk Sal

Hello Kirk...is there a way I can email you a question?

03 Nov 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk ira, hudmem

thanks nice written

26 Oct 2008 Advanced Dijkstra's Minimum Path Algorithm calculates the shortest (least cost) path along edges of a graph using Dijkstra's Algorithm Author: Joseph Kirk Sal

Thank you I applied to a large graph and it handled it in record time...Good Job...

16 Oct 2008 Traveling Salesman Problem - Nearest Neighbor Finds a near-optimal solution to a TSP using Nearest Neighbor (NN) Author: Joseph Kirk Goju, Kururunfa

Very nice. It could benefit from the fact of working with TSPLIB files...

03 Oct 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk rachakonda, venugopal

good

01 Oct 2008 Fixed Start Open Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a "open" variation of the M-TSP with fixed start points using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

01 Oct 2008 Open Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a "open" variation of the M-TSP using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

01 Oct 2008 Fixed Endpoints Open Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a "open" variation of the M-TSP with fixed endpoints using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

01 Oct 2008 Multiple Variable Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a variation of the MTSP with variable number of salesmen using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

01 Oct 2008 Fixed Start/End Point Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a variation of the M-TSP with fixed endpoints using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

01 Oct 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Author, The

Update: The SINGLES parameter has been replaced with a more generalized MIN_TOUR.

26 Sep 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Kolla, Naresh

This would be better if it is extended by taking some more conditions

25 Sep 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Author, The

João, I'm not using a binary string/word to represent the various possible solutions, if that's what you mean, but that doesn't exclude it from being a GA. GAs can take many forms, but they have (1) an abstract way of representing possible solutions (2) a method for evaluating the fitness or cost of a candidate solution (3) a population of candidate solutions (4) and a method of propagating good solutions while forming new (potentially better) solutions. This file has all of those.

25 Sep 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Silva, João

As far as I know, this is not a GA, at least not a classical one. But it is very useful as a trying tool with an evolutionary algorithm.

25 Sep 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Vijay, Sandip

24 Sep 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Rojas, Erick

good tool but very simple and dont new approach

18 Sep 2008 Binary Clock Displays the clock time in binary representation Author: Joseph Kirk Bertalan, George

Bryliant

18 Sep 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Padilla, Felipe

15 Sep 2008 Fixed Start/End Point Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a variation of the M-TSP with fixed endpoints using a GA Author: Joseph Kirk yak, barki

Thanks alot, it works superb! but could you please tell me how i can edit the number of points that a salesman visit at least? its "2" in your work but i couldnt manage to increase that number

08 Sep 2008 Stopwatch Displays elapsed time from keyboard or button inputs Author: Joseph Kirk banan, rafau

Gut

18 Aug 2008 Memory (a.k.a. Concentration) Play the classic game of Memory Author: Joseph Kirk Blaheta, Petr

only if there would by option for picture. But ... I realy enjoy this game :-)

18 Aug 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Srinivasan, Sumana

Neat tool. Easy to use.

03 Aug 2008 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk ghanbari, reza

good

27 Jul 2008 Vivid Colormap creates a personalized, vivid colormap Author: Joseph Kirk zhao, jichao

it is great work!!! And thanks for sharing with us.
jichao

25 Jul 2008 Vivid Colormap creates a personalized, vivid colormap Author: Joseph Kirk Stevens, Andrew

Whoops- forgot to rate in my previous review.

25 Jul 2008 Vivid Colormap creates a personalized, vivid colormap Author: Joseph Kirk Stevens, Andrew

Nicely done. Works well and I already received compliments from a colleague on the colormap generated with this code that I used for a figure.

30 Jun 2008 Count Loops in a Graph Calculates the number of loops in a graph consisting of nodes and edges Author: Joseph Kirk shahbazi, zahra

it is awesome!

30 Jun 2008 Advanced Dijkstra's Minimum Path Algorithm calculates the shortest (least cost) path along edges of a graph using Dijkstra's Algorithm Author: Joseph Kirk vu, thang

Thanks you, i apply it for an arborescent graph. It works perfectly.

23 Jun 2008 Multiple Traveling Salesmen Problem - Genetic Algorithm Finds a near-optimal solution to a M-TSP using a GA Author: Joseph Kirk Simon, Stefan

22 Jun 2008 Stopwatch Displays elapsed time from keyboard or button inputs Author: Joseph Kirk Powar, Arun

I added some useful coding into program.. working nice..

19 Jun 2008 Stopwatch Displays elapsed time from keyboard or button inputs Author: Joseph Kirk beyaz, emre

i love it

18 Jun 2008 Dijkstra's Shortest Path Algorithm calculates the shortest path and distance between two nodes on a map Author: Joseph Kirk Wu, Kuba

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com