Comments (4)
Easy enough to programatically check via
a = fill(NaN, 3, 3)
all(isnan.(a))
from lightgraphsflows.jl.
before closing the issue, a similar problem occurs with unbounded mincost problem, in case of a path with negative cost and infinite capacity:
julia> flow = mincost_flow(g, capacity, demand, w, 5, 6)
WARNING: Not solved to optimality, status: Unbounded
6×6 Array{Float64,2}:
0.0 0.0 0.0 1.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 1.0
1.0 0.0 0.0 0.0 0.0 0.0
0.0 0.0 0.0 0.0 0.0 0.0
(the path 5->1->4->6 should have a flow of +Inf)
from lightgraphsflows.jl.
Is the algorithm employed in the function mincostflow polynomial? If not, is there a possibility to replace the current function with a faster polynomial algorithm?
from lightgraphsflows.jl.
@elchiconuevo sorry I am replying extremely late: yes mincostflow is using a simplex solver under the hood, so polynomial in practice
from lightgraphsflows.jl.
Related Issues (20)
- Edmonds Karp Algorithm for maximum flows not returning the labels for the s-t min cut HOT 8
- mincost_flow() example code HOT 2
- Error tagging new release
- Switch MathProgBase for MathOptInterface.jl HOT 6
- Warnings in Julia v0.7 HOT 2
- mincost() return dual variables HOT 7
- Warnings in Julia v0.7 HOT 2
- Flow algorithms work only for directed graphs? HOT 2
- Returning list of paths in Edmond Karp's HOT 3
- Incorrect MinCut result HOT 9
- never ending max flow algorithm HOT 8
- Error while computing the st min cut HOT 5
- Add Ford - Fulkerson to Max Flow
- Max flow with weighted graphs HOT 8
- Never ending min-cut with push-relabel algorithm HOT 3
- Bug introduced in BoykovKolmogorovAlgorithm HOT 10
- Unable to run mincost_flow in latest version HOT 8
- TagBot trigger issue HOT 1
- Clean up `multiroute_flow` to correct type instability
- Min cost flow docs src link points to a wrong version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightgraphsflows.jl.