sintefore/SparseVariables.jl

Error if trying to register existing variable name for model

Closed this issue · 0 comments

IndexedVarArray checks for existing indices. Also checking if a variable name is in use in a model would be a good idea before the macro registers it (and would probably have prevented the recent benchmarking bug).