Variables and Constraints

The lowest-level building blocks for Gurobi models are variables and constraints. While each has a clean mathematical definition, linear and integer programming aren't performed in exact arithmetic, so computed results can sometimes deviate from these clean definitions. This section discusses the use of and restrictions on these basic building blocks.