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

default to binary assignment for clients #366

Merged
merged 12 commits into from
Dec 2, 2023

Conversation

jGaboardi
Copy link
Member

This PR (hopefully) provides a solution to #364. Simply swapping out pulp.LpInteger for pulp.LpBinary as the default in add_client_assign_variable seems to do the trick and tests pass locally. @ljwolf Can you try this out on your data to see if it resolves the issue?

@jGaboardi
Copy link
Member Author

@ljwolf Let me know what you think about this solution when you have a moment.

@ljwolf
Copy link
Member

ljwolf commented Jun 13, 2023

Yes! Looks fine!

I don't know if it will solve the problem generally, as I'm away from my windows laptop for a while that reproduced the problem.

@jGaboardi
Copy link
Member Author

Yes! Looks fine!

I don't know if it will solve the problem generally, as I'm away from my windows laptop for a while that reproduced the problem.

OK, shall we hold off merging until we can verify?

@jGaboardi
Copy link
Member Author

CI failures are not related to this PR – see #386

@jGaboardi
Copy link
Member Author

@ljwolf I think there is no harm in merging this, even if we can't verify it fixes your specific use case. Thoughts?

@ljwolf
Copy link
Member

ljwolf commented Dec 2, 2023

Indeed! Fine to merge this!

@ljwolf ljwolf merged commit 28dcd50 into pysal:main Dec 2, 2023
10 checks passed
@jGaboardi jGaboardi deleted the binary_assignment branch December 2, 2023 19:59
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.

3 participants