Constraints and Preferences: Modelling Frameworks