Multimedia Content Adaptation Within the CAIN Framework Via Constraints Satisfaction and Optimization