Skip to content

Certain base functions on JuMP constraints not implemented for NLconstraints. #2355

@1ozturkbe

Description

@1ozturkbe

Hey folks, I'm struggling a bit since there are certain basic methods on JuMP constraints that are not defined with NLconstraints, eg.:

delete(::JuMP.Model, ::NonlinearConstraintIndex)
is_valid(::JuMP.Model, ::ConstraintRef{Model, NonlinearConstraintIndex, ScalarShape})

simply do not work. I was wondering what the design behind this is, and whether there are any workarounds. The lack of these functions makes dealing with nonlinear models cumbersome, even as I try to convert the problems into more tractable forms. Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Help WantedHelp is welcome on this issuegood first issueThis issue is recommended for new users, it does not require a thorough understanding of the package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions