State space
A Yahtzee state is the tuple (which of 13 categories are still open, upper-section running total clamped to 63, Yahtzee bonus eligibility, dice multiset, rolls remaining). Dice are unordered, so the multiset has only 252 values per roll instead of 7 776 ordered rolls.
Expectimax alternates max nodes (choose which dice to keep, or which category to score) with chance nodes (the next roll's multiset under the multinomial distribution).
What you get
For every dice roll the solver returns the keep-subset that maximises the expected final score from the current scorecard, and at the end of a turn the category that maximises the same quantity — matching the optimal-play values first published by Tom Verhoeff and James Glenn.