I would like to form a linear matrix combination of the form x1A1 + ... + xnAn, by doing: dot([A1, ..., An], Variable(n)) However when I try to do this I get the error: ERROR: `isless` has no method matching isless(::Array{Float64,2}, ::Int64)