spopt icon indicating copy to clipboard operation
spopt copied to clipboard

Spatial Optimization

Results 53 spopt issues
Sort by recently updated
recently updated
newest added

Currently, we have a mishmash of decision variable notation within the `locate` models that are based on the original models' formulations, adaptation of such, or something. We should standardize them...

locate
rough edge

lint the `spopt/tests/*` directory

maintenance

Following up from #347, we should add more detailed instructions for `pulp`/`cbc` installation in: * `README.md` * `docs/installation.rst` cc @qszhao

solvers & solver apis
locate
installation

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...

enhancement
locate

Since we now have capacitated versions of both the [`LSCP`](https://github.com/pysal/spopt/blob/28dcd5016d990f1a3a65db2a11253457b52d5205/spopt/locate/coverage.py#L294), [`PMP`](https://github.com/pysal/spopt/blob/28dcd5016d990f1a3a65db2a11253457b52d5205/spopt/locate/p_median.py#L322), and [`KN-PMP`](https://github.com/pysal/spopt/blob/28dcd5016d990f1a3a65db2a11253457b52d5205/spopt/locate/p_median.py#L857), we should implement the capacitated schema in the following as time permits: * [ ] [`LSCP-B`](https://github.com/pysal/spopt/blob/28dcd5016d990f1a3a65db2a11253457b52d5205/spopt/locate/coverage.py#L746) *...

enhancement
locate

As demonstrated in #352 and resolved in #384, the strict binary implementation of predefined facilities needed clearer explanation. To further the ease of use, we should consider adding functionality for...

enhancement
locate

We should look at swapping out [`simulated_geo_points()`](https://github.com/pysal/spopt/blob/main/spopt/locate/util.py#L8) with new [`sample_points()` geopandas method](https://geopandas.org/en/stable/docs/changelog.html#version-0-13-may-6-2023).

enhancement

Following #279, we should focus back on: * exposing & documenting current functionality * [ ] #101 * skater [9a74373](https://github.com/pysal/spopt/pull/333/commits/9a74373e5e4ff804e1447f936823323c52acee54) * [ ] #170 * [x] #172 (eec3ab2) * [...

maintenance
docs

There seems to never have been a `spenc` example notebook added here. Probably use @ljwolf's [original](https://github.com/ljwolf/spenc/blob/master/example.ipynb) as a base to start from, along with the [Texas votes data](https://github.com/ljwolf/spenc/blob/master/US_County_Level_Presidential_Results_08-16.csv). @ljwolf Any...

notebooks/binders
region

In the *References* section of the `spopt` doc site, when a reference occupies a single line the subsequent reference is indented. This leads to a cascading effect that is only...

docs
rough edge