Skip to content

lapjv has been integrated in lapx v0.7.0 #91

@rathaROG

Description

@rathaROG

Hello,

No issue, but I would like to share that the recent release of lapx v0.7.0 has introduced a new function called lapjvs, which its source is derived from this project. lapjvs has had all the special intruction sets removed, so its performance may differ; however, anyone can try and see.

Example in the original lapjv:

from lapjv import lapjv
x, y, _ = lapjv(costs)

Similarly, in lapjvs:

import lap  # Yes! Use `import lap` | pip install -U lapx
# same x y map return style
x, y = lap.lapjvs(costs, return_cost=False, jvx_like=False)
# or scipy style
row_indices, col_indices = lap.lapjvs(costs, return_cost=False, jvx_like=True)

lapjvs supports both square and rectangular input costs while lapx provides pre-built wheels for all major platforms and architectures from Python 3.7 to 3.14, as lapx aims to provide its users with more choices under a unified API. Find out more about lapjvs here.

Best regards,
rathaROG

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions