Skip to content

Fix constraint names on copy to diff #185

@andrewrosemberg

Description

@andrewrosemberg

Summary
Adding constraint names in JuMP/MOI fails when the model information is copied over to the Diff model structure:

@constraint(model, cons, pc * x == 3 * p) # Fails

Pointed out in this comment.

TODO from: jump-dev/DiffOpt.jl#281

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions