Metadata-Version: 2.4
Name: balinski-and-gomory
Version: 0.0.5
Home-page: https://github.com/cestwc/primal-linear-assignment
Author: cestwc
Author-email: 80936226+cestwc@users.noreply.github.com
License: MIT
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file

# Primal LAP
A Primal Method for the Assignment Problem ( M. L. Balinski, R. E. Gomory,)

```
pip install balinski-and-gomory
```

```python
from balinski_and_gomory import solve_slow, solve_hylac

import torch

n = 5
costs = torch.randint(1, 100, size=(n, n), dtype=torch.uint32)

print("Input cost matrix:")
print(costs)

print(solve_hylac(costs))

print(solve_slow(costs))
```
