Skip to content

Duplicate names #536

Closed
Closed
@blegat

Description

@blegat

We want to stop requiring models to error when a duplicate name is set, see #535.
What should be the requirement now ?
Maybe we can require it to error when the user does MOI.get(model, MOI.VariableIndex, name) where two or more variables have the name name and if there is only one variable having the name name but some other names have duplicates then it might error or not, we leave the choice in the implementation (in model, it errors when building the dict: #535)
What do you think ?

We should also decide whether a model is allowed to error on MOI.set even if it is not required

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