Modeling Components#

The lowest-level building blocks for Gurobi models are variables, constraints, and objectives. 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.

  • The Variables section discusses the different variable types.

  • The Constraints section provides an overview of the different constraint types.

  • The Objectives section includes a list of possible objective function types.

  • The Tolerances and Ill Conditioning section discusses the restrictions of the computations.