Objects/Documentation
mesures26.py
Shared conditionals and checks · mesures26.py
Download ↓"""Compare exact TV feasibility with subdivision and optional z3-solver on identical input."""
from fractions import Fraction as F
from itertools import product
from pathlib import Path
from time import perf_counter
import argparse,json
from rayon26 import decide
from marges24 import best_mass
def nra(rows,e):
import z3
u,v=z3.Reals('u v')
s=z3.SolverFor('QF_NRA');s.set(timeout=4000)
s.add(u>=0,u<=1,v>=0,v<=1)
for i,row in enumerate(rows):