Add comments to QProblem class