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
Currently within the$k$ -nearest $p$ -median problem, we raise errors here1 and here2 when any values of $p$ -median problem.
kis 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 standardThis should be considered after
v0.6.0– #414xref #425
Footnotes
in
_create_sparse_matrix()↩in
from_geodataframe()↩