Hungary particle swarm mixed intelligent search method

Through the Hungarian-particle swarm hybrid intelligent search algorithm, combined with the multi-stage decision-making model and the expectation inconsistency theory, the balance problem between overall satisfaction and individual satisfaction in multi-robot multi-task allocation is solved, achieving higher user satisfaction and more uniformity. distribution of satisfaction.

CN118569571APending Publication Date: 2024-08-30SHENYANG UNIVERSITY OF TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410675757.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing multi-robot multi-task allocation algorithm cannot take into account the user's overall satisfaction and individual satisfaction, resulting in the problem of low individual satisfaction while improving the overall satisfaction of the elderly.

Method used

The Hungarian-particle swarm hybrid intelligent search algorithm is used to optimize the allocation of robots and tasks through the multi-stage decision-making model and expectation inconsistency theory, combined with the Hungarian algorithm and particle swarm algorithm, to balance the overall satisfaction and individual satisfaction of the user.

Benefits of technology

It achieves high overall user satisfaction while improving individual satisfaction, ensuring the balance and effectiveness of the distribution plan, and avoiding the imbalance between overall satisfaction and individual satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569571A
    Figure CN118569571A
Patent Text Reader

Abstract

The invention discloses a Hungary particle swarm mixed intelligent search method, and relates to the field of multi-task distribution application of mobile service robots. A distribution scheme can consider the balance problem of overall satisfaction and individual satisfaction of users in the service process of a pension service robot. The invention provides an algorithm based on a mathematical model, the algorithm can solve the problem that the overall satisfaction degree and the individual satisfaction degree of the user cannot be considered when the mobile service robot completes the task demand of the user in a specific situation, and the planned allocation scheme has more advantages in optimizing the low user satisfaction degree than other methods. The method comprises the following steps: step 1, modeling an actual problem of multi-robot and multi-task allocation into a mathematical problem of multi-stage allocation by adopting a multi-stage decision-making principle; 2, establishing a satisfaction model of robot service users based on an expectation inconsistency theory; step 3, distributing the robot to complete the task demand of the user; each distribution stage is decomposed in the first step.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the application field of multi-task allocation of mobile service robots, and the allocation scheme can take into account the balance between the overall satisfaction and individual satisfaction of users in the service process of the elderly care service robot. Background Art

[0002] With the increasing number of elderly people, the shortage of nursing staff, and the insufficient supply of medical service resources, the use of service robots to replace humans to take care of the elderly has become an inevitable trend with the continuous development of artificial intelligence technology and service robot technology. Existing mobile service robots have single functions. For example, smart wheelchairs can only complete simple escort tasks; walking robots can only complete simple lifting and lowering tasks. However, the task requirements of the elderly in the elderly care context are diverse and complex. How to quickly coordinate heterogeneous service robots to complete the task requirements of multiple elderly people, and to maximize the overall satisfaction of the elderly while ensuring that the individual satisfaction of the elderly is high enough, has become an urgent problem to be solved.

[0003] The core of the multi-robot multi-task allocation system is the matching allocation algorithm between robots and tasks. The existing multi-task allocation algorithms focus on improving the work efficiency of robots.

[0004] The Hungarian algorithm (HAM) is an algorithm for solving the assignment problem. It was first proposed by the Hungarian mathematician Dénes Proposed in 1931. For details, see the reference Kuhn H W. The Hungarian method for the assignment problem [J]. Naval research logistics quarterly, 1955, 2 (1-2): 83-97.

[0005] The Hungarian algorithm was originally used to solve the maximum matching problem in a bipartite graph, that is, to find the largest matching set in a bipartite graph, where each node can only be matched once. As time goes by and the algorithm develops, the Hungarian algorithm is not only used to solve the maximum matching problem, but also expanded to solve the assignment problem. The assignment problem is a special allocation problem, whose goal is to find the best assignment solution so that the specified task is assigned to a specific executor, and each executor can only perform one task, and each task can only be performed by one executor.

[0006] Particle Swarm Optimization (PSO) is an optimization algorithm based on swarm intelligence, inspired by the behavior of groups such as bird flocks or fish schools when searching for food or migrating. PSO was first proposed by James Kennedy and Russell Eberhart in 1995. Its working principle is similar to simulating the behavior of bird flocks or fish schools in the search process. For details, see Kennedy J, Eberhart R. Particle swarm optimization [C] / / Proceedings of ICNN'95-international conference on neural networks. ieee, 1995, 4: 1942-1948.

