The present invention discloses a method and
system for delivering goods by
drone for multi-story buildings based on maximizing the ratio of active to passive cost. Specifically: Step 1, initialize the user set. If [conditions not specified], then [actions not specified], and the
algorithm ends; otherwise, execute Step 2; Step 2, select the user on the lowest floor in the participant set as the target floor user for the
drone to deliver goods, so that the
payment function reaches the maximum value; Step 3, update the maximum
load capacity of the
drone and the participant set. If [conditions not specified] or [conditions not specified], the
algorithm ends; otherwise, execute Step 4; Step 4, if the weight of the goods of the users on the [n]th floor is relatively large or the goods transportation of the users lower than the [n]th floor is less, the
payment function of the users on the [n]th floor is relatively large; otherwise, vice versa; Step 5, select the user with the maximum minimum
payment function in the set as the target floor user for the drone to deliver goods, and return to Step 3. The present invention delivers goods to users on different floors reasonably, considering not only its own cost but also the delivery costs of other users.