pass weights to the solver so we can do MERT