Economic Recommendation with Surplus Maximization
The R code under the main directory is the R code for economic recommendation with surplus maximization. The code under the rcpp directory is the identical c++ code for economic recommendation with surplus maximization, which is more efficient.
We appreciate your citation of the following papers if you use the data or code in this project.
 Yongfeng Zhang, Qi Zhao, Yi Zhang, Daniel Friedman, Min Zhang, Yiqun Liu, and Shaoping Ma. "Economic Recommendation with Surplus Maximization." In Proceedings of the 25th International Conference on World Wide Web (WWW'16), pp. 73-83. International World Wide Web Conferences Steering Committee, 2016.
 Qi Zhao, Yongfeng Zhang, Yi Zhang, and Daniel Friedman. "Multi-Product Utility Maximization for Economic Recommendation." In Proceedings of the 10th International Conference on Web Search and Data Mining (WSDM'17). Association for Computing Machinery, 2017.