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:
parent
6e4a3a0117
commit
69cbaeeb48
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user