How we helped a Cryptocurrency Miner by creating a model to determine the optimal choice between alternatives