Research Article

Joint Scheduling and Power Optimization for Complex Status Updates in Multiantenna UAV-Assisted Multiaccess Edge Computing

Algorithm 1

Obtaining the near-optimal solutions of SP1.1.
1: and
2: repeat
3: Set and .
4: Calculate based on formula (3a).
5: if then
6:  .
7: else
8:  .
9:  repeat
10:   ifthen
11:    Find the set of .
12:    if then
13:     .
14:     break.
15:    else
16:     Choose in the that minimizes as and set .
17:    end if
18:   end if
19:   ifthen
20:    Find the set of .
21:    ifthen
22:     .
23:     break.
24:    else
25:     Choose in the set that minimizes as and set .
26:    end if
27:   end if321
28:  until
29: end if
30: until
31: Choose the set with the smallest objective function as .
32: Output: .