That shouldn't be a problem though. You have 5 slots, each which can have one of 25 possible people, plus a captain slot with one of 5, plus 2 decks with 3 options, plus 1 ram with 2 options, plus 1 hull with 2 options. This gives 1.75 billion possibilities. Most will be duplicates because order of the two decks and 5 crew slots is unimportant, so if we have an algorithm which doesn't multiple count them 7.3 million. We could also make this much more efficient by not calculating combinations that are clearly worse (such as using a morale ram for a mission that doesn't use morale). Or by optimizing each of the non-crew slots individually. The actual calculation for each combination is just adding and multiplying and some if statements for special abilities, so the computation time is really fast. I can't see a calculation like this taking more than a minute, even with a really naive algorithm. The time-consuming part would be inputting the data from the game.