py-lapsolver icon indicating copy to clipboard operation
py-lapsolver copied to clipboard

lapsolver has been integrated in lapx v0.6.0

Open rathaROG opened this issue 3 months ago • 1 comments

Hello,

No issue, but I would like to share that the recent lapx v0.6.0 has added a new function called lapjvc, which is based on the same sources as solve_dense here. The sources of lapjvc can be found here.

Example in lapsolver:

import lapsolver
rids, cids = lapsolver.solve_dense(costs)

The example above is functionally equivalent to:

import lap  # Yes! Use `import lap` | pip install lapx
rids, cids = lap.lapjvc(costs, return_cost=False)

This integration aims to provide users of lapx with more choices under a unified API, while lapx offers pre-built wheels for all major platforms and architectures from Python 3.7 to 3.14.

If anyone has any feedback/questions, or notices any compatibility issues, please let me know here or head to the official lapx repo here!

Best regards,
rathaROG

rathaROG avatar Oct 16 '25 21:10 rathaROG