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: Certain base functions on JuMP constraints not implemented for NLconstraints. · Issue #2355 · jump-dev/JuMP.jl · GitHub

@odow I see. Thank you for the information.