From soft constraints to bipolar preferences: modelling framework and solving issues