[0007] The basic idea of ​​PSO is to search for the optimal solution in the solution space in an iterative manner by simulating the behavior of individuals in the group. In the particle swarm algorithm, each solution is called a particle, the position of the particle represents the candidate solution of the solution, and the speed of the particle represents the search direction and speed of the solution in the solution space. The fitness of the particle (or the objective function value) is used to evaluate the quality of the solution. PSO was first used to solve optimization problems. It finds the optimal solution by simulating the movement and information exchange of individuals in the search space. With the development, PSO is not only applied to optimization problems, but also used to solve problems in pattern recognition, machine learning, image processing and other fields, and even has wide applications in finance, medicine and engineering.

[0008] For mobile robots in the category of service robots that need to complete the real-time task requirements of users in elderly care scenarios, the overall satisfaction of users in the process of receiving services is as important as individual satisfaction. Based on the multi-stage decision model, by improving the Hungarian algorithm and the particle swarm algorithm, the present invention proposes a hybrid intelligent search algorithm (Hungarian particle swarm, HPW) combining Hungarian and particle swarm, which solves the defect that the general multi-robot multi-task allocation algorithm cannot plan the allocation plan to take into account the overall satisfaction and individual satisfaction of users.

[0009] The expression of user satisfaction is based on the expectation inconsistency theory proposed by Oliver in 1980. This theory explains the formation principle of user satisfaction. Satisfaction is mainly affected by the inconsistency between expected value and actual value. At the same time, emotional state will also affect satisfaction to a certain extent. The size and direction of the gap between actual value and expected value determine whether or not the user is satisfied and the degree of satisfaction. When the expectation inconsistency value is less than 0, it means satisfaction. The smaller the value, the greater the satisfaction. When the expectation inconsistency value is greater than 0, it means dissatisfaction. The larger the value, the less the satisfaction. For details, please refer to Oliver R LA cognitive model of theantecedents and consequences of satisfaction decisions[J].Journal ofmarketing research,1980,17(4):460-469. Summary of the invention

[0010] In response to the above problems, the present invention proposes an algorithm based on a mathematical model, which can solve the problem that when a mobile service robot completes the user's task requirements in a specific situation, it cannot take into account the user's overall satisfaction and individual satisfaction. The planned allocation plan is more advantageous than other methods in optimizing low user satisfaction.

[0011] To achieve the above object, the present invention adopts the following technical solution, which includes the following steps:

[0012] Step 1: Use the multi-stage decision-making principle to model the actual problem of multi-robot multi-task allocation into a multi-stage allocation mathematical problem;

[0013] Step 2: Establish a satisfaction model for robot service users based on the expectation inconsistency theory;

[0014] Step 3: Assign robots to complete user task requirements; for each allocation stage decomposed in step 1, obtain the tasks to be assigned and the assigned robots in the stage, substitute the robots and tasks in the stage into the satisfaction model in step 2 to obtain the stage satisfaction matrix, and use the Hungarian algorithm to perform row and column transformation on the stage satisfaction matrix to obtain the stage allocation plan; after all stages are allocated, use the particle swarm algorithm to perform global balance optimization to obtain the optimal solution for balancing overall satisfaction and individual satisfaction.

[0015] As a preferred solution, step one of the present invention is to model the service robot and user task requirements in the elderly care scenario based on the multi-stage decision theory.

[0016] As another preferred embodiment, the service robot r of the present invention i Number i, type in stage s Location time Running speed Working status The results of task allocation, service robot i State variables in phase s Represented as a sextuple:

[0017]

[0018] User p tk Issue task t k , its jth subtask st kj The state variables in the s phase are represented by a 10-tuple:

[0019]

[0020] Where: subtask number δ kj 、Subtask kj Type c kj 、Subtask kj The starting point of ls kj 、Subtask kj The end position lf kj 、Subtask kj The expected waiting time te kj 、Subtask kj Required robot collaboration time ta kj remain unchanged;

[0021] α kj Represents subtask st kj Its next subtask k(j+1) The associated state is a Boolean variable; α kj =0 means the robot executes subtask st kj There is no need to use the subtask stk (j+1) Execution robot docking; α kj =1 indicates that the robot executes subtask st kj When the subtask k(j+1) The execution robot docking;

[0022] Represents subtask st kj The allocatable state in the s phase is a Boolean variable; When represents the subtask st kj Not assignable during the s phase, When represents the subtask st kj Distributable in the s phase;

[0023] Represents subtask st kj The assigned state in the s phase is a Boolean variable; When represents the subtask st kj There is no allocation in the s phase, When represents the subtask st kj Allocated in stage s;

[0024] Represents subtask st kj The completion status at stage s is a Boolean variable; When represents the subtask st kj Not completed in stage s, When represents the subtask st kj Completed in stage s.

[0025] As another preferred solution, in step 2 of the present invention, the inconsistency value between the user's actual waiting time and the expected waiting time, the impatience coefficient, the health status value and the priority of the task affect the user's satisfaction, and a user satisfaction model is established:

