Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid generating redundant constraints by iterating over n^2/2 rather…
… than n^2 pairs. Ackermann constaints are symmetric so we don't need to consider every pair of indexes, only every ordered pair. This can halve the number of constraints generated which can be a significant saving in terms of problem size but also saves significant time when used in the string solver.
- Loading branch information