Pokémon Team Optimization

(nchagnet.pages.dev)

46 points | by nchagnet 4 days ago

7 comments

  • reddalo 35 minutes ago
    An interesting thing of this article is that the SVG image of the type matchup [1] has embedded automatic translation.

    The type labels will be displayed in the language your browser is set to. I didn't even know this was possible.

    [1] https://upload.wikimedia.org/wikipedia/commons/9/97/Pokemon_...

    • nchagnet 34 minutes ago
      Oh that's really cool, I didn't know about this! I just linked to the wikimedia-hosted illustration, but that's a good perk too.
    • scrollaway 10 minutes ago
      It's using the <switch> tag for this

      https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/E...

      However, like with many of these obscure features, I am not so sure it works well in practice. I have the Windows 11 laptop I'm viewing that SVG from set with support enabled for english, french and russian, and I'm getting, among most of the English tags, a few stray "Psychique" and "Привидение" types in the svg. I have no idea how it chooses which one to show, there.

  • tweakimp 2 hours ago
    Why is y+2x optimal at (0,3) with a value of 3? Isnt it (3,0) with a value of 6?
    • nchagnet 1 hour ago
      Good catch! Especially since I ended up drawing y - x = C but didn't update the legend. I updated it!
      • tomtom1337 43 minutes ago
        Haha, I started reading this, got interrupted, came back and got confused by the graph. Then came to the comments, saw your comment, reloaded the post and voila!

        Thank you for a lovely post!

    • abhishekbasu 1 hour ago
      you're right, it should be (3,0) with optimal obj value of 6.
  • abhishekbasu 2 hours ago
    this was a great read to start the new year! having worked extensively with mixed integer programs, it is always a bit disheartening to see them not used enough for everyday decision-making. one of my goals this year is to create a layer to make it easier to formulate mips and test them, via plain text input. this would hopefully increase adoption through a lower barrier to entry.
  • stevekemp 1 hour ago
    Lots of people working in IT have tattoos, I like to see what theme/image overlap they have.

    Three people in my current workplace have a balloon tattoo (interestingly all of them are red balloons). Five people in my current workplace have a Pokémon tattoo that is easily visible.

    Edit: Including myself, on both counts, I should have said.

    • u8080 34 minutes ago
      >balloon tattoo

      What does it mean?

    • 867-5309 1 hour ago
      which Pokémon? gotta name them all! (5)
  • HelloUsername 1 hour ago
    I would've liked to see in conclusion a recommended starter team per generation! Very nice article!
    • nchagnet 56 minutes ago
      I was planning in a future sequel/update to do this but with "better" constraints like only including Pokémon available in a game, etc... Maybe even separate it into early/mid/late-game availability since most optimal Pokémon are late-game anyway.
  • yjftsjthsd-h 2 hours ago
    Small typo(?):

    > Mewtwo (#151)

    Should be 150

    • nchagnet 1 hour ago
      Thank you, you're right! For some reason I always forget mew comes after mewtwo in the pokedex...
  • unpopularopp 1 hour ago
    Now all we need is a quick vibe coded web GUI front end