How to Solve a Linear Programming Problem using the Simplex Method

  Рет қаралды 128,468

Shokoufeh Mirzaei

Shokoufeh Mirzaei

Күн бұрын

In this listen we first learn the concept of slack variables and then we learn how to solve a linear programming problem using the simplex method.

Пікірлер: 98
@alinikitabar1275
@alinikitabar1275 Жыл бұрын
i missed this class at my university and everyone was telling me how hard it is, and u explained it beautifully thank you
@misa3483
@misa3483 3 ай бұрын
This is extremely underrated. Best video on the topic. You did in 15 minutes what my teacher couldn't in 8 hours. All those little notes were extremely useful in putting things into context, I knew how to do this a little bit, but you explained every single "why" I had.
@fmlodno1zy
@fmlodno1zy 10 жыл бұрын
Great Video, The only one on youtube that properly explained how to solve the simplex method
@yassine6532
@yassine6532 4 жыл бұрын
It's 2020, and I get to understand the concept perfectly. I came to learn about sensitivity analysis and I ffound myself watching all videos in the playlist because truly you well-explained all concepts. Thank you.
@reikiyamya1912
@reikiyamya1912 2 ай бұрын
1 year after completing my Masters and today, I think, I fully understood the Simplex Method. Amazing explanation 🎉
@luciathegreat5621
@luciathegreat5621 3 жыл бұрын
Finally i got the concept. Shokoufeh you are a true hero.
@tharock220
@tharock220 Жыл бұрын
Thank you so much!!! I'm taking optimization at the University of Washington right now. I think my professor is great, but this playlist made linear programming a lot easier to understand. I'm not just writing out constraints and plugging them into CVXR anymore.
@SabbirAhmed-nc5hh
@SabbirAhmed-nc5hh 4 жыл бұрын
this is the only video I've got so far that has explained the process correctly. .Thank you!
@DigiFiveThousand
@DigiFiveThousand 5 жыл бұрын
You are a complete lifesaver, thank you so much!
@peterquill1193
@peterquill1193 4 жыл бұрын
Thank you for making those videos the entire playlist is very helpful and well explained.
@SquareLeim
@SquareLeim 9 жыл бұрын
Very nice video, helped me understand the method in time for my final!
@PapiJack
@PapiJack 5 ай бұрын
Great video. It would really help if you use your mouse to point at the values you are manipulating at any given time. It makes it easier to follow what you are saying. Thanks.
@RoohaAli
@RoohaAli 9 жыл бұрын
you make it so easy for me Jazaka-ALLAH
@MrBorzoo
@MrBorzoo 7 жыл бұрын
Very well and thoroughly explained. Great job Shokoufeh.
@dawidsabat200
@dawidsabat200 9 жыл бұрын
Great job! Your video helped a lot.
@KoyeLadeleMosimiloluwa
@KoyeLadeleMosimiloluwa 9 жыл бұрын
Wow! Thank you! This was really helpful!
@PlainLazyZitu
@PlainLazyZitu 9 жыл бұрын
really really great tutorial. thank you a lot for your help.
@muhammadfaruq6235
@muhammadfaruq6235 9 жыл бұрын
Thank you, really helped me out alot..
@ukiyo-lk8sq
@ukiyo-lk8sq 3 ай бұрын
Jazakallah Mirzaei, huge respect for you. Thank u so much ❤
@dariasmaja7118
@dariasmaja7118 3 жыл бұрын
This is so well - explained. Thanks
@updyfatahibrahim3521
@updyfatahibrahim3521 4 жыл бұрын
Perfect , simple and direct to the point thank u MS LOVE U
@rixiejaelflorescertifico2237
@rixiejaelflorescertifico2237 5 жыл бұрын
Thank you so much, you saved me, new subscriber here!!!
@hananyisehak6693
@hananyisehak6693 2 жыл бұрын
This is just perfect explanation!
@elenazaimova3105
@elenazaimova3105 5 жыл бұрын
Thanks a lot! It is a really good explanation!
@MuhammadSalman-om4rn
@MuhammadSalman-om4rn 9 жыл бұрын
hey, thanks for sharing, it was really helpful.
@bensonotiero9022
@bensonotiero9022 3 жыл бұрын
Your video has been of great help..thanks alot 👊
@karamiali
@karamiali 7 жыл бұрын
امام علی میفرماید......"زکاة العلم نشره .......دمت گرم شکوفه جووون، استفاده بردیم از علم و سواد شما
@GBmeme
@GBmeme Жыл бұрын
Speed and great explain… !✨⭐️thankyou…❤✨⭐️
@VinodSeshadri
@VinodSeshadri 8 жыл бұрын
Great and simple explanation...
@talhademir3241
@talhademir3241 9 жыл бұрын
thank you very much very helpfull series
@omprakashkumawat5835
@omprakashkumawat5835 10 жыл бұрын
Best video to learn LP-simplex method.
@dilankarathnayake3785
@dilankarathnayake3785 9 жыл бұрын
It gave me a good idea. Tks lot, Good job !
@pranavrajwade3220
@pranavrajwade3220 10 жыл бұрын
Hey that was good video :) Thanks for uploading!
@albertomatus3025
@albertomatus3025 3 жыл бұрын
Thanks You very much. Greetings from Chile 🇨🇱
@Naqiibraheem
@Naqiibraheem 7 жыл бұрын
Thank you a lot , you helped me ☺
@almatrood100
@almatrood100 9 жыл бұрын
thank you a lot you've explained it very good :)
@alimotawie
@alimotawie 9 жыл бұрын
thanks for your efforts making this video ,, thanks for helping other people learn
@kkprokopton
@kkprokopton 9 жыл бұрын
Hi Mirzaei, Indeed very simple and easy tutorial.
@yahiabouda
@yahiabouda 8 ай бұрын
Thanks for the video!
@ShishirPriyadarisi
@ShishirPriyadarisi 7 жыл бұрын
Awesome Video. Thanks a Lot.
@rakeshstha7
@rakeshstha7 10 жыл бұрын
thanks, it was helpful
@alainlee4938
@alainlee4938 3 жыл бұрын
Hello shouldnt the z for the 2nd table x1 under x1 be 6 ?
@BARaaz04
@BARaaz04 4 жыл бұрын
Best explanation ever
@musarurwagororo5532
@musarurwagororo5532 5 жыл бұрын
i love you! thank you so much!
@pc50505
@pc50505 9 жыл бұрын
superb ....... thx
@RezaMusicy
@RezaMusicy 3 жыл бұрын
Hi Shokoufeh, Thanks for the video, I was wondering if the second constraint in the first iteration would be 5 + S2 or 6 + S2?
@manaras-uh1bc
@manaras-uh1bc Жыл бұрын
finally a video without an indian accent
@mogg75
@mogg75 8 жыл бұрын
OMGGG thank you soo much
@VishalKNair
@VishalKNair 8 жыл бұрын
Thanks a lot! :)
@danaayounus
@danaayounus 5 ай бұрын
thank you so muchh
@kev95singh
@kev95singh 9 жыл бұрын
Made ma day
@Elyineify
@Elyineify 9 жыл бұрын
It IS really good ! but in the beginning I think you must have miss calculated the S value for teh second one,because if we add up the numbers of x it will be 6 and not 5, 5 is for the third one only. I dont know whether Im wrong or not... However good video !!
@sxmirzaei
@sxmirzaei 9 жыл бұрын
tnx, but that's been revised by annotations on the video
@kushsingh509
@kushsingh509 7 жыл бұрын
hi.... if i had to start from a point other than the origin like we usually do in simplex, how do i construct the table . (considering we are sure that the point we will start from is a corner of the shaded region graphically or a basic feasible solution)
@oussamamachi33
@oussamamachi33 8 жыл бұрын
Thank's :)
@danielatego6086
@danielatego6086 3 жыл бұрын
Thank you
@nimamaleki1595
@nimamaleki1595 8 жыл бұрын
Hello Ms. Mirzaei, I'm trying to get more comfortable with simplex. I perfectly understand the maximization type in this video. Previously, I thought that the only way to solve minimization problems was to use the duality property, but now I'm hearing that it is also possible without taking advantage of duality. If so, can you be so kind and tell me when applying simplex to a minimization problem, what things could or will possibly be different?
@sxmirzaei
@sxmirzaei 8 жыл бұрын
+Nima Maleki when solving for a minimization problem, the only difference is that in the row of Z you choose the column associated with the most positive number as your pivot column, as oppose to the most negative in the max problem. the rest of the process is the exactly the same.
@nimamaleki1595
@nimamaleki1595 8 жыл бұрын
+Shokoufeh Mirzaei Thank you so much. Your videos are helping me A LOT!
@nikhilkumarreddy354
@nikhilkumarreddy354 8 жыл бұрын
very good explanation. thank you so much madam.
@lilromain101
@lilromain101 5 жыл бұрын
Great video. My question however is, after reaching the optimal condition, and testing the value for the basic variables in the objective function, what do we do in the event that the value on the RHS of z is not the value we get after testing?
@sxmirzaei
@sxmirzaei 3 ай бұрын
That means you made a mistake, go back and check your steps and solutions one more time.
@mahtaamy8334
@mahtaamy8334 3 жыл бұрын
Omg i can't believe if you say you r persian and i found you completely accidentally🤯😍
@jehssingjohnson7747
@jehssingjohnson7747 9 жыл бұрын
Thank you very very very very much.
@tanmoyroy3254
@tanmoyroy3254 9 жыл бұрын
Awesome method of solving simplex. Thanks mam.
@Shubham-cr6td
@Shubham-cr6td 6 жыл бұрын
Hello mam, I have a doubt about the maximization function Z , did you convert the maximization problem to minimization problem ? I mean z=6x1+5x2+4x3 why did you convert it into -(6x1+5x2+4x3)?
@aaroncarter1112
@aaroncarter1112 4 жыл бұрын
Probably too late, but it's called 'Row 0 Form' . Simplex requires that your objective function be equivalent to 0. So z=6a + 5b + 4c would be represented as z - 6a - 5b - 4c = 0
@princesskaylabaliza3646
@princesskaylabaliza3646 2 жыл бұрын
How did you get 2/5R2 on the third table???
@gulshansingla3875
@gulshansingla3875 7 жыл бұрын
when there is any no is positive in z row and problem is of minimization of simplex method then who to solve. who to consider most negative value from z row.
@sxmirzaei
@sxmirzaei 7 жыл бұрын
If you are solving for a min problem and there is no positive value in the row of Z to continue you are in the optimal table.
@djataberk1
@djataberk1 6 жыл бұрын
Jyst perfect
@SamN242
@SamN242 9 жыл бұрын
What if its minimizing the objective function? Do you still pick the most negative number or is it different?
@sxmirzaei
@sxmirzaei 9 жыл бұрын
you pick the most positive value in the row of Z row for a min problem, However the min test procedure don't change (i.e. pick the min value obtained by dividing the RHS by the positive values of the pivot column) Sam Nieuwhof
@primeminister1040
@primeminister1040 5 жыл бұрын
you applied ERO on different lines from differnet tables as oppose to what you did in the ERO tutorial , where you applied them on lines from the same matrix , why ?
@tanmay094
@tanmay094 4 жыл бұрын
Can you suggest a book to go through for the above explained methods to solve the linear programming problem?
@sxmirzaei
@sxmirzaei 4 жыл бұрын
Yes, my textbook : he.kendallhunt.com/product/linear-programming-introduction
@tanmay094
@tanmay094 4 жыл бұрын
@@sxmirzaei Thanks a lot
@nicesacbro4891
@nicesacbro4891 5 жыл бұрын
How z row is being calculated in 4:11?
@djapster
@djapster 9 жыл бұрын
i get it now. but this is still too tedious...
@B0bi_007
@B0bi_007 7 жыл бұрын
Can somebody confirm this: If I were asked to minimize a function (and not maximize like here) - could I just multiply the objective equation by (-1) and then do this method as in the video (so (-1) and the maximize it which will effectively do minimization)?
@sxmirzaei
@sxmirzaei 7 жыл бұрын
yes, but in the end you need to remember the value of actual objective function is the negative of the value you found from the simplex table.
@joseromano378
@joseromano378 9 жыл бұрын
can you help me with this i really need your help today :(( PROBLEM: The Our-Paint-Dries-Quickest (OPDQ) paint company produces two interior enamels: Quick-Dry and Super-Speedie. Both enamels are manufactured from premix silicate base and linseed oil solutions which OPDQ purchases from a number of different suppliers. Currently only two types of premix solutions are available. TYPE A contains 60% silicates and 40% linseed oil, whereas TYPE B contains 30% silicates and 70% linseed oil. TYPE A costs $.50 per gallon and TYPE B costs $.75 per gallon. If each gallon of Quick-Dry requires at least 25% silicates and 50% linseed oil, and each gallon of Super-Speedie requires at least 20% silicates but at most 50% linseed oil, how many gallons of each premix should OPDQ purchase in order to produce exactly 100 gallons of Quick-Dry and 100 gallons of Super-Speedie?
@Shumayal
@Shumayal 8 жыл бұрын
What is the use of getting S3 = 60 when it holds no value in our objective function? (Slack and surplus variables will never be there in an objective function) So what's the meaning of that? Is it just there to make mathematical sense?
@sxmirzaei
@sxmirzaei 7 жыл бұрын
S3 is the amount of extra resources that you have available from the third constraint. e.g. if constraint 3 is a labor hour constraint, and S3=60, it means you have 60 hours of labor resource that you are not using it. Now, if you are trying to improve your objective function, adding labor hour is not going to help in this case, because you are not strictly limited by it. From mathematical standpoint, given the value of X variables, it is the amount that you need to add to the right hand side of the third constraints to hold the equation 2X1+X2+2X3+S3=300 .
@adebolaakintonde1484
@adebolaakintonde1484 2 жыл бұрын
Please work on the lettering, I can nearly see it. Also the font is not readers friendly
@minusv.singhs
@minusv.singhs 8 жыл бұрын
But I read somewhere that we stop when all values are either zero or NEGATIVE, not positive :( Where do we apply which?
@sxmirzaei
@sxmirzaei 8 жыл бұрын
+Manasvi Singh thats for minimization, not maximization.
@ToStand2
@ToStand2 8 жыл бұрын
+Manasvi Singh if you take the opposite of the objective function, it works too, i tried and then you'll stop with what you said
@nabilaabrak5738
@nabilaabrak5738 8 жыл бұрын
So basically u switched from a maximisation problem to a minimisation one, cause this is what happens if u multiply your objectif function by -1, right? max Z ==> min (-Z)
@ToStand2
@ToStand2 8 жыл бұрын
+Nabila abrak yes exactly
@sxmirzaei
@sxmirzaei 7 жыл бұрын
yes, exactly.
@LesSoleilsdePhoenix
@LesSoleilsdePhoenix 8 ай бұрын
Good job and a sexy Persian accent! Just minor typos that you'll notice if you replay it at 1:45 and 1:50. It ought to be 6 + S2 = 360 => S2 = 354. Thanks!
@francescariva6087
@francescariva6087 3 жыл бұрын
my professor spent 3 hours teaching this...
@husseinabed7908
@husseinabed7908 7 жыл бұрын
how can i contact you by skyp
@sxmirzaei
@sxmirzaei 7 жыл бұрын
you can email me at smirzaei@cpp.edu
@primerpy
@primerpy 5 жыл бұрын
can't recognize your handwriting, please keep it simple
@sohaibmirza9827
@sohaibmirza9827 6 жыл бұрын
You’re beautiful.
@nataliecara5222
@nataliecara5222 4 жыл бұрын
This makes no sense at all
How to Solve a Linear System of Equations Using the Gauss Jordan Method
11:33
How to Solve a Linear Programming Problem Using the Big M Method
18:14
Shokoufeh Mirzaei
Рет қаралды 115 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН
ВОДА В СОЛО
00:20
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 32 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 58 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 9 МЛН
The Art of Linear Programming
18:56
Tom S
Рет қаралды 643 М.
❖ The Simplex Method and the Dual : A Minimization Example ❖
20:46
Intro to Linear Programming
14:23
Dr. Trefor Bazett
Рет қаралды 182 М.
How to Solve a Linear Programming Problem Using the Two Phase Method
17:02
Shokoufeh Mirzaei
Рет қаралды 149 М.
How to Solve a Linear Programming Problem Using the Graphical Method
11:49
Shokoufeh Mirzaei
Рет қаралды 788 М.
Lec-5 Simplex Algorithm-Minimization Problems
52:11
nptelhrd
Рет қаралды 393 М.
Linear Programming
8:10
Mario's Math Tutoring
Рет қаралды 130 М.
How to solve an Integer Linear Programming Problem Using Branch and Bound
16:49
15. Linear Programming: LP, reductions, Simplex
1:22:27
MIT OpenCourseWare
Рет қаралды 194 М.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 9 МЛН