Just a guy.

  • 6 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: May 1st, 2022

help-circle
  • Limcon@lemmy.mltomemes@lemmy.worldA race
    link
    fedilink
    arrow-up
    1
    ·
    11 hours ago

    The race is on a loop, you only pass each point one time. You get from the starting place and return there, passing at each point 1 time, what would be the shortest/fastest path? That’s the problem.

    You can probably put weights on the fuel efficiency, based on the cargo weight, distance/speed he can drive (based on the experience and expected value for him), fueling stops, etc. Just add that to A* and some tinkering, I think you could make a good algorithm.





















  • I was working on some fortran code that was wrapped using f2py, so this was needed to test it on windows. As the fortran compilers on windows are kinda trash, bringing the entire system to windows (using msys2) was easier than compiling on native windows tools. Now f2py is broken for distributing packages, so the toolchain changed. It was fun to make this frankensteins monster hahaha.