problem.hxx: convert before copying vector of constraints.

Close #26.