This model is an example of a production planning problem. A mining company wants to identify which excavation locations to choose in order to maximize the gross margins of extracting ore. This problem is a binary optimization problem that can be formulated as a linear programming problem using the Gurobi Python API and solved with the Gurobi Optimizer.
This model is example 14 from the fifth edition of Model Building in Mathematical Programming, by H. Paul Williams on pages 269-270 and 324-325.
This example is at the intermediate level where we assume that you know Python and the Gurobi Python API and that you have some knowledge of building mathematical optimization models.
Request a Gurobi Evaluation License or Free Academic License
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 Opencast Mining Jupyter Notebook modeling example.
We’re happy to assist you. Please contact us using this form, and a Gurobi representative will get back to you shortly.
- Free Consultations
- General Inquiries
- Gurobi Optimizer Questions
Can’t view the form? Please email us at email@example.com.