Matlab Example for Linear Programming

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 60

  • @michaelraum3393
    @michaelraum3393 6 лет назад +6

    Very helpful, thanks for posting and taking the time to explain things clearly!

  • @ALMIRANTE-ly3fi
    @ALMIRANTE-ly3fi 5 лет назад +2

    REALLY THANK YOU, finally a clear and easy example.

  • @test123-wn7km
    @test123-wn7km Год назад

    perfect explanation thank you

  • @transegitimdansmanlk2167
    @transegitimdansmanlk2167 5 лет назад

    Hayat kurtaran güzel insan Cook teşekkürler 🤗 Sizin gibi insanlar iyi ki varlar.

  • @lorendelarosa8415
    @lorendelarosa8415 7 лет назад +7

    Hello Ayca! I really appreciate your video tutorial. It is really helpful for me! Although, I want to ask, what if I have a constraint that has a greater than or equal inequality instead of a less than or equal inequality. Will I include the coefficient of the right hand side of this inequality to the vector b? Thank you!

    • @lifeinwroclawpoland
      @lifeinwroclawpoland 7 лет назад +4

      You can also change that constraint into less than or equal inequality. By just multiplying "-1" on both sides of greater than or equal inequality.

    • @alielectricalelectronicsan2092
      @alielectricalelectronicsan2092 4 года назад

      A.o.A sir how can we solve non linear problems in matlab .
      I only now how to solve the linear
      Problems in matlab
      Can you provide me some help in this .

    • @alielectricalelectronicsan2092
      @alielectricalelectronicsan2092 4 года назад

      @@lifeinwroclawpoland A.o.A sir how can we solve non linear problems in matlab .
      I only now how to solve the linear
      Problems in matlab
      Can you provide me some help in this .

  • @SawaschaiChavanakorn-oh8zw
    @SawaschaiChavanakorn-oh8zw Год назад

    thank you very much for detailed explanation.

  • @aimanazahari1463
    @aimanazahari1463 2 года назад

    I have a question, what if we use another way by using the nma simplex file?? What are the inputs involved and how to de call the function? Thank you

  • @ruthsindie2660
    @ruthsindie2660 5 лет назад

    clear explanation

  • @samuelofosu-yeboah7981
    @samuelofosu-yeboah7981 3 года назад

    Thank you very much for this video.

  • @aytulkorkut9927
    @aytulkorkut9927 4 года назад

    Thanks a lot, the video is very clear and helpful!

  • @zenapsgas
    @zenapsgas 7 лет назад +1

    But how do you set limits for single variables?

  • @divyam2290
    @divyam2290 6 лет назад

    very useful.....Thank u so much☺☺

  • @48_subhambanerjee22
    @48_subhambanerjee22 Год назад

    Thanks 🙏🙏

  • @Mahdim-rn6ih
    @Mahdim-rn6ih 4 года назад

    Thanks, very clear explanation

  • @madkoki96
    @madkoki96 4 года назад

    I have a question: If i want to minimize for example 2x1 +3x2 +3, since there is no x3 but 3 will f be (2 3 0)?

  • @huzaifarahman5096
    @huzaifarahman5096 5 лет назад

    amazing work, keep it up girl

  • @krishj8011
    @krishj8011 5 лет назад

    Thanks..it is very useful

  • @AngelaFamily-i5c
    @AngelaFamily-i5c 8 месяцев назад

    Thank you sooo much Can you send this probleme

  • @mobasshirazaman4001
    @mobasshirazaman4001 3 года назад

    Be less nervous when speaking. If you speak like you are going to cry it effects the viewers concentration of learning. However, it was a good video for beginners.

    • @aycaaltay9929
      @aycaaltay9929  3 года назад

      I was not nervous at all! That’s my original talk.

  • @bennyizc
    @bennyizc 4 года назад

    thank you for the clear demo

  • @LMGaming0
    @LMGaming0 5 лет назад

    Thank you , this video is very helpful !

  • @androqz1476
    @androqz1476 4 года назад

    you're my hero! Thanks!

  • @akihiko1518
    @akihiko1518 4 года назад

    Thank you. Very helpful. I could not understand the documentation.

  • @idea9423
    @idea9423 2 года назад

    Thank you

  • @MomentousX
    @MomentousX 5 лет назад +1

    sağolun hocam tobb etü den selamlar

  •  7 лет назад

    Thanks for this helpful tutoral

  • @Dripto555
    @Dripto555 6 лет назад

    Thank you very much.. it helped me a lot.

    • @navjotsingh2251
      @navjotsingh2251 5 лет назад

      Ezio doing maths!? I guess assassins can be mathematicians too, they can use it to kill their targets more accurately 😁

  • @hymntosea
    @hymntosea 3 года назад

    hocam çok teşekkür ederim :)

  • @alielectricalelectronicsan2092
    @alielectricalelectronicsan2092 4 года назад

    A.o.A sir how can we solve non linear problems in matlab .
    I only now how to solve the linear
    Problems in matlab
    Can you provide me some help in this .

    • @aycaaltay9929
      @aycaaltay9929  4 года назад

      I'm sorry, I never solved nonlinear optimization in Matlab. I used Gams for all my nonlinear problems.

  • @walidossodi2200
    @walidossodi2200 3 года назад

    you saved my test

  • @dearkvic
    @dearkvic 3 года назад

    Thank you very much!

  • @haveanicetime
    @haveanicetime 6 лет назад

    Thank you very much, I have different values and I got this :
    X =
    1.0e-11 *
    0.0063
    0.3116
    what does it mean? Thanks

    • @aycaaltay9929
      @aycaaltay9929  6 лет назад

      Thank you. The algorithm that Matlab uses is not necessarily Simplex. At times, it may use something we call “a convergence-based method”. So, if the algorithm converges to the optimal solution, it may stop. So, the values you have are very close to 0. This means that you can use 0 instead of those values.

    • @haveanicetime
      @haveanicetime 6 лет назад

      Thank you but what I do not understand is, can the solver get the right answer of the problem? the problem I have has an optimum solution at the point (x,y)=(6,21), how can I get that from matlab? Thanks

  • @NaeemKhan-cy2fg
    @NaeemKhan-cy2fg 3 года назад

    thank you soooooo much

  • @marcosleighton6120
    @marcosleighton6120 5 лет назад

    hey my matlab does not have linprog on in it... where can i get it? thanks

    • @burakkoseoglu9450
      @burakkoseoglu9450 5 лет назад

      which verion .No linprog in 2013 and earlier versions

    • @marcosleighton6120
      @marcosleighton6120 5 лет назад

      burak köseoğlu 2014b 😣 on Macbook

    • @burakkoseoglu9450
      @burakkoseoglu9450 5 лет назад

      @@marcosleighton6120 hmm bro Try to get the 2018 version.Maybe fix.

    • @burakkoseoglu9450
      @burakkoseoglu9450 5 лет назад

      Do you know optimization problems?I need a help?Could you help me

  • @hosseinabbaspour7053
    @hosseinabbaspour7053 7 лет назад +1

    How can I set a binary value (which is conditional) in the linear programming in MATLAB? for instance, I have a binary value of Rij which will be zero (0) if X(i+1)j - Xij = 0 and will be one (1) otherwise.

    • @aycaaltay9929
      @aycaaltay9929  7 лет назад +3

      If you have any binary variables, that is no longer Linear Programming. It is Mixed-Integer Programming and to be solved using 'intlinprog'. Binary variables are introduced by their lower and upper limits. Their lower bound is 0 and upper bound is 1 and are defined among the integer variables. I haven't prepared any video on this but if you Google 'intlinprog', you might find a lot on how to implement the command.

    • @CartmanMrs
      @CartmanMrs 6 лет назад

      Hocam merhaba, Xij şeklinde değişkenlerimiz var ise bunlar nasıl kodlanabilir, hangi fonksiyon kullanılmalı?

    • @melvinmathew6602
      @melvinmathew6602 6 лет назад

      hi can you share your email id ?
      I need to get in touch with you
      Thanks

    • @alielectricalelectronicsan2092
      @alielectricalelectronicsan2092 4 года назад

      @@aycaaltay9929 A.o.A sir how can we solve non linear problems in matlab .
      I only now how to solve the linear
      Problems in matlab
      Can you provide me some help in this .

  • @pedrolotti45
    @pedrolotti45 3 года назад

    thank you so mutch!

  • @aleyzeeo-aleyzee2101
    @aleyzeeo-aleyzee2101 5 лет назад

    Thnx ma'am

  • @alihammoud3499
    @alihammoud3499 7 лет назад +2

    thank youu

  • @OldCarvalho
    @OldCarvalho 6 лет назад

    thank you very much. :D

  • @drukhan
    @drukhan 5 лет назад

    How to introduce binary variables?
    @aycaaltay

  • @kaazflip3961
    @kaazflip3961 4 года назад

    strijder!

  • @burakkoseoglu9450
    @burakkoseoglu9450 5 лет назад

    Ayça hocam benim bir optimizasyon problemim var.Amaç fonksiyonunu ve kısıtlarını yazdım fakat matlaba yazıp çalıştıramıyorum.Rica etsem yardımcı olur musunuz.(I have an optimization problem. I wrote the function and constraints of the function, but I can not write and run the matlab.)

  • @AjayKumar-ul2dg
    @AjayKumar-ul2dg 5 месяцев назад

    Thank you