Introduced abstract base class for Constraint and Objective
Adding a variables, constraints, and objective of a different solver interface type to model will raise a TypeError now.