ott.tools.unreg.hungarian#
- ott.tools.unreg.hungarian(geom)[source]#
Solve matching problem using the Hungarian algorithm.
Uses the implementation from
optax.- Parameters:
geom (
Geometry) – Geometry object with square (shape[n, n])cost_matrix.- Return type:
- Returns:
The value of the unregularized OT problem, along with an output object listing relevant information on outputs.