Automatic scheduling method and system for inspectors based on mixed integer programming

Through the automatic scheduling method based on mixed integer programming, the work arrangement of inspectors is optimized, the problems of human preference and low efficiency in traditional scheduling methods are solved, and the effect of minimum cost and maximum parking fee recovery is achieved.

CN118229255BActive Publication Date: 2024-08-30QINGDAO SONLI SOFTWARE INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410649224.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

Traditional patrol inspector scheduling methods are affected by human preferences and are unfair or unreasonable. They consume a lot of manpower and time, and fail to fully consider the inspector's work ability and the complex situation of the parking lot. This results in low scheduling efficiency, high costs, and cannot be maximized. Parking fee recovery.

Method used

An automatic scheduling method based on mixed integer programming is adopted. Through data collection, analysis and model modeling, the Lingo tool is used to solve the inspection route and scheduling plan, and optimize the work arrangement of the inspectors to achieve the minimum cost and maximum parking fee collection.

Benefits of technology

It improves the inspection efficiency, achieves the maximum parking fee collection effect with the minimum cost, and reduces the manpower and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229255B
    Figure CN118229255B
Patent Text Reader

Abstract

The present invention relates to the field of intelligent management technology, and in particular to a method and system for automatically scheduling inspectors based on mixed integer programming. The method first collects parking order conditions of various on-street parking lots and work ability data of various inspectors and performs data analysis, then establishes an inspection route planning model, and uses Lingo tools to solve and obtain each inspection route; then the inspectors are automatically scheduled, and finally the on-street parking lot revenue of the optimal solution and the inspectors' feedback on work arrangements are evaluated. According to the evaluation results, the automatic scheduling plan for inspectors is adjusted and optimized, the layout plan for inspectors is intelligently found, the inspection efficiency is improved, and the effect of realizing maximum parking fee recovery with minimum cost is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent management technology, and in particular to an automatic scheduling method and system for inspectors based on mixed integer programming. Background Art

[0002] Inspector scheduling management is of great significance to the revenue of on-street parking lots. Reasonable scheduling can give full play to the capabilities of inspectors, improve inspection efficiency, and increase the amount of fare recovery while reducing management costs.

[0003] However, traditional methods of scheduling inspectors have many problems, including unfair or unreasonable scheduling due to human preferences, consuming a lot of manpower and time, and failing to fully consider the inspectors' work capabilities and complex parking lot conditions. For example, during on-street parking lot peak charging times and times when parking orders are easily missed, inspectors need to be dispatched to inspect and collect fees; although a large number of children stop and enter and exit from school after school, the parking time is short and no fees are charged; parking lots with many long-term rental vehicles (many vehicles entering and exiting but low fees), do not need to send inspectors to inspect and collect fees, resulting in inefficient scheduling, high costs, and failure to maximize the effect of collecting parking fees.

[0004] Therefore, there is a need for an intelligent automatic scheduling method and system for inspectors, which can automatically schedule inspectors according to the characteristics of the parking lot, operational needs, and the work ability and salary of each inspector through the establishment and solution of scientific mathematical models, so as to achieve the effect of maximum parking fee recovery at the lowest cost. Summary of the invention

[0005] In order to solve the shortcomings of the above method, the present invention provides a method and system for automatic scheduling of inspectors based on mixed integer programming.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a method for automatically scheduling inspectors based on mixed integer programming, comprising the following steps:

[0008] S1. Data collection: Collect parking order information of each on-street parking lot and the work ability data of each inspector;

[0009] S2. Data analysis: Based on the collected data, analyze whether each on-street parking lot needs to send inspectors to collect fees, and evaluate the inspectors' capabilities based on their inspection distances and collection fees;

[0010] S3. Inspection route planning: Based on the collected and analyzed data, an inspection route planning model is established, and the Lingo tool is used to solve each inspection route;

[0011] S4. Automatic scheduling of inspectors: Based on the inspection route obtained in step S3, an automatic scheduling model for inspectors is established, and the Lingo tool is used to solve the scheduling of each inspection route per week;

[0012] S5. Result evaluation and adjustment: Evaluate the on-street parking revenue of the optimal solution and the inspectors’ feedback on work arrangements, and adjust and optimize the inspectors’ automatic scheduling plan based on the evaluation results.

[0013] As a further technical solution of the present invention, the parking order situation in step S1 includes the number of parking orders per day in the parking lot, parking time, parking location and charging situation; the inspector's work ability data includes inspection distance, ability to collect parking fees and salary.

