Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KN-PMP: solve standard PMP once any k>=p #428

Open
jGaboardi opened this issue Dec 10, 2023 · 0 comments
Open

KN-PMP: solve standard PMP once any k>=p #428

jGaboardi opened this issue Dec 10, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request locate

Comments

@jGaboardi
Copy link
Member

jGaboardi commented Dec 10, 2023

Currently within the $k$-nearest $p$-median problem, we raise errors here1 and here2 when any values of k is greater than p. Perhaps we should keep this behavior in from_geodataframe(), but in _create_sparse_matrix() we should probably consider throwing a warning then defaulting to solve a standard $p$-median problem.

This should be considered after v0.6.0#414

xref #425

Footnotes

  1. in _create_sparse_matrix()

  2. in from_geodataframe()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request locate
Projects
None yet
Development

No branches or pull requests

3 participants