Set local constraint