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

Review messaging in KN-PMP #426

Merged
merged 6 commits into from
Dec 10, 2023
Merged

Conversation

jGaboardi
Copy link
Member

This MR:

xref #414

@jGaboardi jGaboardi requested review from ljwolf and gegen07 December 10, 2023 02:03
@jGaboardi jGaboardi self-assigned this Dec 10, 2023
@jGaboardi jGaboardi mentioned this pull request Dec 10, 2023
25 tasks
Copy link

codecov bot commented Dec 10, 2023

Codecov Report

Merging #426 (9219fa9) into main (a330389) will not change coverage.
The diff coverage is 100.0%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #426   +/-   ##
=====================================
  Coverage   77.8%   77.8%           
=====================================
  Files         27      27           
  Lines       2638    2638           
=====================================
  Hits        2053    2053           
  Misses       585     585           
Files Coverage Δ
spopt/locate/p_median.py 98.6% <100.0%> (ø)

@jGaboardi
Copy link
Member Author

I need to update the test for this. Will push up a fix shortly.

@@ -547,7 +547,7 @@ def solve(self, solver: pulp.LpSolver, results: bool = True):
class KNearestPMedian(PMedian):
r"""
Implement the P-Median Model with Near-Far Cost Allocation and solve it.
The model is adapted from :cite:`richard_2018`, can be formulated as:
The model is adapted from :cite:`richard_2018`, and can be formulated as:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be keyed "church_2018", no?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyway, I don't mind if it's not.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it snuck in as richard_2018 .

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll throw in a quick PR for a fix.

@ljwolf ljwolf merged commit e02a6df into pysal:main Dec 10, 2023
10 checks passed
@jGaboardi jGaboardi deleted the warning_errors_review_knpmp branch December 10, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KN-PMP – review warnings & error messages
2 participants