I'm gonna make a part of graduation speech about you saving student lives.
@patrickjmt8 жыл бұрын
+Katsuragi Keima ha, thanks :)
@georgewekesa13805 жыл бұрын
Most definately
@AsmaaMohamed-kr1dm4 жыл бұрын
Yesssssss he is amazing in his explanation
@Hud_Adnan4 жыл бұрын
did you do it ? ( I'm just curious )
@aishvetorah57044 жыл бұрын
@@Hud_Adnan i graduated online by forced. I cried. They just show us our pictures online that we finished the course then boom done. ;_;
@runnereatscow7 жыл бұрын
patrickJMT you saved me when I was getting my general ed math courses. Now once again, you are saving me for my Algorithms class :)
@peteshramkop.e.42114 жыл бұрын
Awesome job mate. It’s been 20 years since I looked at LP since grad school... who knew it would become so relevant to everything we do today 🧐
@vishalchoure19938 жыл бұрын
This was so much easier to understand here than in school. Thank you :)
@nikkovincegonzales27586 жыл бұрын
I chose Y2 as the pivot column in the initial table and got the result in the next iteration. Got lucky I guess, thanks Pat. Your method is faster than the one we were taught.
@rajuacharya78393 жыл бұрын
I really love your working style. Its so simple and easy to understand. Thank you for this video. Love from 🇳🇵 Nepal
@heavencalling38083 жыл бұрын
I've really understood the whole process it's much easier. The fact that I've not seated in any lectures for this semester because of lockdown and no meeting but I've understood as though I was in class and paharps much better than in class. Thanks 🤝🤝🤝🤝🤝
@vinayaknayak63838 жыл бұрын
Thanks a lot for making this video, Patrick!!Just one suggestion, if in the first step, you select the element in the second column or the second column's -8 as the pivot column, then you directly land up at the final matrix (17:50 in the video).
@nuElevenGG8 жыл бұрын
thanks! i'm sure a lot of people will find this helpful. maybe you can do a video on the geometric interpretation of the simplex method?
@rajendramisir35303 жыл бұрын
Thanks Patrick. Nice review for me. I learned about the Simplex method in Finite Mathematics 28 years ago in College.
@iqrandiamalik28813 жыл бұрын
Loved it😊 even after 5 years, it still helped
@gogvale4 жыл бұрын
I have no idea why this works, but thanks. You just saved me from my exam tomorrow ♥
@iDramex4 жыл бұрын
after finishing Math courses I lost hope of seeing you again until I came across this video in an operations research course.
@hencodelange92893 жыл бұрын
I just caught up a week of class 2 hours before the test, thank you
@Graywolf1168 жыл бұрын
Came looking for insight into Dual vs Primal problems for ML hw, left with a greater respect for LinAlg and an idea how row ops can be made into an algorithm. Thanks!
@xoppa097 жыл бұрын
it would be nice to put all the simplex videos into one playlist. nice video ;p
@tobyto46144 жыл бұрын
I read the brilliant's steps on performing this, it is trying to solve it from bottom to top, which is hard to understand. This one explains it very clearly on how the operations go. :D
@austinfairris43328 жыл бұрын
Awesome video. Can I ask when youre turning the problem into a maximization and taking the transpose, what if the matrix is not square like it is here? Will it still work if say we take a 5x3 matrix and transpose it into a 3x5? Thanks
@mercymwanza77154 жыл бұрын
😄😄I like where you say this is fun😆 it is fun when you know what you are doing, just like my lecturer always says,"have the confidence. "
@notmimul4 жыл бұрын
I really like your energy and way of explaining it. from A-Z
@avaolsen13394 жыл бұрын
Great video, Thank you! Question: at 19:52 you said the goal is to have zeros everywhere else. once you get rid of negative numbers, you would get a solution. Could you please clarify on that? what do you mean by 'have zeros everywhere else'? thank you.
@tutsyb267 жыл бұрын
You are the definition of a life saver..thank you Patrick!
@comfortinnsuitesmiller65885 жыл бұрын
Thank You So Much For Making Videos. it helps a lot to understand complex problems.thank you so much sir..
@jaysorenson26628 жыл бұрын
I first used this technique back in 1968. Used it to solve resource allocation in banking. One can also use it for goal seeking.
@pootlovato82858 жыл бұрын
Thats so cool how applicable this method is, why i love matrices. It was first used in 1947 when there was a scheduling problem with the Berlin airlift
@warank8 жыл бұрын
that was even an easy explanation for a high-schooler(which is me) thanks a lot
@patrickjmt8 жыл бұрын
glad i could help!
@alejandroservin1432 Жыл бұрын
I had an economics teacher who says y1 the way you do, god does that really urk me 😅
@tobiaskaufmann52054 жыл бұрын
Why are you writing 1 at 2:05 when later in the simplex starting table you replace it with 0 after transposing the matrix? (as it produces the wrong solution when you don't writ 0 instead of 1)
@Hoo852r7 жыл бұрын
you are an ass saver I swear!! nothing got me through hard major courses but your videos ! THANK YOU !!
@patrickjmt7 жыл бұрын
pjmt, the ass saver.
@hassanhashemi64788 жыл бұрын
dude, i love you.
@AbdulraufuMashaka2 ай бұрын
Another example please 🥺
@小小豬-u3f Жыл бұрын
Correct me if I was wrong. Since every row of P column is always 0, so no matter what oprations it has been done, the last row is always 1, (there are no cases that the last row will be chosen as the "pivot row" and apply it opration to the other rows), which means, this column is completely useless and therefore could be omited.
@manojkumarhk56967 жыл бұрын
When you took X1 and X2 as slack variables, how did you choose the corresponding inequality? Because if we exchange X1 and X2, I might get X1=0 and X2=8; which can't be right!
@shereenzalloum69098 жыл бұрын
Patrick your such a life saver omg 😭 can you please make a video about the two-phase method & Big M method? please please please my exam is on the 20th.
@patrickjmt8 жыл бұрын
i will look into them!
@shereenzalloum69098 жыл бұрын
I would really appreciate! I don't understand from my teacher because I moved to a country that doesn't speak English and I don't understand half the things he says... anyways thank yooouuuuu Pat! :D
@amyl37665 жыл бұрын
Bless you and your family.
@redjon09994 жыл бұрын
OMG now i am clear. thank you so much bro,
@muathkawther6628 жыл бұрын
Question.. in the maximization problem videos you said that we should write the slack variables also on the left side of the matrix as we solve the problem, and change/replace them accordingly whenever we perform any operation during our solution.. why didn't you do the same thing in this minimization problem??
@waleedahmed57088 жыл бұрын
Muath Kawther yah I had the same question
@uhavebeen8 жыл бұрын
I had the same question as well, I think maybe because it's a dual problem/maximization it's different?
@bhangi7 жыл бұрын
can someone answer thsi question? please?
@atkinsonmachingauta40347 жыл бұрын
I think the same process still applies, only that here he was not really concerned with writing the slack variables since its a dual problem. This therefore means that even if we solve the problem, it is easy to identify the replacement that was supposed to be done because its an either or situation.
@athanasiakaragianni14477 жыл бұрын
so what is the actual solution? the one he did or the one with the other way he showed in the previus videos?? (8,0,8,0) or (0,3,0,3) ?
@scottsimpkins78945 жыл бұрын
I think the last step should result in x1 = 10 and P = 30. With that -2 hanging around under x1 you never get an x1, x2 unity matrix. If you don't mind clarifying...thank you.
@purpleboxersrocks8 жыл бұрын
I wish you were my lecturer because I'll definitely get what you were saying. Provided of course, if the whiteboard was a zoomed in screen of your hands and sharpie markers instead xD
@badAtPickingUsernames19883 жыл бұрын
8:28 Are there any circumstances where you don't take the smaller value? I saw an example done where it is a minimization problem and it had -32 and 30 in the rightmost column and in the pivot column it had -1 and 5 respectively with 5 in the bottom row. They didn't even explain why they just said you use -1. But 6 < 32. Did they just make a mistake?
@robiyonas14012 жыл бұрын
Why in the other video the values corresponding to the variables were the constants at the outer right of the matrix, but in this video, the variables correspond to the last row.
@EN-yn2zx4 жыл бұрын
If pivot is in 2nd row, then do we have to turn the number under it into zero? Or the one above it as well?
@shsabre58747 жыл бұрын
I just wonder after you find the most negtive element during the simplex process, what if there is a negative constant exist. should I pick that the most smaller number? or only smallest divided positive constant is my next target?
@jasminebactat24364 жыл бұрын
what if the matrix you want to transpose is not square? can we just add another variable like Y3?
@harrisonfok82676 жыл бұрын
Yo man thanks for saving my life lol Was stuck on this yesterday for so long
@invictus_12455 жыл бұрын
Thank you man, you make this stuff so easy why does my teacher over complicate these problems?
@karelsurya48093 жыл бұрын
i just realized that he is a lefty lol. kinda satisfying to watch that left hand move around
@bram32055 жыл бұрын
5:23 "it turns out thats what you wanna do" Why? I don't understand why all of this works this way..
@MiaowJahat5 жыл бұрын
he said that he already did 5 videos about that part. so, watch that videos first, ok?
@Plagger4 жыл бұрын
@@MiaowJahat what if u had 3 variables at the initial minimization problem? u wouldn't be able to fit in a 3rd x3, in the new maximization problem. i also didnt get it
@sajanamethsarakulathunga2434 жыл бұрын
you are a hero man ...i love youuuuuuuuu
@tonyuriano44692 ай бұрын
why is the C value assumed to be 1 and not 0 when filling out the initial tableau? I believe this is an oversight...
@TheMuteBoy2 жыл бұрын
Alhamdulilah thank you so much sir
@luzongomaybinmumbuwa21146 жыл бұрын
wonderful presentation
@saifullah41274 жыл бұрын
@patrickJMT please check the solution of the dual program, you got y=(8,0) which is not satisfying constant 1 of the dual problem.
@pramoudaya74326 жыл бұрын
can you explain with 3 variables with greater than equal constraints please?
@my_religion3 жыл бұрын
What if the smallest ratio is negative? should we take the row with the least positive ratio?
@madeIeine7 жыл бұрын
Okay, around 8:48 how about when it's 3 instead of two? Will I still use 1/2? Or not?
@jurajhlavek77426 жыл бұрын
u would divide it by 3 (1/3). What you need is to get number 1 as pivot, so if you would have there for example 16, you would divide whole row by 16 (1/16)
@featheredice8 жыл бұрын
11:18 Kinda confusing, I think you mean three halves plus nine :)
@GustavoGarufi8 жыл бұрын
Another question that I've been left wondering, what is the difference between this dual simplex method and the regular simplex method?
@ahmedyasser96396 жыл бұрын
Reqular we search in in objective function for a pivot column, dual we search for the pivot row from the constrain R..H..S
@ferdaozdemir5 жыл бұрын
@@ahmedyasser9639 Yes, but why do we take that effort. Why do not use just regular simplex? What is the advantage of converting simplex problem to dual and solving it? I am also trying to understand this.
@mounaamouna24594 жыл бұрын
@@ferdaozdemir we use the dual method to transform the lpp from its current form to the standard form then we can use the algorithm of simplexe and solve the rest of the problem
@mounaamouna24594 жыл бұрын
i hope i said it correctly and clearly
@rajendramisir35303 жыл бұрын
@@mounaamouna2459 I think you stated that fact correctly.
@ssuriset3 жыл бұрын
Wait.. so in the dual simplex, you don't have to keep track of your pivot value's column label (on the leftmost of the pivot) and switch it with its row label (on the topmost of the pivot)?
@brandonc43465 жыл бұрын
you are the best , god bless you
@rimaben21205 жыл бұрын
Very well explained, thank u! But what if wheb choosing pivot befor deviding and comparing, what if we have to choose between 5/2 and b 7/0 for axample?! Is this case possible to face..
@lasharistudio88787 жыл бұрын
Please tell advantages and disadvantages of simplex method
@nyahhbinghi2 жыл бұрын
isn't there a way to run minimization without transposing and using the dual? Would be nice to address that.
@fidelio22815 жыл бұрын
After u transposed the minimazation problem into maximazation, at the time u want to get zeros on your pivot column, why dont u exhange variables at the left of the tableu as you did every time in your video with the maximazation problem ? It will be a blessing if u answer as quick as you can.
@allyanamanabat73235 жыл бұрын
Is the regular and this dual simplex method the same? I mean does they point out to one answer???
@Mallorque408 жыл бұрын
Can you talk about the Kuhn and Tucker theorem?
@amodingteddy18774 жыл бұрын
Thank you🥰🥰🥰🥰
@o.biertrinker96496 жыл бұрын
I don't know why I find duality so fascinating, as it were more than mathematics, rather art!!
@fiorella57178 жыл бұрын
Could you please tell me what is the goal to change it to maximization?, thanks!
@MacPSPpro8 жыл бұрын
Because the simplex method works only for maximization I think
@Skandalos4 жыл бұрын
@@MacPSPpro multiplying the objective function by -1 and then maximazing it seems less work than this dual method.
@shabbirsaifee74977 жыл бұрын
Hey, what if there is equality instead of inequalities. How to apply the method in those case?
@stephenholmes93867 жыл бұрын
I'm pretty sure you've messed up but got lucky? You've chosen the slack variables to be the values of x1 and x2... Is that right?
@Qwevo82 жыл бұрын
Thanks so much...
@RohanSharma-tf3fn5 жыл бұрын
My question have 3 variables 2 constraints so the matric is 3x4 transpose is 4x3 idk what to do
@xaoc2nd7 жыл бұрын
Hello, why don't you use slack variables? And why don't you read your x1 and x2 as the maximization in your table?
@xaoc2nd7 жыл бұрын
Oh i understood, that's because you use the dual method to make it more easier
@hbbn62818 жыл бұрын
Thank you very much.
@patrickjmt8 жыл бұрын
you are very welcome!
@balthazar5007 жыл бұрын
Thank you, you're a Godsend!
@ezioauditore41099 ай бұрын
watching a day before finals
@johnberry60774 жыл бұрын
Anybody can "jump in" and answer this, if they know the answer. [question]: When you get to the part where he does the _transpose,_ he was working with a _Square Matrix,_ from which a _transpose_ can be formed, very nicely. If, instead, at that step, he had to _transpose_ a *non-* _Square Matrix,_ would his method (for converting a *minimize* problem into a *maximize* problem) still work?
@johnberry60774 жыл бұрын
I think I figured out what you would do *if* the original _minimization_ problem had more than *2* constraint equations. Let's suppose that the original _minimization_ problem had *15* constraint equations. According to the three possible *row operations* rules, you could identify *14* (of the *15* ) constraint equations, add them all together into a _single_ constraint equation, and then you would have _only_ *two* remaining constraint equations (which would fit into the form of being the 2-by-2 _Square Matrix_ that he _transposes._ )
@christinastanley39384 жыл бұрын
Thank you very much :) !
@patrickjmt4 жыл бұрын
You're welcome!
@victoriacharalambous69773 жыл бұрын
thank you so much!!!!!!
@sarahnjoki16557 жыл бұрын
what happens when the constant on the right hand side becomes negative
@seankennethumali43826 жыл бұрын
What if there are three constraints? It would look like there are 3 x1, x2, x3
@randal-ashqar21034 жыл бұрын
I need your help, I have homework about dual and primal simplex i cant do it
@eliteeconomics31586 жыл бұрын
what kind of simplex method is this?
@cgsshshh42557 жыл бұрын
can we convert the objective function to max by multiply it by negative 1
@audryk.78256 жыл бұрын
that's what I thought
@Skandalos4 жыл бұрын
Whats the advantage of this? Why not just solve the primal problem? Seems just more work to me.
@IKIN_104 жыл бұрын
Can someone please explain why do we use duality in the first place?
@SequinBrain3 жыл бұрын
five years too late, but there wasn't the basic variables to the left which were entering and leaving, even though I saw them on your scratch sheet. I was able to figure out what they were anyway.
@NejatMolla7 жыл бұрын
Came here looking for copper. Found GOLD
@sandrasurendran50683 жыл бұрын
Thanks a lot !!!
@bayanalsaraireh40377 жыл бұрын
thank you so much .
@Alexandrusg7 жыл бұрын
I did everything exactly how you did but my professor said its not a right method to get your X1 and X2?
@mrsamot46774 жыл бұрын
Yeah I thing it's because he used x1, x2 names for his slack variables. I think he should have used his y1, y2 Vals. Can anyone else confirm?
@addisuberhanuofficial18293 жыл бұрын
Wow good job
@josefsamik38597 жыл бұрын
the slakes of the dual are the solutions of the primal ? how ?
@jon79606 жыл бұрын
Not sure if you actually care anymore since you posted this 5 months ago, but there is a theorem called the Duality Theorem that states and proves this.
@desmondmaluleke34848 жыл бұрын
im confused,,why are you doing maximization while the question is requesting you to calculate minimization?????
@VonDutchyy8 жыл бұрын
Yeah but he has turned a minimization question into a maximization to make it easier by transposing the matrix, the result is the same
@lolaalsaadi57087 жыл бұрын
Thanks a lot , actually i want to know how to use MM algorithm with phase noise
@macmoore54528 жыл бұрын
why is the slack variable in this the same as the original variable, why not the usual s1, s2
@macmoore54528 жыл бұрын
also the way you pick your x1 and x2 is different from the way we pick them in the previous example(maximization example)
@ScepticalElephant5 жыл бұрын
why is'nt x(2) 3?
@wheyllch28587 жыл бұрын
why did you pick the most negative values when it's a mximization problem ?
@rimaben21205 жыл бұрын
Bcz He multiplied the maximization equality by -1
@yigitsevim15166 жыл бұрын
hocam 18.46 da ne yaptınız hocam?????
@awayggamer7 жыл бұрын
hi what about i'm blank about this Max z=x1+x2+x3+x4 subject to x1+x2