Money as a function
I want to write an algorithm that takes a numerical amount and turns it into a set of purchases that optimise a function of some property. In effect you can say how much you want to spend and you get a set of fulfilments from that.
A numerical amount has in itself the potential resulting sum.of any number of other prices.
We can search for purchases that meet this price and run a maximisation of return for this.