[0014] As a further technical solution of the present invention, the situations in step S2 where inspectors need to be dispatched to collect fees include peak parking lot entry and exit charging hours and times when bills are easily missed; situations where inspectors do not need to be dispatched to collect fees include school pick-up and drop-off times and parking lots with many long-term rental vehicles.

[0015] As a further technical solution of the present invention, the inspection route planning model established in step S3 takes the working time balance of each inspection route as the objective function, and arranges which inspection route a parking lot belongs to through 0-1 assignment, while considering the continuity of the inspection route and the inspection route time as constraints. The objective function and the constraints are:

[0016] Objective function: (1),

[0017] The constraints are: (2),

[0018] (3),

[0019] (4),

[0020] (5),

[0021] in Indicates parking lot Is it in On the inspection route, Indicates parking lot In the On the inspection route, Indicates parking lot Not in on the inspection route; Indicates detection The time spent in a parking lot, Indicates that from Parking lot to The time spent in the parking lot; Indicate route Is it in On the inspection route, Indicate route In the On the inspection route, Indicate route Not in On the inspection route.

[0022] As a further technical solution of the present invention, the automatic scheduling model for inspectors established in step S4 takes the work allocation on each inspection route per week as a decision variable and the revenue of the on-street parking lot as an objective function. The objective function and constraints of the automatic scheduling model for inspectors are:

[0023] Objective function: (6),

[0024] Constraints: (7),

[0025] (8),

[0026] (9),

[0027] in Indicates The inspection distance of the inspection routes, Indicates inspection The time required for the inspection route, Inspector Inspection mileage per period of time, Inspector Salary per period, Inspector Check the amount of money collected each time during the parking lot inspection. Inspector In the Is the day scheduled on the inspection route? superior, Inspector In the Days are arranged on the inspection route superior, Inspector In the The day was not arranged on the inspection route superior.

[0028] In a second aspect, the present invention provides an automatic patrol inspector scheduling system based on mixed integer programming, comprising:

[0029] Data collection module: used to collect parking order information of each on-street parking lot and the work ability data of each inspector;

[0030] Data analysis module: used to analyze whether each on-street parking lot needs to send inspectors to collect fees, and evaluate the inspectors' capabilities based on their inspection distances and collection fees;

[0031] Inspection route planning module: used to establish the inspection route planning model and use the Lingo tool to solve each inspection path;

[0032] Inspector automatic scheduling module: used to establish an inspector automatic scheduling model, and use the Lingo tool to solve the scheduling of each inspection route every week;

[0033] Result evaluation and adjustment module: used to evaluate the on-street parking revenue of the optimal solution and the inspectors' feedback on work arrangements, and adjust and optimize the inspectors' automatic scheduling plan based on the evaluation results.

[0034] The present invention first collects the parking order situation of each on-street parking lot, the inspection distance of each inspector, the amount of parking fees collected, and other data, and then analyzes these data to analyze the time period when each on-street parking lot needs to send inspectors to collect fees, the time period when inspectors do not need to be sent to collect fees, the parking lots that do not need to be sent to inspect and collect fees, and the work capabilities of each inspector; then the inspector route planning problem is modeled, and the mixed integer programming problem is solved with the help of the lingo tool, and then the inspector's automatic scheduling problem for one week is modeled based on the inspection route, and the mixed integer programming problem is solved with the help of the lingo tool to achieve the effect of maximum parking fee collection with the minimum cost; finally, the benefits of the on-street parking lot of the evaluation scheme and the feedback of the inspectors are adjusted and optimized according to these data. Mixed integer programming (MIP) has a wide range of applications in solving scheduling problems. Scheduling problems usually involve arranging employee work schedules to meet business needs under certain resources and constraints. This problem usually involves integer decision variables and a series of constraints, so it is very suitable for modeling and solving using mixed integer programming.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The present invention models the problem of automatic scheduling of inspectors and solves this mixed integer programming problem through Lingo, which can intelligently find out the scheduling plan of inspectors, improve the inspection efficiency, and achieve the effect of maximum parking fee recovery with minimum cost (fewest inspectors, least expenses). BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present disclosure and do not constitute improper limitations on the present invention.

[0038] Figure 1 A flow chart of an automatic patrol inspector scheduling method based on mixed integer programming provided by the present invention.

[0039] Figure 2 A structural block diagram of an automatic patrol inspector scheduling system based on mixed integer programming provided by the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0041] Embodiment 1:

[0042] like Figure 1 As shown, the method and system for automatic scheduling of inspectors based on mixed integer programming in an embodiment of the present invention include the following steps:

[0043] S1. Data collection: Collect the parking order status of each on-street parking lot and the work ability data of each inspector. The parking order status includes the number of parking orders per day, parking time, parking location and charging status of the parking lot; the work ability data of the inspector includes the inspection distance, the ability to collect parking fees and the salary.

