Uses a copy of the input trajs in the solver