By fully exploiting the mobility of unmanned aerial vehicles (UAVs), UAV-based base stations (BSs) can move closer to ground users achieve better communication conditions. In this paper, we consider a scenario where an BS is dispatched for satisfying data request maximum number users, weighted according their demand, before exhausting its on-board energy resources. The resulting trajectory opti...