`MOI.VariableIndex` only represents an index, not a variable that can we can operate over with arithmetic operations to get affine, quadratic expressions, etc... `MOI.SingleVariable` plays that role. For that reason, https://github.com/jump-dev/MathOptInterface.jl/blob/master/src/Utilities/functions.jl#L2496-L2502 should be removed.
Activity