Hi All,
I want to add this variable as integer.
Please suggest how to modify this.
X_tbp = @variable(mod, [t in 1:T,b in 1:B, p in 1:P], base_name=“X_tbp”, lower_bound=0.0)
Thanks
Hi All,
I want to add this variable as integer.
Please suggest how to modify this.
X_tbp = @variable(mod, [t in 1:T,b in 1:B, p in 1:P], base_name=“X_tbp”, lower_bound=0.0)
Thanks
Just add Int
as an argument to the macro.
See the example in the docs.