mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-09 02:48:52 -06:00
Fix failing tests
This commit is contained in:
@@ -81,6 +81,7 @@ class MaxCutGenerator:
|
||||
else:
|
||||
graph = self._generate_graph()
|
||||
weights = self._generate_weights(graph)
|
||||
assert weights is not None
|
||||
return MaxCutData(graph, weights)
|
||||
|
||||
return [_sample() for _ in range(n_samples)]
|
||||
|
||||
Reference in New Issue
Block a user