mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-10 19:38:52 -06:00
Add types to remaining files; activate mypy's disallow_untyped_defs
This commit is contained in:
@@ -11,7 +11,7 @@ from miplearn.problems.stab import MaxWeightStableSetGenerator
|
||||
from miplearn.solvers.learning import LearningSolver
|
||||
|
||||
|
||||
def test_benchmark():
|
||||
def test_benchmark() -> None:
|
||||
for n_jobs in [1, 4]:
|
||||
# Generate training and test instances
|
||||
generator = MaxWeightStableSetGenerator(n=randint(low=25, high=26))
|
||||
|
||||
Reference in New Issue
Block a user