Getting constraint matrix and bound from JuMP model (JuMP 0.19)

See Constraints · JuMP. It requires a bit more code than before because JuMP 0.19 supports a lot of new constraints and has no specific concept of a constraint matrix anymore.