I couldn't create a specific algorithm to make geode efficiently. As a result, I solved this challenge by making all patterns while reducing the records.
It took a lot of time to write all the logic, but got there in the end.
Seemed like there should have been a math-based solution, but I didn't find it...
same concept. but i used batch macro + iteration macro instead. easier to build by this way.
workflow
batch macro
in iteration macro,
add 5 possible moves (builds 1 of 4 robots or nothing), add rows control.
sort by total geode, total obsidian, and total clay. (used + current)
iteration macro
Part2:
careful on data you to multiply. just multiply for geode. need not multiply with blueprint number.
increase the record control if the answer is too low.
:-) this felt like an easier one - including from some debugging, got this one done in a few hours.