1 00:00:07,100 --> 00:00:15,650 So visualisations in prison, so in this course, and when we solve the optimization problem, I usually 2 00:00:15,650 --> 00:00:22,820 prefer to show you how to visualize the decision variables and also the objective function for this 3 00:00:22,820 --> 00:00:23,180 purpose. 4 00:00:23,210 --> 00:00:33,320 There are some multiple packages in Python, like Seabourne, like GGGI Plot, like Beaucaire, like 5 00:00:33,530 --> 00:00:43,030 Pygle and also plotly and your plot leap and gleam and missing no leather. 6 00:00:43,190 --> 00:00:53,240 And also the main one that I'm going to use it throughout this course is matplotlib so we can use these 7 00:00:53,240 --> 00:01:00,440 tools to visualize or decision variables or and also the objective function, how they are changing 8 00:01:00,440 --> 00:01:03,800 with, uh, with the decision maker. 9 00:01:03,840 --> 00:01:16,340 OK, and also so we don't have any insist of using any specific, um, package in Python, but for simplicity 10 00:01:16,340 --> 00:01:17,890 I have chosen the Mathlouthi. 11 00:01:18,410 --> 00:01:26,150 But you feel free to change that part of the code and do the visualization by your own creativity. 12 00:01:26,420 --> 00:01:30,290 So in order to learn more about the matplotlib, you can Google it. 13 00:01:30,290 --> 00:01:34,900 And there is a website called matplotlib dot org and it has a gallery. 14 00:01:34,910 --> 00:01:36,710 It has multiples of. 15 00:01:36,780 --> 00:01:38,180 Solved examples. 16 00:01:38,900 --> 00:01:44,480 So you can easily use them and you don't need to memorize everything, of course. 17 00:01:44,480 --> 00:01:51,110 But if you need anything, you can go to a gallery and find out which of these examples are much closer 18 00:01:51,110 --> 00:01:52,550 to what you exactly need. 19 00:01:52,880 --> 00:01:57,140 So this is an example, for example, and you need to import matplotlib. 20 00:01:57,620 --> 00:02:01,670 That's Pyplot aspect and import numpy as NP. 21 00:02:01,940 --> 00:02:11,150 And for example, in this plot you can see there are some random shapes are scattered in the plane. 22 00:02:11,180 --> 00:02:18,980 OK, so this is the application of a scatter plot and you finally show that plot to your audience. 23 00:02:19,010 --> 00:02:22,530 OK, so that's the way you visualize the things in Python. 24 00:02:22,550 --> 00:02:26,070 This is very simple, but you need to practice as well. 25 00:02:26,600 --> 00:02:27,470 Thank you very much.