-
Notifications
You must be signed in to change notification settings - Fork 46
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
Fix CLSCP-SO bugs and add tests #316
Conversation
Codecov Report
@@ Coverage Diff @@
## main #316 +/- ##
=======================================
+ Coverage 73.3% 73.8% +0.5%
=======================================
Files 23 23
Lines 2452 2456 +4
Branches 475 476 +1
=======================================
+ Hits 1797 1812 +15
+ Misses 591 579 -12
- Partials 64 65 +1
|
facility_capacity_arr, | ||
demand_quantity_arr, | ||
r_fac, | ||
r_cli, | ||
) | ||
|
||
FacilityModelBuilder.add_client_demand_satisfaction_constraint( | ||
lscp, lscp.problem, r_cli, r_fac | ||
lscp, lscp.problem, lscp.aij, r_cli, r_fac |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it redundant to pass in lscp, lscp.problem, lscp.aij as separate args, when the latter two are attributes/members of the former?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very good point. I'd say let's open an issue to standard are streamline variable & constraint creation. Then we can merge this PR in and work on that after?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xref #317
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I'll go ahead with the merge and get to work on #317.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One question for my education more than anything.
This PR: