From 69cbaeeb48b13452bee3f0dfb3ca5db0fb9efef1 Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Thu, 28 Oct 2021 00:20:30 -0500 Subject: [PATCH] Remove unnecessary model hints These hints don't actually improve performance in practice, so they have no reason to remain. --- bonemarketsolver/solve.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bonemarketsolver/solve.py b/bonemarketsolver/solve.py index a282e0f..7465c20 100644 --- a/bonemarketsolver/solve.py +++ b/bonemarketsolver/solve.py @@ -49,8 +49,6 @@ def Solve(shadowy_level, bone_market_fluctuations = None, zoological_mania = Non actions[appendage] = model.NewBoolVar(appendage.value.name) else: actions[appendage] = model.NewIntVar(appendage.value.name, lb = 0) - # Avoid adding joints at first - model.AddHint(actions[Appendage.ADD_JOINTS], 0) # Adjustment for adjustment in Adjustment: @@ -59,8 +57,6 @@ def Solve(shadowy_level, bone_market_fluctuations = None, zoological_mania = Non # Declaration for declaration in Declaration: actions[declaration] = model.NewBoolVar(declaration.value.name) - # Try non-Chimera declarations first - model.AddHint(actions[Declaration.CHIMERA], 0) # Embellishment for embellishment in Embellishment: