18
Example Solutions for scheduling and work planning

Example Solutions for Scheduling and Work Planning

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Example Solutions for Scheduling and Work Planning

Example Solutions for

scheduling and work planning

Page 2: Example Solutions for Scheduling and Work Planning

Online Field Service Task Planning

Page 3: Example Solutions for Scheduling and Work Planning

Task Description

1. Service Desk accepts call and enters request

2. The Task Planning Module proposes possible variants in form of Time Cell Preference Map

3. Dispatcher confirms visit with customer for certain time cell

4. New task order for team issued, with task list, address and customer details

Page 4: Example Solutions for Scheduling and Work Planning

Requirements

Online task scheduling requires real-time algorithms.

Batch task scheduling is not applicable.

Assignment of service teams by Skills and competence Service Zones Shortest travel time from previous / to next task

location Leveling of work load

Assignment factors change with time

Each assignment requires several accesses to DB.

Page 5: Example Solutions for Scheduling and Work Planning

Index-based Solution

Skills Index: calculated, depends on service team members skills and requirements for planned task

Area Assignment Index: persistent, stored at data base

Travel Time Index: calculated, depends on previously scheduled tasks and current / next planned location

Work Load Index: calculated, depending on already scheduled tasks

Preference Index for Service Team calculated from all indexes

Time Cell Preference Index calculated as maximum of Preference Indexes of all potential Service Teams for this time cell

Page 6: Example Solutions for Scheduling and Work Planning

Algorithm Workflow

Calculation of Preference Level of Time Cell 1

Area Assignment

Index CalculationTeam 1

0.3

Team 20.7

Team 30

Team 40.8

Travel Time Index

Team 10.3

Team 20

Team 40.9

Work Load Index

Team 10.7

Team 40.7

Skills Index

Team 10.5

Team 40.8

Time Cell Map

generation(N Time Cells)

Calculation of Preference Level of Time Cell NArea

Assignment Index

Team 11

Team 70.7

Team 90

Team 100

Travel Time Index

Team 10

Team 70.8

Work Load Index

Team 71

Skills Index

Team 71

Time Cell 1 Preference Index = 0,4032 = 0.8 * 0.9 * 0.7 * 0.8Associated with Service team 4

Time Cell N Preference Index = 0,56 = 0.7 * 0.8 * 1 * 1Associated with Service team 7

...

9.00-11.00

11.00-13.00

13.00-15.00

15.00-17.00

17.00-19.00

Page 7: Example Solutions for Scheduling and Work Planning

Algorithm Optimization

Cutting of useless calculations. Exclusion of Service Teams with zero Indexes minimizes calculations

Calculations order defined by rules: Indexes with higher probability to take zero value are

to be calculated first Indexes with higher computing efforts are to be

calculated at the end

Calculation of Indexes according to the combination of these two factors minimizes calculation times.

Page 8: Example Solutions for Scheduling and Work Planning

Performance Optimization

All calculations are performed on the server, with higher database performance and faster hardware

In-memory Caching of frequently used values avoids repeated calculations and minimizes database accesses

Rarely changed indexes are calculated only when being changed at the planning period, instead of calculations for every Time Cell.

Page 9: Example Solutions for Scheduling and Work Planning

Sales Rep VisitScheduling

Page 10: Example Solutions for Scheduling and Work Planning

Task Description

Sales Manager selects addresses and enters Planning Period Begin Date Scheduling module generates Sales Rep visits schedule: Tasks Lists assigned to Sales Reps Sales Manager edits schedule if necessary

Address 1

Address 2

Address 4

Sales Department Manager

Sales Rep VisitsScheduling

Module Sales Rep 1

Sales Rep 2

Sales Rep N

Address 3

Page 11: Example Solutions for Scheduling and Work Planning

Requirements

Leveling of Work Load. Work items amount should be about equal for every Sales Rep, close to an optimal value, should not be less/greater then min/max value.

Work Items Grouping. Task should contain only contiguous addresses.

Visits Period Reduction. Schedules should be generated in a way which minimizes time to visit one building. The date range of a Task List should not contain weekends.

Customer Relation Consideration. If a Sale Rep is somehow connected with an address, he should be assigned as a preference.

Schedule Generation Time. A Schedule generation for 10,000 addresses for 40 Sales Reps shouldn’t take more then 10 minutes.

Page 12: Example Solutions for Scheduling and Work Planning

Solution. Algorithm model

Several sets (generations) of schedule variants are generated.

The best variant is selected. The best variant is one that corresponds the requirements better than others.

A schedule variant optimality is defined based on the sum of all penalties for every requirement factor deviation.

Penalty for each factor is a numerical measure of this factor deviation from etalon.

Page 13: Example Solutions for Scheduling and Work Planning

Generation of new schedule variants

Basic Schedule Variant

Schedule Variant 1

Schedule Variant 2

Schedule Variant

M

Random combination of generation strategies

Schedule Variant

1.1

Schedule Variant

1.2

Schedule Variant

1.MSchedule Variant

1.1

Schedule Variant

1.2

Schedule Variant

1.M

...Schedule Variant XXX.1

...Schedule Variant YYY.3

Schedule Variant Total Penalty is less than

etalon. Schedule Variants Generation is

being stopped.

Maximum allowed Parent-Child chain length is

reached. Schedule Variants Generation is being stopped

for this branch.

2nd generation

Page 14: Example Solutions for Scheduling and Work Planning

Generation of new schedule variants

The schedule variants generation combines genetic and probabilistic approaches.

New variants are being generated based on previous ones, by applying random combinations of generation strategies from pool of about 10 strategies.

The generation strategy defines rules of tasks readjustment for work item area of change.

Generation of schedule variants continues, until:

a schedule variant penalty becomes equal to or less than some Etalon penalty;

a parent-child variant chain length reaches the maximum allowed value.

Page 15: Example Solutions for Scheduling and Work Planning

New variant generation approach

Variant 1 Variant 2

Selected strategies

Pool of strategies

Strategy 1

Strategy 2

Strategy 3

Strategy 4

Strategy 5

Strategy 1

Strategy 5

Strategy 2

Random selection

Page 16: Example Solutions for Scheduling and Work Planning

Regrouping of work items between tasks

Penalty = 1

Area of changes

Task 1

Task 2

Task 3

Task 4

Penalty = 1.5

Adjusted Task List (no

penalties)

Task 1

Task 2

Task 3

Generation Strategy

Task 5

...

Task 5

...

Page 17: Example Solutions for Scheduling and Work Planning

Algorithm Optimization

The Genetic approach avoids exhaustive searches for optimal Schedule Variants, and provides an acceptable Schedule Variant within required time.

The list of possible generation strategies for areas of changes depends on factor types, which are sources of penalty for this area. This increases the algorithm intelligence and minimizes the final Schedule Variant total penalty.

A set of parameters allows to manage the algorithm effectiveness and performance. Main parameters are an etalon penalty value, a max parent-child variant chain length, and a count of generation strategies combinations.

Page 18: Example Solutions for Scheduling and Work Planning

Contact us!

Elena PopretinskayaCTOGersis Software LLC

Phone: +375 (17) 259 19 16www.gersis-software.com [email protected]

SIS Group International is a system integrator in telecommunications, IT, automation and safety

We would be pleased to develop a custom scheduling algorithm for you.