Converting MultivariatePolynomials output as a function to be used in JuMP

Thanks a lot! Going to have a look now.