add constraint to one classifier dynamic model