Weighted Constraints Satisfaction Problems