As described thoroughly by Richard Bellman and Stuart Dreyfus
3
the dynamic programming technique is also useful for the one-dimensional allocation types of process. We will see here the cargo loading problem, that is stated, in its simplest form, in the following terms.