Linear programming with Jump

The issue is that M=zeros(8) makes a Vector{Float64}, which you then try to store an affine expression into.

Use M = [AffExpr(0.0) for _ = 1:8] instead.