modification: ratio constraint

in add_ratio_constraint()
store m_id inside the model object instead of returning it
this allow the information to be pickled

added remove_ratio_costraint() function