How to Debug Julia Simulation Codes (ODEs, Optimization, etc.!) | Chris Rackauckas | JuliaCon 2022

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

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

  • @alexjones984
    @alexjones984 2 года назад +5

    That `Ref` trick is fantastic, thanks for sharing your process!

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

    Thanks for sharing. I will need to come back and re-watch the last part.

  • @polinashichkova229
    @polinashichkova229 2 года назад +4

    Thank you so much!

  • @mklu0611
    @mklu0611 2 года назад +1

    🥰

  • @xelaxander
    @xelaxander Год назад +2

    Julia is hands down the best language for scientific computation atm. But the brittleness drives me nuts. I don’t want to spend my time debugging types that I feel like static code analysis could have caught! I always feel like I have to write very functional code to reduce error surface, but at the same time I need to write procedural code for performance (pre-allocations ahem!) with all the pitfalls of mutation.
    Also the optimizer being a little inconsistent means even in simple cases I can get different behavior in my working code and my supposedly MWE. Paired with significant compilation times means development in Julia just isn’t fun. /end rant.

  • @sahilkulkarniful
    @sahilkulkarniful 2 года назад +2

    A cheap hack that I figured out was LSODA solver will work with your system of ODEs only if the equations are modelled correct. This has always worked for some reason with DifferentialEquations.jl, idk why.