add the solver for the seed merging

Link: https://github.com/sebhtml/ray/issues/188
Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
fix 2 compilation warnings

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>