read in constraints with weights, warning outputs