<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5876483784503663523</id><updated>2012-02-16T06:49:14.594-08:00</updated><category term='Yu-Chen/Kaufmann algorithm - Travelling salesman problem'/><title type='text'>Graphs Applications</title><subtitle type='html'>Traveling Salesman problem</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bocut-graphs-appl.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5876483784503663523/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bocut-graphs-appl.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>BOCUT Adrian Sebastian</name><uri>http://www.blogger.com/profile/11925094541682745312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_EozG5NnE3rU/SDmmMSDglYI/AAAAAAAAAAM/7_8brJt10-o/S220/Poza+BOCUT+Adrian+S..bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5876483784503663523.post-2923056044938296395</id><published>2009-07-01T07:49:00.000-07:00</published><updated>2009-07-18T01:38:47.490-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Yu-Chen/Kaufmann algorithm - Travelling salesman problem'/><title type='text'>Yu-Chen/Kaufmann algorithm - Travelling salesman problem</title><content type='html'>This is an combined algorithm that produces all the roads on a graph and that can be used also for cost problems, not only for minimal cost, also for maximum cost road/cycle problems. &lt;br /&gt;It is known that the Dijkstra algorithm can be applied only for the minimal road/cycle. &lt;br /&gt;&lt;br /&gt;Let’s consider the graph with 4 nodes given by the following matrix:&lt;br /&gt;A = 0 1 1 0&lt;br /&gt;      1 0 0 1&lt;br /&gt;      1 0 0 1&lt;br /&gt;      0 1 1 0&lt;br /&gt;If we want to determine the Hamiltonian circuits we can use a combination of two algorithms: Kaufmann and Strassen.&lt;br /&gt;&lt;br /&gt;Using the Kaufmann algorithm we obtain by calculus:&lt;br /&gt;&lt;br /&gt;L = 0 12 13 0&lt;br /&gt;      21 0 0 24&lt;br /&gt;      31 0 0 34&lt;br /&gt;      0 42 43 0&lt;br /&gt;&lt;br /&gt;L~ = 0 2 3 0&lt;br /&gt;         1 0 0 4&lt;br /&gt;         1 0 0 4&lt;br /&gt;         0 2 3 0&lt;br /&gt;&lt;br /&gt;L2 = L * L~&lt;br /&gt;&lt;br /&gt;From the Stassen algorithm we obtain:&lt;br /&gt;&lt;br /&gt;M1 = 123,341 0&lt;br /&gt;          0 214,432&lt;br /&gt;&lt;br /&gt;M2 = 341 312&lt;br /&gt;          421 432&lt;br /&gt;&lt;br /&gt;M3 = -123 124&lt;br /&gt;          213 214&lt;br /&gt;&lt;br /&gt;M4 = -341 342&lt;br /&gt;          431 -432&lt;br /&gt;&lt;br /&gt;M5 = 123 134&lt;br /&gt;          243 214&lt;br /&gt;&lt;br /&gt;M6 = 0 312,-124&lt;br /&gt;          -213,421 0&lt;br /&gt;&lt;br /&gt;M7 = 0 134,-342&lt;br /&gt;          -431,243 0&lt;br /&gt;&lt;br /&gt;C11 = 0 0&lt;br /&gt;           0 0&lt;br /&gt;C12 = 0 124,134&lt;br /&gt;           213,243 0&lt;br /&gt;&lt;br /&gt;C21 = 0 312,342&lt;br /&gt;           421,431 0&lt;br /&gt;&lt;br /&gt;C22 = 0 0&lt;br /&gt;           0 0&lt;br /&gt;&lt;br /&gt;If we want to determine all the circuits with length 1-&gt;n, this algorithm is polinomial.&lt;br /&gt;For each step – each Lk (the k-th power of L), using the Stassen algorithm we use k^(log2 (7)) steps; if we want to determine all the circuits we have to done S operation, where S = sum(x^i) with x from 1-n and i = log2 (7).&lt;br /&gt;We can see an explanation of how to compute all these sums on:&lt;br /&gt;http://mathforum.org/library/drmath/view/56018.html&lt;br /&gt;&lt;br /&gt;So, the algorithm Kaufmann-Stassen for determine the Hamiltonian circuits is of order O(n^x) where x = log2 (7) + 1.&lt;br /&gt;&lt;br /&gt;Bibliography:&lt;br /&gt;&lt;br /&gt;1.http://en.wikipedia.org/wiki/Strassen_algorithm"&gt;http://en.wikipedia.org/wiki/Strassen_algorithm&lt;br /&gt;&lt;br /&gt;2. www.asecib.ase.ro/Mitrut%20Dorin/Curs/bazeCO/doc/33Grafuri.doc&lt;br /&gt;&lt;br /&gt;3.http://mathforum.org/library/drmath/view/56018.html&lt;br /&gt;&lt;br /&gt;The hamiltonian cycles on a graph can be determined by combining the two algorithms:&lt;br /&gt;Yu-Chen - Latin matrix and the Strassen product of matrices. In this case the algorithm will be faster than the classic method using the DF visiting method.&lt;br /&gt;&lt;br /&gt;This algorithm can be used for the robots that produce PCBs; instead of using only one "hand" the robot can use more "hands" and can begin for multiple corners.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5876483784503663523-2923056044938296395?l=bocut-graphs-appl.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bocut-graphs-appl.blogspot.com/feeds/2923056044938296395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5876483784503663523&amp;postID=2923056044938296395' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5876483784503663523/posts/default/2923056044938296395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5876483784503663523/posts/default/2923056044938296395'/><link rel='alternate' type='text/html' href='http://bocut-graphs-appl.blogspot.com/2009/07/yu-chenkaufmann-algorithm-travelling.html' title='Yu-Chen/Kaufmann algorithm - Travelling salesman problem'/><author><name>BOCUT Adrian Sebastian</name><uri>http://www.blogger.com/profile/11925094541682745312</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://bp0.blogger.com/_EozG5NnE3rU/SDmmMSDglYI/AAAAAAAAAAM/7_8brJt10-o/S220/Poza+BOCUT+Adrian+S..bmp'/></author><thr:total>0</thr:total></entry></feed>
