1
Problem Solving Skills (14021601-3 )
Lecture 4
2
Modelling: Let s think about the problem a bit more 2 1 - - PDF document
Problem Solving Skills (14021601-3 ) Lecture 4 Modelling: Let s think about the problem a bit more 2 1 Important observation Solving real problems is a two step process: Model Solution Problem Rule #1 : Be sure you understand the
1
2
2
3
4
There is a horseshoe with six holes for nails, which looks like that: Using two straight-line cuts, chop the horseshoe into six separate parts so that each part has exactly one hole.
3
5
6
A manufacturing enterprise that produces just two types of items: chairs and tables:
To build a chair, a single unit of wood is required and three man-hours of labor. To build a table, six units of wood are required and one man-hour of labor. The production process has some restrictions: all the machines can only process 288 units of wood per day and there are only 99 man-hours of available labor each day.
4
7
Question: How many chairs and tables should the company build to maximize its profit? Let’s build a model…
8
Using Rule #3, we should construct a model of the problem by specifying the following: Variables: There are only two variables, x and y, with each variable corresponding to the number of items (chairs and tables, respectively) to be produced. Constraints: In this puzzle there are only two constraints: (1) the 288 wood units available for processing, and (2) the 99 man-hours available for labor. Objective: In this particular problem/puzzle, the objective is to maximize the total profit.
5
9
Objective:
maximize $20x + $30y For example, if we produce 10 chairs (i.e. x = 10) and 15 tables (i.e. y = 15), the daily profit would be: $20 × 10 + $30 × 15 = $200 + $450 = $650. Of course, the larger number of chairs and tables we produce, the higher the profit. If we produce 20 tables (instead of 15), the profit would be: $20 × 10 + $30 × 20 = $200 + $600 = $800.
10
Constraints:
three man-hours of labor,
man-hour of labor. x + 6y ≤ 288 (wood) 3x + y ≤ 99 (labor)
6
11
The model: the mathematical model for the profit
maximization problem of the manufacturing company can be formulated as follows: maximize $20x + $30y subject to: x + 6y ≤ 288 3x + y ≤ 99 where x ≥ 0 and y ≥ 0, and where both of the variables x and y can only take on integer values.
12
Solution: It might not be that obvious that the solution to this profit maximization problem is: x = 18 and y = 45 which implies a profit of $1,710. This is the best we can do: it is impossible to achieve a higher profit by producing a different number of chairs and tables (while staying within the constraints
7
13
Questions: However, there are some additional questions we should ask:
14
8
15
16
9
17
How precise is the model (in terms of real-
How difficult is it to find a solution in the
What is the tradeoff between precision of the
What is the frequency of use of the model? How much time do we have to find a
What is the “cost” of using inferior solution?
18
Is this model of any good?
maximize $20x + $30y subject to: x + 6y ≤ 288 3x + y ≤ 99
10
19
11
21
22
12
23
24
13
25
26
14
27
World in 1492 and his fellow Italian Enrico Fermi discovered the new world of atom in 1942.
Lincoln, while President Lincoln’s secretary was named Kennedy.
Reagan (former US President) has 6 letters (thus a connection with “666”).
28
15
29
30
16
31
32
17
33
34
18
35
36
19
37
38
20
39
40
21
41
Experiment with Puzzle 3.1 – set different number of items to produce; set different constraints. Try to find the