[0026]

[0027] in, Indicates the priority of the task. They represent the impatience coefficient and health status of the elderly who issued the task. They respectively represent the actual waiting time and expected waiting time of the task being issued.

[0028] As another preferred solution, in step 3 of the present invention, the max-min and max-max principles are used to improve the optimization principle of the individual optimal and global optimal particles in the particle swarm algorithm:

[0029]

[0030] In the above formula, Pbest represents the individual optimal position of the particle, u represents the particle, ρ represents the number of generations of the particle, Yu represents the position of particle u, and q ud represents the satisfaction of the subtask corresponding to the d-th dimension of particle u, and D represents the dimensional space of the particle.

[0031] In the above formula, when ρ=1, the individual optimal particle of particle u is its first generation particle; when the minimum satisfaction of the subtask in the ρ+1 generation particle u is less than or equal to the minimum satisfaction of the subtask in Pbestu(ρ), the individual optimal particle position of the previous ρ+1 generation particle u is the individual optimal particle position of the previous ρ generation particle u; when the minimum satisfaction of the subtask in the ρ+1 generation particle u is greater than the minimum satisfaction of the subtask in Pbestu(ρ), the individual optimal particle position of the previous ρ+1 generation particle u is the position of the ρ+1 generation particle u;

[0032]

[0033]

[0034] In the above formula, τ represents the total number of subtasks; q Ud (ρ+1) represents the satisfaction of the subtask corresponding to the dth dimension of the ρ+1th generation particle U; represents the satisfaction of the subtask corresponding to the dth dimension of the ρth generation global optimal particle; in the above formula, when ρ = 1, Gbest(1) is the particle position corresponding to the maximum value of the overall satisfaction of the first generation particle;

[0035] It means that the sum of the satisfaction of subtasks in the ρ+1 generation particle U is equal to the maximum sum of the satisfaction of subtasks of each particle in the ρ+1 generation. The overall satisfaction of the ρ+1 generation particle U is the maximum value of the overall satisfaction of each particle in the ρ+1 generation.

[0036] When the sum of the satisfaction of the subtasks in the ρ+1 generation particle U is less than or equal to the sum of the satisfaction of the subtasks in the ρ generation overall optimal particle, the position of the ρ+1 generation overall optimal particle is the position of the ρ generation overall optimal particle;

[0037] When the sum of the satisfaction of subtasks in particle U of the ρ+1th generation is greater than the sum of the satisfaction of subtasks in the overall optimal particle of the ρ+1th generation, the position of the overall optimal particle of the ρ+1th generation is the position of the particle with the maximum overall satisfaction of the ρ+1th generation.

[0038] Secondly, in step 3 of the present invention, after the optimization method for the individual optimal particle position and the overall optimal particle position is established, the particle position is updated next:

