The invention relates to the technical field of computing power networks, in particular to a computing power network-oriented time
delay and
energy consumption optimization method for constructing a task
hypergraph, which comprises the following steps of: S1, establishing a
directed acyclic graph according to a computing power task, and establishing a
hypergraph model according to a dependency relationship of the
directed acyclic graph; s2, calculating task time and task
energy consumption according to the
hypergraph model, and minimizing total task time and task
energy consumption; and S3, obtaining an unloading
decision model according to the hypergraph model and the MDP model, training the unloading
decision model according to a near-end strategy optimization PPO
algorithm, and finally obtaining a task unloading prediction network. According to the method, the hypergraph model is established through the dependency relationship of the DAG, the topological relationship among the tasks representing the computing power and the different attribute dependency relationship and the
spatial dependency relationship among the different tasks, under the condition that multiple hyperedges are established, the multi-association attributes of different partitions are balanced by using hypergraph partitions, the reward function is designed through the hypergraph model, and the reward effect is improved. The efficient unloading optimization effect is achieved, and the final unloading energy consumption is reduced.