Added add_ratio_constraint (plus test)
Merge remote-tracking branch 'origin/devel' into devel