Hello,
I have a question about defining variables in JuMP, normally, the variables are defined as
@variable(model, testContinusVar)
@variable(model, testIntegerVar, Int)
@variable(model, testBinaryVar, Bin)
And what if I define variables as
testContinusVar = @variable(model, testContinusVar)
testIntegerVar = @variable(model, testIntegerVar, Int)
testBinaryVar = @variable(model, testBinaryVar, Bin)
Are the two defining ways the same? I’ve tested it in a small case, and it seems they are the same, while I’m not pretty sure from the bottom implementation method, so could anyone answer it?