From 4d6220a25a2509c8b6ae8b478b2e9c8cc168179c Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Tue, 22 Jun 2021 05:45:33 -0500 Subject: [PATCH] Update exponent of quadratic buyers with boost Quadratic buyers now use a power of 2.1 rather than 2.2 when affected by Bone Market Fluctuations. --- Bone Market Solver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bone Market Solver.py b/Bone Market Solver.py index 3787e0a..ae7abe2 100644 --- a/Bone Market Solver.py +++ b/Bone Market Solver.py @@ -1737,7 +1737,7 @@ def Solve(shadowy_level, bone_market_fluctuations, zoological_mania, occasional_ tailfeathers = model.NewIntVar(cp_model.INT32_MIN, cp_model.INT32_MAX, '{}: {}'.format(Buyer.AN_INVESTMENT_MINDED_AMBASSADOR.name, 'tailfeathers')) if bone_market_fluctuations == Fluctuation.ANTIQUITY: - model.AddApproximateExponentiationEquality(tailfeathers, antiquity, 2.2, MAXIMUM_ATTRIBUTE) + model.AddApproximateExponentiationEquality(tailfeathers, antiquity, 2.1, MAXIMUM_ATTRIBUTE) else: model.Add(tailfeathers == antiquity_squared).OnlyEnforceIf(actions[Buyer.AN_INVESTMENT_MINDED_AMBASSADOR]) @@ -1790,7 +1790,7 @@ def Solve(shadowy_level, bone_market_fluctuations, zoological_mania, occasional_ final_breaths = model.NewIntVar(cp_model.INT32_MIN, cp_model.INT32_MAX, '{}: {}'.format(Buyer.A_TENTACLED_ENTREPRENEUR.name, 'final breaths')) if bone_market_fluctuations == Fluctuation.AMALGAMY: - model.AddApproximateExponentiationEquality(final_breaths, amalgamy, 2.2, MAXIMUM_ATTRIBUTE) + model.AddApproximateExponentiationEquality(final_breaths, amalgamy, 2.1, MAXIMUM_ATTRIBUTE) else: model.Add(final_breaths == amalgamy_squared).OnlyEnforceIf(actions[Buyer.A_TENTACLED_ENTREPRENEUR])