[0039] v u (ρ+1)=ωv u (ρ)+ψ1μ1(Pbest u (ρ)-Yu(ρ))+ψ2μ2(Gbest(ρ)-Y u (ρ)

[0040] Y u (ρ+1)=Y u (ρ)+v u (ρ+1)

[0041] In the above formula, when ρ=1, The inertia constant ω controls the degree of influence of the current velocity of the particle on the velocity of the next generation; the value range of the inertia constant ω is between 0 and 1; the learning constant ψ1 controls the convergence speed of the particle to the individual optimal solution, and the learning constant ψ2 controls the convergence speed of the particle to the overall optimal solution; the value range of the learning constant is between 0 and 2; μ1 and μ2 are random numbers between 0 and 1.

[0042] In addition, the inertia constant ω of the present invention is 0.2, the learning constant ψ1=ψ2=0.5, and the particle size n Y =200, number of iterations n pso =100; Set the fitness function:

[0043]

[0044] Where τ is the number of subtasks.

[0045] The invention has beneficial effects.

[0046] The multi-task allocation algorithm allocates robots to complete tasks, which not only needs to be able to allocate and complete all tasks, but also needs to consider the balance between the user's overall satisfaction and individual satisfaction. After the user proposes a task requirement, the allocation plan planned by the Hungarian-particle swarm hybrid intelligent search algorithm of the present invention corresponds to a sufficiently high individual user satisfaction; the degree of decrease in the user's overall satisfaction compared to the maximum overall satisfaction is within an acceptable range. From the perspective of the balance between the user's overall satisfaction and individual satisfaction, it is explained that the Hungarian-particle swarm hybrid intelligent search method can better balance the user's overall satisfaction and individual satisfaction than the allocation plan planned by the overall satisfaction maximum algorithm.

[0047] Multistage Decision Theory (MDT) is a theoretical framework for solving complex problems. This theory is particularly suitable for problems that require continuous decisions to be made based on new information and conditions at different time points. Its core concepts include stages, state variables, decision variables, and state transition equations. MDT decomposes the decision process into a series of interconnected stages, each of which represents a specific time point or state in the decision process. In each stage, the decision variables are determined based on the stage state variables, and then the decision variables are substituted into the state transition equation to calculate the state variables of the next stage. The present invention models the robot and user task requirements, that is, the states of the robot and user task requirements are represented by the robot's state variables and the user's task requirements' state variables, respectively.

[0048] Service Robot i Number i, type in stage s Location time Running speed Working status The above factors should be considered comprehensively when modeling the service robot. i State variables in phase s It can be represented by a sextuple that combines the above factors.

[0049] The multi-task allocation problem in the elderly care context requires that the task be decomposed into a series of subtasks that can be completed by a single service robot. Completing the allocation of all subtasks is equivalent to completing the allocation of all tasks. Therefore, when modeling the task, the state variables of the subtasks need to be described. Issue task t k , its jth subtask st kj The state variables in stage s can be represented by a 10-tuple. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. The protection scope of the present invention is not limited to the following description.

[0051] Figure 1 This is a plan view of the experimental scene in the elderly care scenario of the present invention.

[0052] Figure 2 This is an inconsistency model diagram expected by the present invention.

[0053] Figure 3 This is a diagram showing changes in satisfaction with the present invention.

[0054] Figure 4 This is a flow chart of the Hungarian-particle swarm hybrid intelligent search algorithm of the present invention.

[0055] Figure 5 A diagram of a method for dividing the stages of a subtask sequence executed by the robot of the present invention.

[0056] Figure 6 This is a comparison chart of the satisfaction of each subtask under the overall satisfaction maximum strategy and the balanced strategy in the example of the present invention. DETAILED DESCRIPTION

[0057] The Hungarian-Particle Swarm Hybrid Intelligent Search Algorithm, based on the modeling of the multi-stage decision-making principle, supplements the definition of the efficiency value of the robot completing the subtask and improves the optimization mechanism of the individual optimum and the global optimum. After the user proposes a task requirement, not only should the robot be assigned to complete all tasks, but also the overall satisfaction and individual satisfaction of the user should be taken into account to prevent the situation where the overall satisfaction is very high while the satisfaction of some individuals is too low. Therefore, in the Hungarian-Particle Swarm Hybrid Intelligent Search Algorithm, not only the max-max principle is introduced to ensure that the overall satisfaction of the user is considered when the scheme is iteratively updated, but also the max-min principle is introduced to ensure the individual satisfaction of the user. The allocation scheme is the result of the combined effect of the changes in overall satisfaction and individual satisfaction.

[0058] The embodiment of the present invention includes the following steps:

[0059] Step 1: Use the multi-stage decision-making principle to model the actual problem of multi-robot multi-task allocation into a multi-stage allocation mathematical problem.

[0060] In such Figure 1 In the experimental scene in the elderly care scenario shown, there are rooms RP1, RP2, RP3, and RP4 with toilets, dining rooms, activity rooms, and four elderly people p1, p2, p3, and p4. There are two types of service robots: walking robots (triangles in the figure) and intelligent wheelchair robots (rectangles in the figure). The walking robots have the function of pulling up and putting down the elderly, and the wheelchair robots can carry the elderly to the destination. The driving speed of the robots is 1m / s. At 0 seconds, the elderly p1 proposed the task t1 of going to the toilet in his room, and the expected waiting time was 7 seconds; the elderly p2 proposed the task t2 of eating in his room, and the expected waiting time was 12 seconds; the elderly p3 proposed the task t3 of taking a walk, and the expected waiting time was 20 seconds.

[0061] Model the robot, and its initial state variables are:

[0062]

[0063]

[0064]

[0065]

[0066] Break down user tasks into a series of subtasks that can be completed by a single service robot:

[0067]

[0068] Model the subtasks, and their initial state variables are:

[0069]

[0070]

[0071]

[0072]

[0073]

[0074]

[0075]

[0076] Decision variables are variables used to describe the decisions made at each stage. In the elderly care context, decision variables Indicates that in stage s, subtask st kj Whether to arrange for service robots i Done, it is a Boolean variable, When it means that in the s stage subtask st kj No arrangement for service robots i Finish, When it means that in the s stage subtask st kj Arrange for service robot i Finish;

[0077] The state transition equation describes the transition relationship between states in different stages. In the nursing home scenario, the following state transition equations are established for the state variables of the robot and subtasks:

[0078]

[0079] In the above formula: If in stage s subtask st kj Assigned to the service robot i , subtask st kj is not associated with the next subtask; or subtask stkj is associated with the next subtask, and the next subtask has been assigned. Then the position of the service robot ri in stage s+1 is transferred to the subtask st kj The end position lf kj If the subtask st kj If it is associated with the next subtask, but the next subtask is not assigned, then the position of the service robot ri in stage s+1 is transferred to the starting position of the subtask stkj;

[0080]

[0081] In the above formula: If in stage s subtask st kj Assigned to the service roboti , subtask st kj It is not related to the next subtask, so the service robot r in stage s+1 i The time coordinates of the service robot r i Complete subtask st kj moment; if in stage s subtask st kj Assigned to the service robot i , subtask st kj is associated with the next subtask, but the next subtask is not assigned. Then the service robot r in stage s+1 i The time coordinates of the service robot r i Arrive at subtask st kj The moment of the starting position; if in the s stage subtask st kj Assigned to the service robot i , subtask st kj With the next subtask st k(j+1) Associated, and subtask st k(j+1) Assigned to service robot Then the service robot r in stage s+1 i When updating the coordinates of the service robot at the moment of i Arrive at subtask st kj The moment of starting, and the service robot Arrive at subtask st k(j+1) The starting point, then the maximum value of the two plus r i By st kj The time from the starting position to the end position and the robot's collaboration time;

[0082]

[0083] In the above formula: If in stage s subtask st kj Assigned to the service robot i , but the subtask is not completed in this stage, then in the s+1 segment, the service robot r i The working state of is occupied; on the contrary, if the subtask is completed in this stage, then the service robot r in the s+1 segment i The working status is idle;

[0084]

[0085] In the above formula: If the subtask st kj It is the task k The first subtask of the decomposition, then the subtask st kj The assignable status value of the subtask is always 1; if the subtask st kj Not a missionk The first subtask of the decomposition but the predecessor subtask st k(j-1) Allocated in stage s, then the subtask st in stage s+1 kj The assignable value is 1; if the subtask st kj Not a mission k The first subtask of the decomposition and the predecessor subtask st k(j-1) If there is no assignment in stage s, then the subtask st in stage s+1 kj The assignable value of is 0;

[0086]

[0087] In the above formula: When the subtask kj In stage s, it is assigned to the service robot r i Execute, then in the s+1 stage subtask st kj The assigned status value of is 1;

[0088]

[0089] In the above formula: If the subtask st kj In stage s, it is assigned to the service robot r i Execute, subtask kj is related to its subsequent subtask, but the subsequent subtask is not assigned, then in the s+1 stage subtask st kj The completion status value of the subtask is 0; if the subtask st kj In the s stage, the subtask st is assigned to the service robot ri for execution. kj is not related to its successor subtask, then in the s+1 stage subtask st kj The completion status value of the subtask is 1; if the subtask st kj In stage s, it is assigned to the service robot r i Execute, subtask kj is related to its subsequent subtask, and the subsequent subtask has been assigned, then in the s+1 stage subtask st kj The completion status value is 1.

[0090] Step 2: Establish a satisfaction model for robot service users based on the expectation inconsistency theory.

[0091] Based on Figure 2 In the expectation inconsistency model shown, the inconsistency value between the user's actual waiting time and the expected waiting time, the impatience coefficient, the health status value and the task priority will affect the user's satisfaction. The user satisfaction model is established:

[0092]

[0093] in, Indicates the priority of the task. They represent the impatience coefficient and health status of the elderly who issued the task. They respectively represent the actual waiting time and expected waiting time of the task being issued.

[0094] The changing pattern of satisfaction is as follows Figure 3 Shown: The blue curve represents The red curve represents the change curve of satisfaction When the expectation inconsistency value When the expectation inconsistency value is 0, the satisfaction is 0, and the satisfaction is at the critical point between satisfaction and dissatisfaction. When the expectation inconsistency value decreases from 0, the satisfaction increases, but the rate of increase decreases; when the expectation inconsistency value decreases to a certain extent, the satisfaction almost reaches the maximum value, and the expectation inconsistency value continues to decrease, and the satisfaction remains basically unchanged. When the expectation inconsistency value increases from 0, the satisfaction decreases, and the rate of decrease decreases; when the expectation inconsistency value increases to a certain extent, the satisfaction almost reaches the minimum value, and the expectation inconsistency value continues to increase, the satisfaction remains basically unchanged; when the expectation inconsistency value is greater than 0, the satisfaction of the blue curve is greater than the satisfaction of the red curve; when the expectation inconsistency value is less than 0, the satisfaction of the blue curve is less than the satisfaction of the red curve.

[0095] Step 3: Assign robots to complete user task requirements.

[0096] The present invention proposes a hybrid intelligent search algorithm combining Hungarian and particle swarm. Figure 4 As shown in the figure: in step 1, the model of the robot and subtask has been established using the multi-stage decision-making principle. In step 2, the satisfaction model of the robot completing the user's task requirements has been established, and the initial state values ​​of the robot and subtask are passed into the hybrid intelligent search algorithm of the present invention; then, according to the method shown in the figure, Figure 5 The sequence division method of robot execution subtasks shown in the figure divides the subtasks to be assigned and the idle robots in the stage, and then uses the Hungarian algorithm to solve the allocation scheme of stage robots and subtasks. In order to overcome the limitation that the general Hungarian algorithm can only assign homogeneous robots to serve users, the efficiency value of heterogeneous robots serving users is supplemented by defining that if the robot r i Types and subtasks of kj The types are different, indicating that r i Not able to complete st kj , then

[0097]

[0098] After all stage allocations are completed, in order to balance individual user satisfaction and overall satisfaction, the max-min and max-max principles are used to calculate the individual optimal particles and the global optimal particles, and then the particles are updated, and then the stage Hungarian allocation is entered again, and this is repeated until the preset number of iterations is reached to output the optimal balanced solution.

[0099] The Hungarian algorithm is used to allocate tasks and robots within each stage. After all stages are allocated, in order to optimize the situation where some individual satisfaction is too low when the overall user satisfaction is maximized, the max-min and max-max principles are used to improve the optimization principle of the individual optimal and global optimal particles in the particle swarm algorithm.

[0100] The max-min principle refers to the strategy of choosing the maximum minimum value in the decision-making process. Its basic idea is to choose the solution that can maximize the minimum benefit or minimize the maximum loss when faced with multiple possible choices. This invention uses the max-min principle to calculate the individual optimal position of particles:

[0101]

[0102] In the above formula, Pbest represents the individual optimal position of the particle, u represents the particle, ρ represents the number of generations of the particle, Yu represents the position of particle u, and q ud represents the satisfaction of the subtask corresponding to the dth dimension of particle u, and D represents the dimensional space of the particle. When ρ = 1, the individual best particle of u is its first generation particle. When the minimum satisfaction of the subtask in the ρ+1th generation particle u is less than or equal to Pbest u When the minimum satisfaction of the subtask in (ρ) is reached, the individual optimal particle position of the particle u in the previous ρ+1 generation is the individual optimal particle position of the particle u in the previous ρ generation; when the minimum satisfaction of the subtask in the ρ+1 generation particle u is greater than Pbest u When the minimum satisfaction of the subtask is reached in (ρ), the individual optimal particle position of the particle u of the previous ρ+1 generation is the position of the particle u of the ρ+1 generation. In short, the individual optimal particle position of the particle u of the previous ρ+1 generation is the position with the maximum minimum satisfaction of the subtask in each generation. The individual optimal position selected by the max-min mechanism can optimize the individual satisfaction and make the minimum satisfaction of the subtask larger and larger.

[0103] The max-max principle is a decision-making method, also known as an optimistic decision-making method or a method of finding the best among the best. The core idea of ​​this method is to first calculate the maximum benefit value of each plan, and then compare and find the largest one. Under the max-max principle, the global optimal position of a particle is the particle position with the largest sum of subtask satisfaction:

[0104]

[0105] in,

[0106] In the above formula, τ represents the total number of subtasks; q Ud (ρ+1) represents the satisfaction of the subtask corresponding to the dth dimension of the ρ+1th generation particle U; Represents the satisfaction of the subtask corresponding to the d-th dimension of the ρ-th generation global optimal particle.

[0107] When ρ = 1, Gbest(1) is the particle position corresponding to the maximum value of the overall satisfaction of the first generation of particles. It means that the sum of the satisfaction of the subtasks in the ρ+1 generation particle U is equal to the maximum sum of the satisfaction of the subtasks of each particle in the ρ+1 generation, that is, the overall satisfaction of the ρ+1 generation particle U is the maximum value of the overall satisfaction of each particle in the ρ+1 generation. When the sum of the satisfaction of the subtasks in the ρ+1 generation particle U is less than or equal to the sum of the satisfaction of the subtasks in the ρ generation overall optimal particle, the position of the ρ+1 generation overall optimal particle is the position of the ρ generation overall optimal particle; when the sum of the satisfaction of the subtasks in the ρ+1 generation particle U is greater than the sum of the satisfaction of the subtasks in the ρ generation overall optimal particle, the position of the ρ+1 generation overall optimal particle is the position of the particle with the maximum overall satisfaction in the ρ+1 generation.

[0108] After the optimization method for the optimal position of individual particles and the optimal position of the whole particle is established, the position of the particle is updated:

[0109] v u (ρ+1)=ωv u (ρ)+ψ1μ1(Pbest u (ρ)-Y u (ρ))+ψ2μ2(Gbest(ρ)-Y u (ρ)

[0110] Y u (ρ+1)=Y u (ρ)+v u (ρ+1)

[0111] In the above formula, when ρ=1, The inertia constant ω controls the degree to which the current velocity of the particle affects the velocity of the next generation. A smaller inertia constant will cause the particle to adapt to the new position more quickly, while a larger inertia constant will make the particle more inclined to maintain the current velocity. The value range of the inertia constant is usually between 0 and 1. The learning constant ψ1 controls the speed at which the particle converges to the individual optimal solution, and the learning constant ψ2 controls the speed at which the particle converges to the overall optimal solution. In general, the learning constant ranges from 0 to 2. For simple problems, the learning constant can be set to a smaller value (such as 0.1 or 0.2), and the inertia constant can be set to a larger value (such as 0.5 or 0.8). For complex problems, the learning constant can be appropriately increased (such as 0.5 or 1), and the inertia constant can be set to a smaller value (such as 0.1 or 0.2). μ1 and μ2 are random numbers between 0 and 1.

[0112] Set the inertia constant ω = 0.2, the learning constant ψ1 = ψ2 = 0.5, and the particle size n Y =200, number of iterations n pso = 100. In order to select particles with sufficient individual satisfaction and as large an overall satisfaction as possible, the fitness function is set:

[0113]

[0114] Where τ is the number of subtasks. Substituting the initial state values ​​of the robot and the subtasks into the hybrid intelligent search algorithm of the present invention, the optimal allocation scheme that balances the overall satisfaction and individual satisfaction of the elderly is max(f u )’s solution.

[0115] Compared with the solution with the maximum overall satisfaction, the satisfaction of each subtask is as follows: Figure 6 As shown in the figure: Under the strategy of maximum overall satisfaction, the overall satisfaction is 4.562, but because the waiting time for the elderly p2 to transfer the subtask is longer, it exceeds the expected waiting time of elderly p2, the satisfaction of subtask 2 is -0.444, and the variance of all subtask satisfaction is 0.737. Under the balanced strategy, although the overall satisfaction is 4.28, slightly less than the satisfaction of 4.562 under the strategy of maximum overall satisfaction, the minimum subtask satisfaction under the balanced strategy has increased from -0.444 to 0.15 compared with the minimum subtask satisfaction under the strategy of maximum overall satisfaction, changing from dissatisfaction to satisfaction. The variance of all subtask satisfaction is 0.446, indicating that the distribution of satisfaction of each subtask is more even under the balanced strategy, effectively balancing the overall satisfaction and individual satisfaction.

[0116] It can be understood that the above specific description of the present invention is only used to illustrate the present invention and is not limited to the technical solutions described in the embodiments of the present invention. Those skilled in the art should understand that the present invention can still be modified or replaced by equivalents to achieve the same technical effects; as long as the use requirements are met, they are within the protection scope of the present invention.

Claims

1. Hungarian particle swarm hybrid intelligent search method, characterized by The following steps are involved: Step 1: Use the multi-stage decision-making principle to model the actual problem of multi-robot multi-task allocation into a multi-stage allocation mathematical problem; Step 2: Establish a satisfaction model for robot service users based on the expectation inconsistency theory; Step 3: Assign robots to complete user task requirements; for each allocation stage decomposed in step 1, obtain the tasks to be assigned and the assigned robots in the stage, substitute the robots and tasks in the stage into the satisfaction model in step 2 to obtain the stage satisfaction matrix, and use the Hungarian algorithm to perform row and column transformation on the stage satisfaction matrix to obtain the stage allocation plan; after all stages are allocated, use the particle swarm algorithm to perform global balance optimization to obtain the optimal solution for balancing overall satisfaction and individual satisfaction.

2. According to claim 1, the Hungarian particle swarm hybrid intelligent search method is characterized in that The first step is to model the service robot and user task requirements in the elderly care scenario based on the multi-stage decision theory.

3. According to claim 2, the Hungarian particle swarm hybrid intelligent search method is characterized in that The service robot i Number i, type in stage s Location time Running speed Working status The results of task allocation are affected by service robots. i State variables in phase s Represented as a sextuple: user Issue task t k , its jth subtask st kj The state variables in the s phase are represented by a 10-tuple: Among them: subtask number δkj, subtask type ckj, subtask starting position lskj, subtask end position lf kj 、Subtask kj The expected waiting time te kj 、Subtask kj Required robot collaboration time ta kj remain unchanged; αkj represents the subtask stkj and its next subtask stk ( j +1) The association state is a Boolean variable; when αkj=0, it means When the robot performs subtask stkj, it does not need to communicate with subtask stk ( j +1) When αkj=1, it means the robot executes the subtask st kj When the subtask k( j +1) The execution robot docking; Represents subtask st kj The allocatable state in the s phase is a Boolean variable; When represents the subtask st kj Not assignable during the s phase, When represents the subtask st kj Distributable in the s phase; Represents subtask st kj The assigned state in the s phase is a Boolean variable; When represents the subtask st kj There is no allocation in the s phase, When represents the subtask st kj Allocated in stage s; ηk s j represents the completion status of subtask stkj in stage s, which is one Boolean variables; When represents subtask stkj In the s-order The segment is not completed. When represents the subtask st kj Completed in stage s.

4. The Hungarian particle swarm hybrid intelligent search method according to claim 1 is characterized in that In step 2, the inconsistency between the user's actual waiting time and expected waiting time, the impatience coefficient, the health status value and the priority of the task affect the user's satisfaction, and a user satisfaction model is established: in, Indicates the priority of the task. They represent the impatience coefficient and health status of the elderly who issued the task. They respectively represent the actual waiting time and expected waiting time of the task being issued.

5. The Hungarian particle swarm hybrid intelligent search method according to claim 1 is characterized in that In step 3, the max-min and max-max principles are used to improve the optimization principle of the individual optimal and global optimal particles in the particle swarm algorithm: In the above formula, Pbest represents the individual optimal position of the particle, u represents the particle, ρ represents the number of generations of the particle, Yu represents the position of particle u, and q ud represents the satisfaction of the subtask corresponding to the d-th dimension of particle u, and D represents the dimensional space of the particle; In the above formula, when ρ = 1, the individual optimal particle of particle u is its first generation particle; When the minimum satisfaction of the subtask in the ρ+1th generation particle u is less than or equal to the minimum satisfaction of the subtask in Pbestu(ρ), the individual optimal particle position of the previous ρ+1 generation particle u is the individual optimal particle position of the previous ρ generation particle u; when the minimum satisfaction of the subtask in the ρ+1th generation particle u is greater than the minimum satisfaction of the subtask in Pbestu(ρ), the individual optimal particle position of the previous ρ+1 generation particle u is the position of the ρ+1th generation particle u; In the above formula, τ represents the total number of subtasks; q U d(ρ+1) represents the satisfaction of the subtask corresponding to the dth dimension of the ρ+1th generation particle U; represents the satisfaction of the subtask corresponding to the dth dimension of the ρth generation global optimal particle; in the above formula, when ρ = 1, Gbest(1) is the particle position corresponding to the maximum value of the overall satisfaction of the first generation particle; It means that the sum of the satisfaction of subtasks in the ρ+1 generation particle U is equal to the maximum sum of the satisfaction of subtasks of each particle in the ρ+1 generation. The overall satisfaction of the ρ+1 generation particle U is the maximum value of the overall satisfaction of each particle in the ρ+1 generation. When the sum of the satisfaction of the subtasks in the ρ+1 generation particle U is less than or equal to the sum of the satisfaction of the subtasks in the ρ generation overall optimal particle, the position of the ρ+1 generation overall optimal particle is the position of the ρ generation overall optimal particle; When the sum of the satisfaction of subtasks in particle U of the ρ+1th generation is greater than the sum of the satisfaction of subtasks in the overall optimal particle of the ρ+1th generation, the position of the overall optimal particle of the ρ+1th generation is the position of the particle with the maximum overall satisfaction of the ρ+1th generation.

6. The Hungarian particle swarm hybrid intelligent search method according to claim 1 is characterized in that In step 3, after the optimization method for the individual optimal particle position and the overall optimal particle position is established, the particle position is updated next: vu(ρ+1)=ωvu(ρ)+ψ1μ1(Pbestu(ρ)-Yu(ρ))+ψ2μ2(Gbest(ρ)-Yu(ρ)) Yu(ρ+1)=Yu(ρ)+vu(ρ+1) In the above formula, when ρ = 1, The inertia constant ω controls the degree of influence of the current velocity of the particle on the velocity of the next generation; the value range of the inertia constant ω is between 0 and 1; the learning constant ψ1 controls the convergence speed of the particle to the individual optimal solution, and the learning constant ψ2 controls the convergence speed of the particle to the overall optimal solution; the value range of the learning constant is between 0 and 2; μ1 and μ2 are random numbers between 0 and 1.

7. The Hungarian particle swarm hybrid intelligent search method according to claim 6 is characterized in that The inertia constant ω=0.2, the learning constant ψ1=ψ2=0.5, the particle size n Y =200, number of iterations npso = 100; set fitness function: Where τ is the number of subtasks.