Question: Questions: 1. Write an LP or IP model for this Problem 2. Formulate a model of the IP in PuLP using jupyter note book (
Questions:
1. Write an LP or IP model for this Problem
2. Formulate a model of the IP in PuLP using jupyter note book ( comment on data, variables and constraints of the formulated model)
A factory has a four workstations assembly line which produces a bluetooth speaker. This production requires twelve assembly operations, respecting some precedence constraints. Table 4 indicates the duration of every task (in minutes) and the list of its immediate predecessors (the abbreviation PCB used in this table stands for printed circuit board). The order of processing of the tasks should respect the precedences that are given in this table and illustrated on the graph of Figure 2.
The production manager would like to distribute the tasks among the four workstations, subject to the precedence constraints, in order to balance the line to obtain the shortest possible cycle time, that is, the total time required for assembling a bluetooth speaker. Every task needs to be assigned to a single workstation that has to process it without interruption. Every workstation deals with a single operation at a time. We talk about cycle time because the operations on every workstation will be repeated for every speaker. When a product is finished, the bluetooth speaker at stations 1 to 3 advance by one station, and the assembly of a new speaker is started at the first workstation.
| Tasks | Description | Duration | Predecessors |
| 1 | Preparing the box | 3 | - |
| 2 | PCB with Bluetooth module | 6 | 1 |
| 3 | PCB with amplifier | 7 | 1 |
| 4 | Battery | 6 | 2 |
| 5 | Connecting circuit | 4 | 2 |
| 6 | Connecting the PCBs | 8 | 2,3 |
| 7 | Integrated circuit of the speaker | 9 | 3 |
| 8 | Adjusting the connections | 11 | 6 |
| 9 | Charging & command panel | 2 | 4,5,8 |
| 10 | Protective grid | 13 | 8,11 |
| 11 | Speaker | 4 | 7 |
| 12 | Closing the box | 3 | 9,1 |
Table 4: List of tasks and predecessors

Figure 2: Graph of tasks with durations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
