You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1id="Factory-Planning-I">Factory Planning I<aclass="anchor-link" href="#Factory-Planning-I">¶</a></h1><h2id="Objective-and-Prerequisites">Objective and Prerequisites<aclass="anchor-link" href="#Objective-and-Prerequisites">¶</a></h2><p>Both this model and Factory Planning II are examples of production planning problems. In production planning problems, choices must be made about which products to produce, how much of those products to produce, and what resources to use in order to maximize profits or minimize costs, while meeting a range of constraints. These problems are common across a broad range of manufacturing situations.</p>
13120
-
<h3id="What-You-Will-Learn">What You Will Learn<aclass="anchor-link" href="#What-You-Will-Learn">¶</a></h3><p>In this particular example, we’ll model and solve a production mix problem: During each period we can manufacture a range of products. Each of the products requires a different amount of time to manufacture on different machines, and yields a different profit.The aim is to create an optimal multi-period production plan to maximize the profit. Some machines are not available in particular periods due to maintenance. There is an upper limit on the sales of each product in each month due to market limitations and the storage capacity is also restricted.</p>
13121
-
<p>In Factory Planning II, we’ll add more complexity to this example; the month in which each machine is down for maintenance will be chosen as a part of the optimized plan.</p>
13122
-
<p>More information on this type of model can be found in example # 3 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 255-256 and 300-302.</p>
13119
+
<h1id="Factory-Planning-I">Factory Planning I<aclass="anchor-link" href="#Factory-Planning-I">¶</a></h1><h2id="Objective-and-Prerequisites">Objective and Prerequisites<aclass="anchor-link" href="#Objective-and-Prerequisites">¶</a></h2><p>Want to learn how to create an optimal production plan that will maximize your profits? In this example, we’ll teach you how to solve this classic production planning problem.</p>
13120
+
<p>More information on this type of model can be found in example # 3 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 255 – 256 and 300 – 302.</p>
13123
13121
<p>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.</p>
13124
13122
<p><strong>Download the Repository</strong><br/>
13125
13123
You can download the repository containing this and other examples by clicking <ahref="https://github.com/Gurobi/modeling-examples/archive/master.zip">here</a>.</p>
Copy file name to clipboardExpand all lines: factory_planning_1_2/factory_planning_1.ipynb
+8-13Lines changed: 8 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,9 @@
8
8
"\n",
9
9
"## Objective and Prerequisites\n",
10
10
"\n",
11
-
"Both this model and Factory Planning II are examples of production planning problems. In production planning problems, choices must be made about which products to produce, how much of those products to produce, and what resources to use in order to maximize profits or minimize costs, while meeting a range of constraints. These problems are common across a broad range of manufacturing situations.\n",
11
+
"Want to learn how to create an optimal production plan that will maximize your profits? In this example, we’ll teach you how to solve this classic production planning problem.\n",
12
12
"\n",
13
-
"### What You Will Learn\n",
14
-
"\n",
15
-
"In this particular example, we’ll model and solve a production mix problem: During each period we can manufacture a range of products. Each of the products requires a different amount of time to manufacture on different machines, and yields a different profit.The aim is to create an optimal multi-period production plan to maximize the profit. Some machines are not available in particular periods due to maintenance. There is an upper limit on the sales of each product in each month due to market limitations and the storage capacity is also restricted.\n",
16
-
"\n",
17
-
"In Factory Planning II, we’ll add more complexity to this example; the month in which each machine is down for maintenance will be chosen as a part of the optimized plan.\n",
18
-
"\n",
19
-
"More information on this type of model can be found in example # 3 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 255-256 and 300-302.\n",
13
+
"More information on this type of model can be found in example # 3 of the fifth edition of Modeling Building in Mathematical Programming by H. P. Williams on pages 255 – 256 and 300 – 302.\n",
20
14
"\n",
21
15
"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.\n",
22
16
"\n",
@@ -291,8 +285,7 @@
291
285
"name": "stdout",
292
286
"output_type": "stream",
293
287
"text": [
294
-
"Using license file c:\\gurobi\\gurobi.lic\n",
295
-
"Set parameter TokenServer to value SANTOS-SURFACE-\n"
288
+
"Using license file c:\\gurobi\\gurobi.lic\n"
296
289
]
297
290
}
298
291
],
@@ -404,7 +397,8 @@
404
397
"name": "stdout",
405
398
"output_type": "stream",
406
399
"text": [
407
-
"Gurobi Optimizer version 9.0.0 build v9.0.0rc2 (win64)\n",
400
+
"Gurobi Optimizer version 9.1.0 build v9.1.0rc0 (win64)\n",
401
+
"Thread count: 4 physical cores, 8 logical processors, using up to 8 threads\n",
408
402
"Optimize a model with 79 rows, 126 columns and 288 nonzeros\n",
0 commit comments