-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Weighted rules & weighted properties (#68)
* rename totalweight to total_weight to be consistent with other methods of this class * weighted versions * no need to raise ValueError anymore * use new copy() method in tests * [minor] total_weight() * more test coverage * black * phragmen-enestroem now supports weights
- Loading branch information
1 parent
99dcd6e
commit 1bc4db8
Showing
8 changed files
with
312 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,6 @@ def _optimize_rule_ortools( | |
) | ||
|
||
while True: | ||
|
||
solver = cp_model.CpSolver() | ||
status = solver.Solve(model) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.