[0044] S2. Analyze data: Based on the collected data, analyze whether each on-street parking lot needs to send inspectors to collect fees; based on the inspectors' historical data, calculate the inspection distance of each inspector in each period of time, the amount of collection in each period of time, and evaluate the inspectors' capabilities based on their inspection distance and collection fees; situations where inspectors need to be sent to collect fees include peak parking lot entry and exit charging hours and times when bills are likely to be missed; situations where inspectors do not need to be sent to collect fees include school pick-up and drop-off times and parking lots with many long-term rental vehicles.

[0045] S3. Inspection route planning: Based on the collected data, an inspection route planning model is established. The objective function is to balance the working time of each inspection route as much as possible. The inspection route to which a parking lot belongs is arranged through 0-1 assignment. At the same time, the continuity of the inspection route and the inspection route time are considered as constraints, and each inspection path is solved using the Lingo tool. The inspection route planning model is established to balance the working time on each inspection route to ensure the balance of the inspector's workload and facilitate scheduling on each inspection route every day. The objective function and constraints of the established inspection route planning model are:

[0046] Objective function: (1),

[0047] The constraints are: (2),

[0048] (3),

[0049] (4),

[0050] (5),

[0051] in Indicates parking lot Is it in On the inspection route, Indicates parking lot In the On the inspection route, Indicates parking lot Not in on the inspection route; Indicates detection The time spent in a parking lot, Indicates that from Parking lot to The time spent in the parking lot; Indicate route Is it in On the inspection route, Indicate route In the On the inspection route, Indicate route Not in inspection routes; objective function (1) represents the balance of working time on each inspection route, which is composed of the time spent on the inspection in the parking lot on each inspection route and the time spent on the road from one parking lot to another; formula (2) ensures that Parking lot available ; Formula (3) means that for each inspection path , pass The specified edges form a loop, and the out-degree and in-degree of each point on the loop are the same; Formula (4) ensures that every parking lot needs to be on the inspection path; Formula (5) ensures that The parking lot on the road must be on the route it passes through.

[0052] S4, automatic scheduling of inspectors: Based on the inspection path obtained in step S3, the inspectors' weekly work is automatically scheduled, specifically:

[0053] First, an automatic scheduling model for inspectors is established. The purpose of establishing the automatic scheduling model for inspectors is to schedule inspectors on various inspection routes within a week to achieve the maximum parking fee recovery effect with the least cost. The objective function and constraints of the established automatic scheduling model for inspectors are:

[0054] Objective function: (6),

[0055] Constraints: (7),

[0056] (8),

[0057] (9),

[0058] in Indicates The inspection distance of the inspection routes, Indicates inspection The time required for the inspection route, Inspector Inspection mileage per period of time, Inspector Salary per period, Inspector Check the amount of money collected each time during the parking lot inspection. Inspector In the Is the day scheduled on the inspection route? superior, Inspector In the Days are arranged on the inspection route superior, Inspector In the The day was not arranged on the inspection route The objective function represents the weekly revenue of the on-street parking lot, which is composed of the amount of money collected by the inspector in a week minus the inspector's salary. Formula (7) indicates that each inspector is assigned to one route every day, and formula (8) indicates that only one inspector is assigned to each route every day. Formula (9) indicates that the inspector's salary per period of time is related to the inspector's inspection ability. It can be ensured that the more inspection mileage per period of time, the more money collected per period of time, and the more salary per period of time;

[0059] Then use the Lingo tool to solve the weekly inspector schedule and achieve the maximum parking fee recovery effect with the minimum cost.

[0060] S5. Result evaluation and adjustment: Evaluate the on-street parking revenue of the optimal solution and the inspectors’ feedback on work arrangements, and adjust and optimize the inspectors’ automatic scheduling plan based on the evaluation results.

[0061] Embodiment 2:

[0062] like Figure 2 As shown, this embodiment provides an automatic patrol inspector scheduling system based on mixed integer programming, including:

[0063] Data collection module: used to collect parking order information of each on-street parking lot and the work ability data of each inspector;

[0064] Data analysis module: used to analyze whether each on-street parking lot needs to send inspectors to collect fees, and evaluate the inspectors' capabilities based on their inspection distances and collection fees;

[0065] Inspection route planning module: used to establish the inspection route planning model and use the Lingo tool to solve each inspection path;

[0066] Inspector automatic scheduling module: used to establish an inspector automatic scheduling model, and use the Lingo tool to solve the scheduling of each inspection route every week;

