1 00:00:01,646 --> 00:00:05,866 Let's come back to the idea of contour lines, shown here in dashed blue lines. 2 00:00:06,086 --> 00:00:08,846 Contour lines are lines that show equal height. 3 00:00:08,846 --> 00:00:13,996 If you walk along a contour line, you are not going up and you are not going down. 4 00:00:14,496 --> 00:00:19,346 Here's a photo of Mount Fuji in Japan on the left, and a contour plot 5 00:00:19,346 --> 00:00:21,006 of the mountain is shown on the right. 6 00:00:21,546 --> 00:00:26,446 Notice that these small numbers here on the plot tell how high up the mountain we are. 7 00:00:27,076 --> 00:00:32,386 Response surface methods can be thought of, at least conceptually, using the following analogy. 8 00:00:33,386 --> 00:00:37,466 Imagine you're in a basement in someone else's house and the lights suddenly go out. 9 00:00:37,726 --> 00:00:42,356 You grab a ski pole and start to tap the ground to test the slope of the floor. 10 00:00:42,776 --> 00:00:47,146 You know that the door is the highest point in the basement and you want to reach that door. 11 00:00:47,836 --> 00:00:50,226 Now also imagine that you want to reach 12 00:00:50,226 --> 00:00:53,886 that point using the minimum number of taps -- for whatever reason. 13 00:00:53,886 --> 00:00:57,296 This is exactly how we treat response surface methods. 14 00:00:57,746 --> 00:01:01,916 The objective is to find the maximum on the contour plot using that pole. 15 00:01:02,326 --> 00:01:06,546 Each time you touch the surface, you're observing the system and get an outcome value. 16 00:01:06,956 --> 00:01:10,936 But when you do that, it is a really expensive process. 17 00:01:10,936 --> 00:01:15,936 Each time you touch the surface or run an experiment, it might cost hundreds of dollars. 18 00:01:16,626 --> 00:01:18,596 How do you get to that optimum efficiently? 19 00:01:19,076 --> 00:01:21,086 How do you know that you've reached the optimum 20 00:01:21,416 --> 00:01:24,226 with only the information from the taps of the pole? 21 00:01:24,896 --> 00:01:28,236 Remember the lights are out, so you cannot see what's around you. 22 00:01:28,966 --> 00:01:33,266 That's what the videos in the section are all about, getting to the top of that surface 23 00:01:33,566 --> 00:01:36,896 with as few uses of that ski pole as possible. 24 00:01:37,506 --> 00:01:40,596 People often ask, what should this mountain surface look like? 25 00:01:40,596 --> 00:01:41,796 What does it consist of? 26 00:01:42,466 --> 00:01:46,686 Well, it is usually your outcome variable, something like total sales that you want 27 00:01:46,686 --> 00:01:52,176 to maximize, or the number of unburned popcorn, or the height of plants that you are growing. 28 00:01:52,176 --> 00:01:55,396 If you're ever stuck thinking about which variable 29 00:01:55,396 --> 00:01:58,196 to maximize, you should consider profit. 30 00:01:58,626 --> 00:02:03,976 Profit is a good choice because it includes the income and accounts for all the expenses. 31 00:02:04,896 --> 00:02:06,136 Let me give you an example. 32 00:02:06,556 --> 00:02:09,296 In many engineering systems, we can make things faster 33 00:02:09,526 --> 00:02:13,556 by increasing the temperature, but that energy is not free. 34 00:02:13,966 --> 00:02:15,936 As we go to higher and higher temperature 35 00:02:16,146 --> 00:02:19,646 and make things faster, our costs are also increasing. 36 00:02:20,236 --> 00:02:24,996 The calculated value of profit takes all of those into account in a single number. 37 00:02:25,666 --> 00:02:30,496 You'll find that profit, as an outcome variable, often has the shape of a mountain. 38 00:02:30,896 --> 00:02:35,326 It is a great way to incorporate multiple objectives into a single quantity. 39 00:02:35,816 --> 00:02:37,336 More on that in the next video. 40 00:02:37,996 --> 00:02:39,946 Now, you don't always have to climb the mountain. 41 00:02:39,946 --> 00:02:43,166 Sometimes you want to be in the valley and get the minimum value. 42 00:02:43,796 --> 00:02:48,236 Consider the wastewater treatment example from earlier in the course. 43 00:02:48,236 --> 00:02:50,436 We wanted to minimize the amount of pollution. 44 00:02:51,136 --> 00:02:54,256 In this course, all our examples will be for maximizing, 45 00:02:54,896 --> 00:02:58,176 but minimizing is just the opposite of maximizing. 46 00:02:58,736 --> 00:03:02,536 In fact, those with a background in optimization theory will know 47 00:03:02,536 --> 00:03:06,196 that maximization is just the negative of minimization. 48 00:03:06,196 --> 00:03:12,086 For example, in the waste water problem, if we tried to maximize the negative pollution, 49 00:03:12,486 --> 00:03:14,596 that is the same as minimizing pollution. 50 00:03:15,306 --> 00:03:18,926 Now I'll wrap up this video and leave you with some questions to think about. 51 00:03:20,296 --> 00:03:21,996 How do we climb up that mountain? 52 00:03:22,266 --> 00:03:26,006 Which direction should we go up and how big should our steps be? 53 00:03:26,626 --> 00:03:29,526 How do we handle nonlinear surfaces as we climb up? 54 00:03:30,456 --> 00:03:31,426 When do we stop? 55 00:03:32,006 --> 00:03:36,326 Because remember, we don't have a contour map, so we need to have a way to know 56 00:03:36,326 --> 00:03:37,836 that we've really reached the peak.