Skip to content

Commit

Permalink
NOT supporting v0.6 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
chkwon committed Jan 19, 2017
1 parent dc76caa commit 86daf15
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ os:
- osx
julia:
- 0.5
- nightly
# - nightly

This comment has been minimized.

Copy link
@tkelman

tkelman Jan 21, 2017

Contributor

you could make this an allowed failure so it'll run but not make your status red

This comment has been minimized.

Copy link
@chkwon

chkwon Jan 23, 2017

Author Owner

@tkelman Glad to know it is possible. Thanks!

notifications:
email: false
script:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This package for [the Julia Language](http://www.julialang.org) does basically t
julia> Pkg.add("TrafficAssignment")
```

This will install [LightGraphs.jl](https://github.com/JuliaLang/LightGraphs.jl) and [Optim.jl](https://github.com/JuliaOpt/Optim.jl), if you don't have them already.
This will install [LightGraphs.jl](https://github.com/JuliaGraphs/LightGraphs.jl) and [Optim.jl](https://github.com/JuliaOpt/Optim.jl), if you don't have them already.

To check if works
```julia
Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
julia 0.5
julia 0.5 0.6
LightGraphs 0.7 0.8
Optim 0.7 0.8
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
environment:
matrix:
- JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.5-latest-win32.exe"
- JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.5-latest-win64.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
- JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
# - JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe"
# - JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe"

branches:
only:
Expand Down
7 changes: 3 additions & 4 deletions src/misc.jl
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@


function TA_dijkstra_shortest_paths(graph, travel_time, origin, start_node, end_node)

no_node = nv(graph)
no_arc = ne(graph)

distmx = Inf*ones(no_node, no_node)
for i in 1:no_arc
distmx[start_node[i], end_node[i]] = travel_time[i]
end
for i in 1:no_arc
distmx[start_node[i], end_node[i]] = travel_time[i]
end

state = dijkstra_shortest_paths(graph, origin, distmx)
return state
Expand Down

0 comments on commit 86daf15

Please sign in to comment.