# Food Manufacturing Problem ### Food Manufacturing I

This food manufacturing problem is an example of a blending problem. In blending optimization problems, multiple raw materials are combined in a way the meets the stated constraints for the lowest cost.

More information on this type of model can be found in example #1 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 253 – 254 and 296 – 298.

This modeling example is at the intermediate level, where we assume that you know Python and are familiar with the Gurobi Python API. In addition, you should have some knowledge about building mathematical optimization models.

Modeling examples are coded using the Gurobi Python API in Jupyter Notebook. In order to use the Jupyter Notebooks, you must have a Gurobi License. If you do not have a license, you can request an Evaluation License as a Commercial User or download a free license as an Academic User.

#### Access the Jupyter Notebook Modeling Example

Click on the button below to be directed to GitHub where you can download the repository for the Food Manufacturing I Jupyter Notebook modeling example.

Food Manufacturing I

### Food Manufacturing II

This model extends the Food Manufacture I example above to include new constraints that change the problem from a fairly easy to solve linear programming model to a mixed-integer model that is harder to solve.

More information on this type of model can be found in example #2 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 255 and 299 – 300.

This modeling example is at the advanced level, where we assume that you know Python and the Gurobi Python API and that you have advanced knowledge of building mathematical optimization models. Typically, the objective function and/or constraints of these examples are complex or require advanced features of the Gurobi Python API.

#### Access the Jupyter Notebook Modeling Example

Click on the button below to be directed to GitHub where you can download the repository for the Food Manufacturing II Jupyter Notebook modeling example.

Food Manufacturing II