What do you have as phcon_setparams2 when you create the constaint?