Bone-Market-Solver/bonemarketsolver
Jeremy Saklad 17add382ec
Replace BoneMarketModel.NewIntermediateBoolVar
The replacement method, BoolExpression, accepts a
BoundedLinearExpression directly, and uses memoization to reuse Boolean
variables. This technique is unsuitable for other methods, as
constraints need to be applied separately, but in this case it is fine.

The new method is much easier to understand, and far easier to read at
call sites.

Variable names are generated from the expression, rather than being
explicitly specified.
2021-10-15 15:04:37 -05:00
..
data Change Withered Tentacle source 2021-09-21 11:48:08 -05:00
objects Replace BoneMarketModel.NewIntermediateBoolVar 2021-10-15 15:04:37 -05:00
__main__.py Add list option 2021-08-14 17:55:45 -05:00
solve.py Replace BoneMarketModel.NewIntermediateBoolVar 2021-10-15 15:04:37 -05:00