## Cart

### Reference
pp. 124-126 of D. H. Ballard, *An Introduction to Natural Computation*. MIT Press, 1999, isbn: 9780262522588.

### Formulation
![formulation](assets/formulation.svg)

### Solution
A closed-form solution is available for this problem at the reference above.