Optimal-cargo algorithm: test

series: dynamic programming

Here you need to make a correct decision at each step of the algorithm. You are presented with a ship with the previous best-valued cargo, some available items, and the current container on the right deck. Your goal is to create the best-valued cargo for the current ship capacity. To unload old items, click on them. To load items from the decks, click on them. Do not forget to look at the best-valued cargo without current item.

Start test by pressing this button