Python Optimization Example Snowball Rolling with Scipy Minimize

Ғылым және технология

How big does a snowball need to be to knock down a tree after rolling for 30 seconds? We answer this question using optimization in Python. Tools used: Python, numpy, scipy odeint, scipy minimize.
This video is part of an introductory series on optimization.
Code available on GitHub:
github.com/abe-mart/alphaopt/...

Пікірлер: 6

  • @chrisjamesfell
    @chrisjamesfell6 жыл бұрын

    This is a really well done video. Dialogue is clear and timing is just right. Readers can pause to catch up if necessary. It game me a good overview of how optimisation works in Python.

  • @yashbhavsar352
    @yashbhavsar3522 жыл бұрын

    which gradient based method is used here for solving the problem?

  • @jingyiwang4931
    @jingyiwang49315 жыл бұрын

    why in snow_dynamics p includes K0 (K0,C-d,g...=p), but in objective, there is no K0 in p but have m0 instead of K0 (p = m0,C_d,g...) ??

  • @alphaopt2024

    @alphaopt2024

    5 жыл бұрын

    Hi JingYi, it looks like you've spotted a bug, thanks for catching that. The first parameter should be K0, not m0. Correcting the parameter changes the final answer from 54 kg to 46 kg. I've updated the GitHub code with the fix.

  • @hebaallah.hashim6579
    @hebaallah.hashim65793 жыл бұрын

    can u share the slides u use?!

  • @beoptimistic5853

    @beoptimistic5853

    3 жыл бұрын

    kzread.info/dash/bejne/ioR3yamNaaXSorQ.html 💐💐💐💐💐💐

Келесі