Skip to content

Commit

Permalink
Add a warning about the changes introduced in #20
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnimuc authored Jan 2, 2023
1 parent 97ad440 commit 8918b9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ julia> assignment, cost = hungarian(weights)
([2, 1, 3], 2)
```

**Note: This package does not support `Inf` weights. All `Inf`s are converted to `prevfloat(typemax(T))` before running the munkres algorithm. **

## Usage
When solving a canonical assignment problem, namely, the cost matrix is square, one can directly get the matching via `Hungarian.munkres(x)` instead of `hungarian(x)`:
```julia
Expand Down

0 comments on commit 8918b9a

Please sign in to comment.