Made the Problem class be more general and accept the args for the ConstraintCollocator.