Resource management in D2D communication: An optimization perspective. (1st September 2017)