Currently within the $k$-nearest $p$-median problem, we raise errors here[^1] and here[^2] 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.
Currently within the $k$-nearest $p$-median problem, we raise errors here[^1] and here[^2] when any values of
k
is greater thanp
. Perhaps we should keep this behavior infrom_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[^1]: in
_create_sparse_matrix()
[^2]: infrom_geodataframe()
xref #425