I am not sure if this is the correct thread to post an article about the algorithm behind the RFM process. If not, please move it to the right thread. In December the New York Times published an article about how middle school students are matched to high schools in NYC. The algorithm is similar to the one that is used to match hospital residencies. This article has an example with that some may find helpful.
http://www.nytimes.com/2014/12/07/ny...cess.html?_r=0