deterministic solutions