The application discloses an
edge computing task offloading method and
system based on soft clustering and dynamic constraints, and relates to the technical field of
edge computing. The method comprises the following steps: clustering robots, constructing a membership matrix, and mapping the cluster center back to the individual decision space of the
robot; an evolutionary
iteration cycle is performed, in which, during the cycle, a dynamic constraint
relaxation factor is determined according to the real-time proportion of feasible solutions, the dynamic constraint
relaxation factor is set to 0 for safety level constraints and deadline constraints, a constraint violation degree vector is calculated for the candidate solution, and the candidate solution is screened according to the feasibility boundary box; the candidate solution is Pareto sorted; a safety level index is calculated, and when a preset safety threshold is met, a
Pareto optimal solution set is extracted; and a task offloading scheme represented by the
Pareto optimal solution set is executed. The application solves the problem that the traditional method is completely ineffective when the feasible solution density is less than 10 ‑15 , ensures 100% safety compliance rate, improves search efficiency, and solves the dimension disaster problem.