Linear Programming in Python

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 11

  • @aashishaashish
    @aashishaashish 4 роки тому +2

    Landed on your video second time in same day with generic google search. You must be real good :)

    • @apm
      @apm  4 роки тому

      I hope you enjoyed them. Lots more if you are interested in Optimization at apmonitor.com/me575 and apmonitor.com/do

  • @akankshaaggarwal602
    @akankshaaggarwal602 4 роки тому +3

    The code provided for 'Method 2b: Dense Matrices (Gekko)' gives incorrect results. This is because the matrix A = [[3, 6], [8, 4]] has not been defined properly. It should be A = [[3, 8], [6, 4]].

    • @apm
      @apm  4 роки тому

      This will be fixed in the next version of Gekko (0.2.7). Here is the note in the ChangeLog: github.com/BYU-PRISM/GEKKO/blob/master/CHANGELOG.md

  • @leilaazzoune3990
    @leilaazzoune3990 3 роки тому

    Hello, great video😁
    What about artificial constraint methods with python, i need help I'm stuck with it

  • @2018-s6l
    @2018-s6l 4 роки тому +1

    Hey is there any method by which we can print all corner points in LPP?

    • @apm
      @apm  4 роки тому

      Corner points can be found with graphing, substitution, elimination, Gaussian reduction, matrix inverses, or Cramer's rule. Here is some help on filling in the feasible region: stackoverflow.com/questions/28143546/using-matplotlib-and-numpy-is-there-a-way-to-find-all-line-intersections-for-li

  • @sofiag3631
    @sofiag3631 3 роки тому +1

    How can we fill the feasible region on contour plot with python?

    • @apm
      @apm  3 роки тому

      Sure, here is a solution stackoverflow.com/questions/57017444/how-to-visualize-feasible-region-for-linear-programming-with-arbitrary-inequali

  • @daniel.mhmudi
    @daniel.mhmudi 3 роки тому +1

    how can i add gekko library in vscode?

    • @apm
      @apm  3 роки тому

      You can add it as a Python module with pip - it will then be available to use in any Python program that you write in VSCode with "from gekko import GEKKO". Here are more instructions on loading additional Python packages: apmonitor.com/pds/index.php/Main/InstallPythonPackages