-
-
Notifications
You must be signed in to change notification settings - Fork 411
Closed
Labels
Status: Help WantedHelp is welcome on this issueHelp is welcome on this issueType: Feature requestgood first issueThis issue is recommended for new users, it does not require a thorough understanding of the packageThis issue is recommended for new users, it does not require a thorough understanding of the package
Description
Motivated by https://discourse.julialang.org/t/getting-started-mip-variables-and-datastructure/63766/6
It would be nice to have
model = Model()
@variable(model, x[i=1:3], name="x_$(i)")Currently there is
model = Model()
julia> @variable(model, x[i=1:3], base_name="x_$(i)")
3-element Vector{VariableRef}:
x_1[1]
x_2[2]
x_3[3]which isn't quite the same thing.
Metadata
Metadata
Assignees
Labels
Status: Help WantedHelp is welcome on this issueHelp is welcome on this issueType: Feature requestgood first issueThis issue is recommended for new users, it does not require a thorough understanding of the packageThis issue is recommended for new users, it does not require a thorough understanding of the package