new file:   strata/solve.py