While converting our evolutionary algorithm into an Azure function, we conveniently skipped an important pain point: when we run our function, it maintains the same state as before, even though our intention may be to reset it and begin the process anew. In other words, our Azure function is not…