3 ms·
You might be surpised how far you can get with DP on a modern computer! For example, in https://www.gwern.net/Coin-flip https://www.gwern.net/Coin-flip we consi
by gwern 9y ago
You might be surpised how far you can get with DP on a modern computer! For example, in https://www.gwern.net/Coin-flip https://www.gwern.net/Coin-flip we consider a gambling game with 300 rounds and at least as many options each round, and while it initially sounds infeasible, you can still compute the optimal strategy in under a minute with some optimized C/C++ implementing the DP solution. Modern computers are fast. (And you can define a solution in like 5-10 lines of R/Python if you don't mind them being a lot slower. I don't know how you would solve it with LP or MIP but I suspect it will be both slower and longer.)