Closed
Description
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
Labels
No labels