`deterministic_equivalent!` function fails if we already create the subproblems as `DiffOpt.diff_model`.