Skip to content

Commit

Permalink
LightGraphs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Changhyun Kwon committed Oct 7, 2015
1 parent df4e3c0 commit 5ab650a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_install:
- sudo apt-get install libpcre3-dev julia -y
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.add("Graphs"); Pkg.add("Optim"); Pkg.test("TrafficAssignment")'
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.add("LightGraphs"); Pkg.add("Optim"); Pkg.test("TrafficAssignment")'
- julia -e 'Pkg.test("TrafficAssignment", coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("TrafficAssignment")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This package for [the Julia Language](http://www.julialang.org) does basically t
julia> Pkg.add("TrafficAssignment")
```

This will install [Graphs.jl](https://github.com/JuliaLang/Graphs.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/JuliaLang/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.4-
Graphs
LightGraphs
Optim
6 changes: 0 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,3 @@ link_flow, link_travel_time, objective = ta_frank_wolfe(ta_data, method=:cfw, st

link_flow, link_travel_time, objective = ta_frank_wolfe(ta_data, method=:fw, step=:exact, log=:on, tol=1e-3, max_iter_no=5)
@assert abs( objective - 4.963799502172654e6 ) < 1e6



tic()
ta_frank_wolfe(ta_data, method=:fw, step=:exact, log=:off, tol=1e-7, max_iter_no=1000)
toc()

0 comments on commit 5ab650a

Please sign in to comment.