Weather routing: Difference between revisions

m
(julia example)
Line 390:
const tp = minimumtimeroute(routeprob, sp)
 
println("The route taking the least time found was:\n ", tp.path,
"\nWhichnwhich has duration $(div(tp.duration, 60)) hours, $(rem(tp.duration, 60)) minutes.")
</lang>
The polar CSV file used for this solution, named polar.csv, is as follows. Note that this is a very detailed
Line 444:
<pre>
The route taking the least time found was:
Point{2,Int64}[[1, 4], [1, 5], [2, 6], [3, 7], [4, 7], [5, 7], [6, 7], [7, 7], [8, 6], [9, 5], [9, 4]]
Whichwhich has duration 4.0 hours, 39.72104601694747 minutes.
</pre>
4,105

edits