Talk:Simulated annealing: Difference between revisions

Content added Content deleted
(travel cost precision)
No edit summary
Line 12: Line 12:


:: The cost is the euclidian distance, and the distance is the cost. 4 exemples are given. To compute the cost between two cities a and b at (xa,ya) (xb,yb), use sqrt (xa-xb)^2 + (ya - yb)^2 .--[[User:G.Brougnard|G.Brougnard]] ([[User talk:G.Brougnard|talk]]) 17:28, 23 March 2016 (UTC)
:: The cost is the euclidian distance, and the distance is the cost. 4 exemples are given. To compute the cost between two cities a and b at (xa,ya) (xb,yb), use sqrt (xa-xb)^2 + (ya - yb)^2 .--[[User:G.Brougnard|G.Brougnard]] ([[User talk:G.Brougnard|talk]]) 17:28, 23 March 2016 (UTC)

::: Oh, I see it now. I'll try that. Thanks. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 17:42, 23 March 2016 (UTC)