1
00:00:00,330 --> 00:00:08,010
Hello and welcome to this lecture, where I am going to present the first case study of the class,

2
00:00:08,340 --> 00:00:18,060
which is related to transportation of products, we can consider a real example of an e-commerce that

3
00:00:18,060 --> 00:00:25,980
needs to loads products on that truck should distribute them to the company branches, as you can see

4
00:00:25,980 --> 00:00:30,930
here, that are 14 products and one truck.

5
00:00:31,410 --> 00:00:44,280
For example, the refrigerator here uses zero point seven five one cubic meters and the price is nine

6
00:00:44,310 --> 00:00:46,610
nine nine point nine.

7
00:00:47,370 --> 00:00:53,200
And you can see this base and the price for each one of them.

8
00:00:53,820 --> 00:01:01,320
The refrigerator see here is the product that uses the most space in the truck.

9
00:01:01,980 --> 00:01:09,600
While this cell phone here is the product that uses the least space in the truck.

10
00:01:09,990 --> 00:01:16,740
Regarding price, this television here is the most expensive product.

11
00:01:17,010 --> 00:01:22,050
However, it also uses a large space in the truck.

12
00:01:22,320 --> 00:01:26,400
We can see that the truck has a maximum capacity.

13
00:01:26,700 --> 00:01:33,360
It is not possible to load all these products on this same trip.

14
00:01:33,780 --> 00:01:37,170
For example, here we have the information.

15
00:01:37,410 --> 00:01:42,840
That's the maximum capacity is only three cubic meters.

16
00:01:43,170 --> 00:01:51,630
Of course, these values are only for the purpose of this lesson, so it will be easier to test the

17
00:01:51,630 --> 00:01:52,530
algorithms.

18
00:01:52,860 --> 00:01:59,310
A truck has a much larger capacity, and the company has many more products.

19
00:01:59,940 --> 00:02:10,800
This some of the space occupied by each product is far behind seven to nine cubic meters, which indicates

20
00:02:10,800 --> 00:02:20,700
that it will not be possible to load the farting products on the truck since four point seventy nine

21
00:02:20,910 --> 00:02:22,620
is greater than three.

22
00:02:23,130 --> 00:02:32,040
Based on this, the purpose of this case is, thirdly, is to find the most expansive products are,

23
00:02:32,040 --> 00:02:42,180
in other words, the most profitable ones and at the same time occupy the maximum space of the truck.

24
00:02:42,480 --> 00:02:53,670
For example, the refrigerator can be less profitable than this cell phone, but it takes up a lot more

25
00:02:53,670 --> 00:02:57,960
space as we can see the values here and here.

26
00:02:58,350 --> 00:03:05,730
The optimal solution in this scenario may be the transportation of the most profitable products.

27
00:03:05,880 --> 00:03:08,460
We have a maximization problem.

28
00:03:08,820 --> 00:03:12,660
That's the goal is to return higher values.

29
00:03:13,110 --> 00:03:17,940
The higher the value, the more profit the company will earn.

30
00:03:18,510 --> 00:03:27,620
This is also a small problem, with only around 16000 solutions and a computational cost.

31
00:03:27,630 --> 00:03:31,770
Just past all of these solutions would not be so high.

32
00:03:32,100 --> 00:03:40,770
However, an e-commerce company has thousands of products and more than one units of each product.

33
00:03:41,040 --> 00:03:49,380
If you have a real data set, there would be easily trillions of combinations so we can apply genetic

34
00:03:49,380 --> 00:03:56,880
algorithms to find the best set of products that we are going to transport in the truck.

35
00:03:57,450 --> 00:04:04,490
Now that you know the problem that we are going to solve in the next lectures, we are going to start

36
00:04:04,540 --> 00:04:06,390
the implementations from scratch.

37
00:04:06,840 --> 00:04:07,560
See you there.
