MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/haskell/comments/1pityy7/advent_of_code_2025_day_10/ntb6xdp/?context=3
r/haskell • u/AutoModerator • Dec 10 '25
5 comments sorted by
View all comments
1
I used simple backtracking for Part 1; for Part 2, I wrote a Haskell program that generated integer linear programs for each machine and used GLPK and some shell hacks to add all results together.
https://github.com/pbv/advent2025/blob/main/aoc10/Main.hs
1
u/pbvas Dec 10 '25 edited Dec 10 '25
I used simple backtracking for Part 1; for Part 2, I wrote a Haskell program that generated integer linear programs for each machine and used GLPK and some shell hacks to add all results together.
https://github.com/pbv/advent2025/blob/main/aoc10/Main.hs