How to delete a nonlinear constraint from a JuMP optimization problem

Hello,

I know that delete can be used to delete constraints and variables from a JuMP problem. However, based on my testing, it does not work for nonlinear constraint added through @NLconstraint. I was wondering whether it is possible to delete the nonlinear constraint.

Best
Pan

It is not possible to delete a nonlinear constraint: https://github.com/jump-dev/JuMP.jl/issues/2355

@odow I see. Thank you for the information.