Optimization in Python: Intermediate Pyomo Workshop - Brent Austgen - UT Austin INFORMS

Sdílet
Vložit
  • čas přidán 26. 04. 2021
  • Join INFORMS student chapter member Brent Austgen for his follow-up Pyomo tutorial. Topics include models on graphs, handling of indexed sets, data integration, and block-based implementations.
    Examples presented in this workshop are available at:
    github.com/brentertainer/pyom...
    UT Austin INFORMS Student Chapter:
    Twitter: / informs_ut
    Website: connect.informs.org/universit...

Komentáře • 20

  • @DarioRomeroDeveloper
    @DarioRomeroDeveloper Před 2 lety +1

    Excellent workshop. Appreciate all the effort you guys has put together to make this so clear and well presented.

  • @Lux1431996
    @Lux1431996 Před rokem +1

    There are probably not many from the engineering majors that have to deal with OR at all, but for those who do, those don`t learn much in their usual lessons, differently to maths students. For students like me, you`re very welcome to upload more of this, as it's some of the best and well in detail explained tutorials I could find yet. At least for more or less absolute beginners in this field without any knowledge from the uni.

    • @Lux1431996
      @Lux1431996 Před rokem

      Just want to say it again: This saved my ass!

    • @BrentAustgen
      @BrentAustgen Před rokem

      Thanks for your compliment! I agree with what you said. I am grateful for the opportunities I had to learn the in's-and-out's of math modeling languages prior to entering graduate school. It is rewarding to hear y'all saying you find these videos valuable!

  • @NoOne-qs1he
    @NoOne-qs1he Před rokem +1

    Great video and great repository. Thanks a lot!

  • @process6996
    @process6996 Před 3 lety +1

    Thank you for putting this up! Let's goo Brent

  • @jiberuba8856
    @jiberuba8856 Před 3 lety +1

    Great contents thank you

  • @MiguelSandoval-md8qh
    @MiguelSandoval-md8qh Před 3 lety +1

    great workshop. How I can implement a indicator constraint (like in gurobi) in pyomo?. I've been trying to solve a CVRP though pyomo but I cannot write subtour constraints.

    • @BrentAustgen
      @BrentAustgen Před 3 lety

      I can think of at least two options. The high-effort option is to incorporate the linear reformulation of the indicator constraint as a normal `Constraint` in Pyomo. The other option, and I'm not certain it would work in every application, is to use the tools from Pyomo's Generalized Disjunctive Programming (GDP) module.

  • @raihanmasud3578
    @raihanmasud3578 Před 3 lety +1

    Nice workshop. Any installation guidelines to use "gurobi" through "'pyomo"? I am using anaconda with Jupiter-notebook. Thank you in advance.

    • @BrentAustgen
      @BrentAustgen Před 3 lety

      From what I've seen, the issue that trips up most newcomers is getting the Gurobi binary "in path". This is true for all of Windows, macOS, and Linux. Otherwise, the only difference is setting up the solver via SolverFactory('gurobi') instead of SolverFactory('glpk') as in the examples. If putting the Gurobi binary in path gets to be too frustrating, one possible fallback is to use the "executable" keyword to specify exactly where the binary resides. On my setup, for example, that would look like SolverFactory('gurobi', executable='/home/brent/apps/gurobi902/linux64/bin/gurobi.sh'). But this fallback method might lead to other problems such as Gurobi not being able to find the license on your machine. For best results, invest some time into figuring out how to properly add Gurobi to path in your OS.

  • @raihanmasud3578
    @raihanmasud3578 Před rokem

    sir, are there any published papers (conference/journal) based on this Pyomo code? Thank you.

  • @davidgarmroudi8747
    @davidgarmroudi8747 Před 3 lety +1

    could you please solve a problem that includes big M and binary constraints
    ex: Ia+Ib

    • @BrentAustgen
      @BrentAustgen Před 3 lety +1

      Great suggestion, thanks! I will put this on my to-do list.

  • @AN-qe8hc
    @AN-qe8hc Před 2 lety

    Hi,
    I am just starting to work/understand pyomo and am going through Brent's tutorials for this. Unfortunately I have not yet managed to install the solver 'cbc'. Can you help me with this? I tried "conda install -c conda-forge coincbc" and "conda install -c conda-forge ipopt coincbc". The output in both cases was that the package from the current channel is not available. I would greatly appreciate any help.
    BR

    • @BrentAustgen
      @BrentAustgen Před 2 lety

      Are you on the Windows operating system?

    • @ershibahuasheng2121
      @ershibahuasheng2121 Před 2 lety

      @@BrentAustgen hi Brent I just see the video, thanks for sharing the knowledge. I also meet the same question with AN, I could not install the CBC using conda command. Yes I am using windows.

  • @dnyakaul
    @dnyakaul Před rokem

    Hi good explanation.
    I am stucked to write my first constraint using pyomo . Can you help me to write.thanks

    • @BrentAustgen
      @BrentAustgen Před rokem

      Hi, Dnyaneshwar. If you have not seen this channel's introduction to Pyomo/gurobipy, I recommend you start there. Otherwise, you can find my (Brent Austgen) contact information on my website.