[0067] Result evaluation and adjustment module: used to evaluate the on-street parking revenue of the optimal solution and the inspectors' feedback on work arrangements, and adjust and optimize the inspectors' automatic scheduling plan based on the evaluation results.

[0068] It should be noted that the above modules correspond to steps S1 to S5 in Example 1, and the examples and application scenarios implemented by the above modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above Example 1. It should be noted that the above modules, as part of the system, can be executed in a computer system such as a set of computer executable instructions.

[0069] In further embodiments, there is also provided:

[0070] An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of brevity, it will not be described in detail here.

[0071] It should be understood that in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0072] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0073] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.

[0074] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.

[0075] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0076] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0077] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.

Claims

1. A method for automatic scheduling of inspectors based on mixed integer programming, characterized in that: The following steps are involved: S1. Data collection: Collect parking order information of each on-street parking lot and the work ability data of each inspector; S2. Data analysis: Based on the collected data, analyze whether each on-street parking lot needs to send inspectors to collect fees, and evaluate the inspectors' capabilities based on their inspection distances and collection fees; S3. Inspection route planning: Based on the collected and analyzed data, an inspection route planning model is established, and the Lingo tool is used to solve each inspection route; The established inspection route planning model takes the working time balance of each inspection route as the objective function, and arranges which inspection route a parking lot belongs to through 0-1 assignment. At the same time, the continuity of the inspection route and the inspection route time are considered as constraints. The objective function and constraints are: Objective function: (1), The constraints are: (2), (3), (4), (5), in Indicates parking lot Is it in the On the inspection route, Indicates parking lot In the On the inspection route, Indicates parking lot Not in on the inspection route; Indicates detection The time spent in a parking lot, Indicates that from Parking lot to The time spent in the parking lot; Indicate route Is it in the On the inspection route, Indicate route In the On the inspection route, Indicate route Not in on the inspection route; S4, automatic scheduling of inspectors: Based on the inspection path obtained in step S3, an automatic scheduling model for inspectors is established, and the Lingo tool is used to solve the scheduling of each inspection route per week; the automatic scheduling model for inspectors established in step S4 takes the work allocation on each inspection route per week as the decision variable, and takes the revenue of the on-street parking lot as the objective function. The objective function and constraints of the automatic scheduling model for inspectors are: Objective function: (6), Constraints: (7), (8), (9), in Indicates The inspection distance of the inspection routes, Indicates inspection The time required for the inspection route, Inspector Inspection mileage per period of time, Inspector Salary per period, Inspector Check the amount of money collected each time during the parking lot inspection. Inspector In the Is the day scheduled on the inspection route? superior, Inspector In the Days are arranged on the inspection route superior, Inspector In the The day was not arranged on the inspection route superior; S5. Result evaluation and adjustment: Evaluate the on-street parking revenue of the optimal solution and the inspectors’ feedback on work arrangements, and adjust and optimize the inspectors’ automatic scheduling plan based on the evaluation results.

2. The automatic scheduling method for inspectors based on mixed integer programming according to claim 1 is characterized in that: The parking order situation in step S1 includes the number of parking orders per day, parking time, parking location and charging situation of the parking lot; the inspector's work ability data includes the inspection distance, ability to collect parking fees and salary.

3. The automatic scheduling method for inspectors based on mixed integer programming according to claim 2 is characterized in that: The situations described in step S2 where inspectors need to be dispatched to collect fees include peak parking fee collection hours and times when bills are easily missed; situations where inspectors do not need to be dispatched to collect fees include school pick-up time and parking lots with many long-term rental vehicles.

4. An automatic patrol inspector scheduling system based on mixed integer programming, characterized in that: The method according to any one of claims 1 to 3 can be implemented, comprising: Data collection module: used to collect parking order information of each on-street parking lot and the work ability data of each inspector; Data analysis module: used to analyze whether each on-street parking lot needs to send inspectors to collect fees, and evaluate the inspectors' capabilities based on their inspection distances and collection fees; Inspection route planning module: used to establish the inspection route planning model and use the Lingo tool to solve each inspection path; Inspector automatic scheduling module: used to establish an inspector automatic scheduling model, and use the Lingo tool to solve the scheduling of each inspection route every week; Result evaluation and adjustment module: used to evaluate the on-street parking revenue of the optimal solution and the inspectors' feedback on work arrangements, and adjust and optimize the inspectors' automatic scheduling plan based on the evaluation results.

Citation Information

Patent Citations

  • Intelligent inspection configuration optimization method and system based on ant colony optimization algorithm

    CN116757454A

  • Inspection scheme generation method and device, equipment and storage medium

    CN117455445A