Remove unnecessary model hints

These hints don't actually improve performance in practice, so they have
no reason to remain.
This commit is contained in:
Jeremy Saklad 2021-10-28 00:20:30 -05:00
parent 6e4a3a0117
commit 69cbaeeb48
Signed by: Jeremy Saklad
GPG Key ID: 9CA2149583EDBF84

View File

@ -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: