INEN PROJECT Nurse Scheduling Problem. Elif Ilke Gokce Industrial Engineering Texas A&M University

Similar documents
A STOCHASTIC APPROACH TO NURSE STAFFING AND SCHEDULING PROBLEMS

Nurse Rostering Problems: A Bibliographic Survey

A Greedy Double Swap Heuristic for Nurse Scheduling

A Component Based Heuristic Search Method with Evolutionary Eliminations for Hospital Personnel Scheduling

Maximizing the nurses preferences in nurse scheduling problem: mathematical modeling and a meta-heuristic algorithm

A Generic Two-Phase Stochastic Variable Neighborhood Approach for Effectively Solving the Nurse Rostering Problem

Logic-Based Benders Decomposition for Multiagent Scheduling with Sequence-Dependent Costs

Non-liner Great Deluge Algorithm for Handling Nurse Rostering Problem

A Preliminary Study into the Use of an Evolutionary Algorithm Hyper-heuristic to Solve the Nurse Rostering Problem

A Hybrid Heuristic Ordering and Variable Neighbourhood Search for the Nurse Rostering Problem

Scheduling Home Hospice Care with Logic-based Benders Decomposition

Integrating nurse and surgery scheduling

Metaheuristics for handling Time Interval Coverage Constraints in Nurse Scheduling

Metaheuristics for handling Time Interval Coverage Constraints in Nurse Scheduling

An Indirect Genetic Algorithm for a Nurse Scheduling Problem

Online Scheduling of Outpatient Procedure Centers

Set the Nurses Working Hours Using Graph Coloring Method and Simulated Annealing Algorithm

Categorisation of nurse rostering problems

The Nottingham eprints service makes this work by researchers of the University of Nottingham available open access under the following conditions.

Roster Quality Staffing Problem. Association, Belgium

A Stochastic Programming Approach for Integrated Nurse Staffing and Assignment

Surgery Scheduling with Recovery Resources

Developing a Pathologists Monthly Assignment Schedule: A Case Study at the Department of Pathology and Laboratory Medicine of The Ottawa Hospital

Adaptive Neighborhood Search for Nurse Rostering

A Variable Neighbourhood Search for Nurse Scheduling with Balanced Preference Satisfaction

A stepping horizon view on nurse rostering

Nurse Scheduling with Lunch Break Assignments in Operating Suites

A heuristic algorithm based on multi-assignment procedures for nurse scheduling

A Deterministic Approach to Nurse Rerostering Problem

OPTIMIZATION METHODS FOR PHYSICIAN SCHEDULING

Case-based reasoning in employee rostering: learning repair strategies from domain experts

A Heuristic Logic-Based Benders Method for the Home Health Care Problem

Comparison of Algorithms for Nurse Rostering Problems

The Nottingham eprints service makes this work by researchers of the University of Nottingham available open access under the following conditions.

Stochastic Programming for Nurse Assignment

Dynamic optimization of chemotherapy outpatient scheduling with uncertainty

Operator Assignment and Routing Problems in Home Health Care Services

How to deal with Emergency at the Operating Room

A Mixed Integer Programming Approach for. Allocating Operating Room Capacity

Appointment Scheduling Optimization for Specialist Outpatient Services

An Online Stochastic Algorithm for a Dynamic Nurse Scheduling Problem

Simulated Metamorphosis - A Novel Optimizer

HEALTH WORKFORCE SUPPLY AND REQUIREMENTS PROJECTION MODELS. World Health Organization Div. of Health Systems 1211 Geneva 27, Switzerland

Improving Healthcare Resource Management through Demand Prediction and Staff Scheduling

Staffing and Scheduling

Patient and Nurse Considerations in Home Health Routing with Remote Monitoring Devices

Proceedings of the 2016 Winter Simulation Conference T. M. K. Roeder, P. I. Frazier, R. Szechtman, E. Zhou, T. Huschka, and S. E. Chick, eds.

Solving a Bi-objective Nurse Rerostering Problem by Using a Utopic Pareto Genetic Heuristic. Margarida Vaz Pato and Margarida Moz

The Pennsylvania State University. The Graduate School ROBUST DESIGN USING LOSS FUNCTION WITH MULTIPLE OBJECTIVES

Variable Neighbourhood Search for Nurse Rostering Problems

2-5 December 2012 Bangkok, Thailand. Edited by. Voratas Kachitvichyanukul Huynh Trung Luong Rapeepun Pitakaso

Optimization techniques for e-health applications

Decision support system for the operating room rescheduling problem

A Mixed Integer Programming Approach for. Allocating Operating Room Capacity

A stochastic optimization model for shift scheduling in emergency departments

Implementing a Residency Scheduling Program at the University of Michigan Pediatric Emergency Department

THE USE OF SIMULATION TO DETERMINE MAXIMUM CAPACITY IN THE SURGICAL SUITE OPERATING ROOM. Sarah M. Ballard Michael E. Kuhl

Chemotherapy appointment scheduling under uncertainty using mean-risk stochastic integer programming

Redacted for Privacy

Hybrid Heuristics for Multimodal Homecare Scheduling

Proceedings of the 2010 Winter Simulation Conference B. Johansson, S. Jain, J. Montoya-Torres, J. Hugan, and E. Yücesan, eds.

QUEUING THEORY APPLIED IN HEALTHCARE

Improving operational effectiveness of tactical master plans for emergency and elective patients under stochastic demand and capacitated resources

From: IAAI-99 Proceedings. Copyright 1999, AAAI ( All rights reserved.

Baskaran, Geetha (2016) A domain transformation approach for addressing staff scheduling problems. PhD thesis, University of Nottingham.

NORAD CONUS Fighter Basing

Lean Options for Walk-In, Open Access, and Traditional Appointment Scheduling in Outpatient Health Care Clinics

Hospital admission planning to optimize major resources utilization under uncertainty

Technical Notes for HCAHPS Star Ratings (Revised for October 2017 Public Reporting)

Recent Developments on Nurse Rostering and Other Ongoing Research

Technical Notes for HCAHPS Star Ratings (Revised for April 2018 Public Reporting)

Planning Oncologists of Ambulatory Care Units

Home Health Care: A Multi-Agent System Based Approach to Appointment Scheduling

Tree Based Modeling Techniques Applied to Hospital Length of Stay

III. The provider of support is the Technology Agency of the Czech Republic (hereafter just TA CR ) seated in Prague 6, Evropska 2589/33b.

29A: Hours may be used as the Base labor increment. 28Q: Are human in the loop solutions of interest for ASKE? 28A: Yes

Optimizing the planning of the one day treatment facility of the VUmc

CHAPTER 5 AN ANALYSIS OF SERVICE QUALITY IN HOSPITALS

Measuring healthcare service quality in a private hospital in a developing country by tools of Victorian patient satisfaction monitor

USING SIMULATION MODELS FOR SURGICAL CARE PROCESS REENGINEERING IN HOSPITALS

An Improved Happiness-Based Scheduling for Nurse Shifts Planning

Nursing Manpower Allocation in Hospitals

Planning Calendar Grade 5 Advanced Mathematics. Monday Tuesday Wednesday Thursday Friday 08/20 T1 Begins

ANESTHESIOLOGIST AND NURSE ANESTHETIST (CRNA) ASSIGNMENT ON THE DAY OF SURGERY. A Thesis Presented. Sina Aghsaei

HEALT POST LOCATION FOR COMMUNITY ORIENTED PRIMARY CARE F. le Roux 1 and G.J. Botha 2 1 Department of Industrial Engineering

Quality Management Building Blocks

RESEARCH METHODOLOGY

Gantt Chart. Critical Path Method 9/23/2013. Some of the common tools that managers use to create operational plan

State of Kansas Department of Social and Rehabilitation Services Department on Aging Kansas Health Policy Authority

Relationship between Organizational Climate and Nurses Job Satisfaction in Bangladesh

CHEMOTHERAPY SCHEDULING AND NURSE ASSIGNMENT

Enhancing Sustainability: Building Modeling Through Text Analytics. Jessica N. Terman, George Mason University

Physician Scheduling in Emergency Rooms

Planning Strategies for Home Health Care Delivery

Local search for the surgery admission planning problem

NURSE SCHEDULING BY SHIFT: THE CASE OF INPATIENT CARE IN THE MEDICINE UNIT AT KENYATTA NATIONAL HOSPITAL

Solving a Real-life Time Tabling and Transportation Problem Using Distributed CSP Techniques.

Executive Summary. This Project

European Journal of Operational Research

27A: For the purposes of the BAA, a non-u.s. individual is an individual who is not a citizen of the U.S. See Section III.A.2 of the BAA.

Transcription:

INEN 689 602 PROJECT Nurse Scheduling Problem Elif Ilke Gokce Industrial Engineering Texas A&M University elifg@tamu.edu

Abstract Every hospital needs to produce repeatedly duty rosters for its nursing staff. Properly scheduling the nursing staff has a great impact on the quality of health care, the recruitment of nursing staff, the development of nursing budgets, staff and patient safety and satisfaction, and administrative workload. The scheduling of hospital personnel is particularly challenging because of different staffing needs on different days and shifts. The planned personnel schedule usually has to be changed to deal with unforeseen circumstances such as staff sickness and emergencies. In this project, a mixed- integer stochastic programming approach to the solution of the nurse scheduling problem is proposed. The problem is formulated as two-stage recourse model. The objective is to minimize unsatisfied staff in the first stage and the expected overtime cost in the second stage. The nurse scheduling problem will be solved by L 2 algorithm. The aim of this study is to help health institutions to determine nurse schedules which would increase nursing staff, efficiency and satisfaction. Keywords: L 2 algorithm, nurse scheduling, stochastic programming 2

INTRODUCTION Every hospital needs to repeatedly produce duty rosters for its nursing staff. The problem is of critical importance for a variety of reasons. Properly scheduling the nursing staff has a great impact on the quality of health care, the recruitment of nursing personnel, the development of nursing budgets, staff and patient safety, staff and patient satisfaction and administrative workload. The scheduling of hospital personnel is particularly challenging because of different staffing needs on different days and shifts. Unlike many other organizations, healthcare institutions need to be staffed 24 hours a day over seven days a week. In addition, in many hospitals, nurses are allowed to request preset shifts, while other nurses are scheduled around these pre-set shifts. Usually, nursing officers spend a substantial amount of time developing rosters especially when there are many staff requests. Because of time-consuming manual scheduling, and for various other reasons, the nurse scheduling problem (NSP) has attracted much attention. Personnel scheduling problems have been studied extensively over the past three decades (see survey papers by [] [22] [7] [5] [2]). Personnel scheduling is the problem of assigning employees to shifts or duties over a scheduling period so that certain constraints (organizational and personal) are satisfied. It involves constructing a schedule for each employee within an organization in order for a set of tasks to be fulfilled. In the domain of healthcare, this is particularly challenging because of the presence of a range of different staff requirements on different days and shifts. In addition, unlike many other organizations, healthcare institutions work twenty-four hours a day for every single day of the year. Most nurse scheduling problems are extremely difficult and complex. [22], for example, say nurse scheduling is more complex than the traveling salesman problem. A general overview of various approaches for nurse scheduling can be found in [20] [0] and [8]. Early research ([25] [5][2]) concentrated on the development of mathematical programming models. To reduce computational complexity, researchers had to restrict the problem dimensions and consider a smaller size of constraints in their models, resulting in solutions that are too simple to be applied in real hospital situations.

The above observations have led to other attempts, trying to solve the real nurse scheduling problems within reasonable time. Besides heuristic approaches (e.g., [2]; [6]), artificial intelligence approaches such as constraint programming ([6]), expert systems ([0]) and knowledge based systems ([8]) were investigated with some success. Since the 990 s, most papers have tackled the problem with metaheuristic approaches, including simulated annealing ([7]), tabu search ([]) and genetic algorithms ([]). A key feature of real NSP which is in the subset of the personnel planning problem is that the planned personnel schedule usually has to be changed (often at very short notice) to deal with unforeseen circumstances such as staff sickness and emergencies. Very little study dealing with the uncertainty that is inherent in the real world has been done and they are mostly based on fuzzy methodologies. However, stochastic optimization techniques will provide solutions that can be applied to the real world NSPs. The NSP involves producing a periodic (weekly, fortnightly, or monthly) duty roster for nursing staff, subject to a variety of hard/soft constraints such as legal regulations, personnel policies, nurses preferences and many other requirements that may be hospital-specific. These constraints can vary from one hospital to another while the objectives in scheduling can also vary. In this project, first part gives brief introduction to workforce assignment and studies in the literature. In the second part, nurse scheduling problem modeling methods are argued, and then Solution approaches to the nurse scheduling problem which are optimization approaches, heuristic approaches and AI approaches are described. Third part contains nurse scheduling problem definition and modeling formulation using stochastic integer programming formulation. In the fourth part, L2-Binary first stage algorithm which is used for solving stochastic integer programming model is defined. Part five gives brief description of exponential design. Data sets and implemented program code are also explained. In the last part, conclusion and the future work is found. 4

2 THE NURSE SCHEDULING PROBLEM 2. Modeling the Nurse Scheduling Problem Parameters in the NSP may include the working shifts per week if night shifts are worked, preference costs of particular nurses working on particular shift pattern, working shifts per schedule if day shifts are worked, working shifts per schedule if both day and night shifts are worked, demand for certain grade of nurses on day and on night shifts. The NSP is commonly described by a nurse-day, a nurse-task and a nurse-shift pattern view ([9]). In a nurse-day view, the decision variables are defined in two different ways. In the first case; v ij is defined for each nurse on each day, where i= N indexes the nurses and j= M indexes the days within a scheduling period. The domains of these variables consist of on-duty shifts and free shifts. On-duty shifts include any number of shifts per day. It is common to use only a morning shift (A) of eight working hours, an afternoon shift (P) of eight working hours, and a night shift (N) of eight working hours. Free shifts include day-off (O), vacation leave (VL), unpaid leave (UL), etc. In the general, when there are Z shifts per day, x ij can take Z+ possible values as the following: x ij 0 = Z nursei is off duty on day j nursei works shift on day j nursei works shift Z on day j For 0 models, the decision variables are modified as x ijk, where i, j are the same index as before and k= Z indexes the Z possible shifts in a day. x ijk nurse i works shift k on day j = 0 otherwise In a nurse-task view, the decision variable is defined for each nurse in each shift as x is, where i= N indexes the nurses and s= Z indexes the tasks within a scheduling period. The shift defined in nurse-task view may not necessarily correspond to a day. 5

x is nurse i receives task s = 0 otherwise In a nurse-shift pattern view, the decision variable is defined for each nurse and for each shift pattern as x ip, where i= N indexes the nurses and p= M indexes the shift patterns. x ip nurse i works shift pattern p = 0 otherwise j F ( i ) In literature, three types of objective function are used with NSPs. The first type is p min!, where p ij is the penalty cost of nurse i working on shift pattern j, ij xij x ij is the decision variable with a nurse- shift pattern view and F(i) is the set of feasible shift patterns for nurse i. The objective is to minimize the total penalty cost for all nurses. Second type purposes to minimize the number of uncovered shifts. Last type purposes to minimize the cost of schedules and the penalty for violating shift balance. Two types of constraints commonly occur in NSPs: hard constraints and soft constraints. Hard constraints include coverage requirements; such as nurse demand per day per shift type per skill category while soft constraints are usually those involved with time requirements on personal schedules. The goal is always to schedule resources to meet the hard constraints while aiming at a high quality result with respect to soft constraints. Commonly used constraints are as follows:. Minimum/maximum nurse workload 2. Consecutive same working shift (minimum/maximum/exact number). Consecutive working shift/days (minimum/maximum/exact number) 4. Nurse skill levels and categories 5. Nurses preferences or requirements 6. Nurses free days (minimum/maximum/consecutive free days) 7. Free time between working shifts 8. Shift type(s) assignments (maximum shift type, requirements for each shift types). 6

9. Constraints among groups/types of nurses, such as nurses not allowed to work together or nurses who must work together 0. Shift patterns. Other requirements in a shorter or longer time period other than the planning time period; such as every day in a shift must be assigned 2. Constraints among shifts; such as shifts cannot be assigned to a person at the same time. Requirements of different types of nurses or staff demand for any shift It is important to note that constraints,, 5, 6, 8, and are common in NSPs. Soft constraints can include balance in workload, assigning complete weekends and patterns enabling specific cyclic constraints. 2.2 Solution Approaches to the Nurse Scheduling Problem Solution approaches that have been proposed to solve NSPs are classified in three main categories: optimization-mathematical programming (MP), heuristics and artificial intelligence. 2.2. Optimization Approaches Optimization approaches are usually based on mathematical programming. In general, optimization using mathematical programming can be classified in three categories: single-objective mathematical programming, multi-objective mathematical programming, and mathematical programming-based near-optimal approaches. Single-objective MP involves maximizing a goal which is preferred by the decision-maker. The following studies have been done in terms of single-objective MP:. An algorithm with three stages is presented for NSP: generate a set of possible schedules which are seven-tuples of 0 depending on whether the day is off or on, formulate the problem as an IP, and produce a solution ([7]). 2. [26] proposed a model which aims to maximize nurses preferences, by considering the length of a work, rotation patterns, and requests for days off, and minimum numbers of nursing personnel of each skill class to be assigned to each day and a 4 to 6-week scheduling period. The problem is solved by a modified 7

Balintfy and Blackburns algorithm. In this two-phase algorithm, Phase I finds a feasible solution to meet various constraints, and Phase II improve the Phase I solution by maximizing individual preferences for various schedule patterns while maintaining the Phase I solution.. NSP is modeled as a large-scale mixed integer quadratic programming problem to minimize a shortage cost of nursing services for a period of three to four days subject to nursing skill class requirements, total personnel capacity constraints, integral assignment, minimum nurse requirements throughout the scheduling period and other relevant constraints. The problem is decomposed by a primal resource-directive approach into a 0 LP master problem, with smaller quadratic programming sub-problems ([25]). 4. [5] formulated the problem to minimize an objective function that balances the trade-off between staffing coverage and schedule preferences of individual nurses, subject to certain constraints on the nurses schedules. The constraints are divided into hard and soft constraints. The hard constraints define sets of feasible nurse schedules, while violation of soft constraints results in a penalty cost that appears in the objective function. A coordinate descent algorithm was proposed to find near-optimal solutions. 5. [] presented a generalized 0 column generation model with a resource constrained shortest path auxiliary problem for NSP. The master problem finds a configuration of individual schedules to satisfy the demand coverage constraints while minimizing salary costs and maximizing both nurse preferences and team balance. A feasible solution of the auxiliary problem is an acceptable schedule for a given nurse, with respect to collective agreement requirements such as seniority, workload, rotations and days off. A new resource structure was defined in the auxiliary problem in order to satisfy complex collective agreement rules specific to the problem. 6. NSP which considers the case of two consecutive days off per week for each person. 7. NSP is modeled as an integer programming with 0 constraint matrix, and the IP was solved parametrically as a bounded series of network problems. 8

8. NSP which considers the case of 0 working days in a 4-day period with variable demands. However, multi-objective models appear to be more realistic. [2] proposed a goal programming model. Goals are minimizing staffing requirements, minimizing desired staffing requirements, meeting nurses preferences, and nurses special requests. This approach works in two phases. In the first phase, the nurses are assigned their dayon/day-off pattern for the two-week scheduling horizon by a goal programming model that allows for consideration of the multiple conflicting objectives inherent in the scheduling of a staff of nurses. The second phase makes specific shift assignment through the use of a heuristic procedure. The major advantage of the goal programming formulation of the nurse scheduling problem is the flexibility it permits in choosing priorities; it can take into account such factors as nurses' preferences and desired staffing requirements. In MP-based near-optimal methods is aimed to combine the MP and AI approaches. The problem was formulated as an approximate IP model. The IP problem is first solved and then its solution improved. 2.2.2 Heuristic Approaches For combinatorial problems, exact optimization usually requires large computational times to produce optimal solutions. In contrast, heuristic approaches can produce satisfactory results in reasonably short times. Heuristics used to solve NSPs is divided into two categories: classical heuristics and metaheuristics. In the recent years, metaheuristics such as Tabu Search (TS), Genetic Algorithm (GA) and Simulated Annealing (SA), have been proved to be very efficient in obtaining near-optimal solutions for a variety of hard combinatorial problems including the NRP ([]). Classical heuristic approaches which have been widely studied in nursing literature were straightforward automation of manual practices. For instance, Greedy Shuffling. First of all, the problem is solved for the worst schedule and then it is improved by exchanging a part of this schedule with a part from another persons schedule. Many human-inspired approaches can be found in Greedy Shuffling type algorithms which work by calculating all the shuffles for all personnel and listing them with the highest cost benefit first. This is repeated as many times as possible. 9

Classical heuristic approaches have been proposed to help decision-makers select work patterns to provide the needed coverage for given skilled nurse classes on each shift, develop a basic pattern to meet shift and coverage constraints and meet required staffing levels. TS approaches have been proposed to solve the NRP. TS is a search that moves iteratively from one solution to another in a neighborhood space with the assistance of an adaptive memory that forbids solution attribute changes recorded in the short-term memory to be reused. In TS, a move, for example, can take on an assigned shift type from one nurse to another on the same day and a move not allowed if the person does not belong to the skill category required or if there is already an assignment for that shift type. In TS, hard constraints remained fulfilled, while solutions move. TS approaches have been proposed to ensure enough nurses are on duty at all times while taking account of individual preferences and requests for days off. GAs, which are stochastic meta-heuristics, have also been used to solve the NRP. In GA, the basic idea is to find a genetic representation of the problem. Starting with a population of randomly created solutions, better solutions are more likely to be selected for recombination into new solutions. In addition, new solutions may be formed by mutating or randomly changing old ones. For example, in NRP, for crossover and mutation, the best personal schedule from each of the parents can be selected, a random selection from the personal schedule of parents can be selected, or we can select the best events in a schedule. Some of the best solutions in each generation are kept while others are replaced by newly formed solutions. [] used GA for a problem with multiple criteria where the concept of a Pareto optimality scheme is used for the evaluation of the multi-criteria objective function. [] developed a GA approach to solve an NRP. Instead of working directly with populations of potential solutions and handling the constraints using penalty functions or repairs, they proposed an indirect approach in which the task of balancing optimization and constraint satisfaction is shared between a greedy heuristic and the GA. Individuals are represented by permutations of the available nurses and the heuristic is used to build schedules by allocating the nurses to their shifts in the given order. Memetic algorithms, which are viewed as hybrid GA, are a population-based approach for heuristic search in optimization problems. Basically, they combine local 0

search heuristics with crossover operators. [8] described a memetic algorithm that incorporates TS into a GA, using steepest descent for each individual. The results reported for the NRP are better than those obtained by a hybrid TS approach by [8]. This work has gone further in combining hybrid TS with evolutionary approaches. There has been some use of simulated annealing techniques for the NRP. For example, [22] presented a SA heuristic for shift-scheduling using non-continuously available employees. 2.2.. AI approaches AI techniques have been used to solve NRPs modelled as a CSP [0] modeled the NRP as a CSP which was solved by a combined approach of look-ahead and intelligent scoring which determines which nurse is to be scheduled next and which shift satis.es most of the soft constraints. [] adopt a PCSP model for the NRP. INTERDIP, which is their prototype system, supports semi-automatic creation of duty rosters and imitates certain aspects of manual planning to improve on the theoretical complexity of the problem, using a constraint package based on CHIP. The package includes linear equations, constraints over definite domains and boolean constraints. [5] modeled the NRP as a HCSP, where legal regulations are hard constraints and nurses_ preferences are usually lower level soft constraints. [5] reported a commercial system ORBIS which models the NRP as a HCSP with fuzzy constraints and inferred control strategies. ORBIS uses a B&B algorithm with constraint propagation and variable/value-ordering techniques to solve problems involving 250 200 variables with on few minutes [0] Constraint logic programming languages have the advantage of describing constraint logic easily. [2] presented a non-cyclic scheduling system, namely Horoplan, whose algorithm is a constraint-based arti.cial intelligence approach implemented with Charme, which is a constraint-based programming language. [6] discussed an approach, which takes advantage of the declarative ability of Prolog language for the description of constraints, for incorporating the constraints to generalize the NRP. [8] combined constraint logic programming with case-based reasoning to reduce the search spaces further. As a commercial constraint-based package for the powerful C++ programming language, ILOG SOLVER has been widely used to solve the NRP, with the help of

heuristic techniques It should be noted that [0] used redundant modeling which increases constraint propagation through cooperation among different models for the same problem via channeling constraints. Knowledge-based search approaches have also been used to solve the NRP by Lukman et al. [4] and [0]. 2

PROBLEM STATEMENT AND MODEL FORMULATION Nurse scheduling problem is assigning nurse workforce to the shifts subject to a number of constraints such as time, demand and preference constrains. The objective is to minimize the total cost which consists of preference cost, overtime cost and unsatisfied demand cost. Inputs of the problem are the number of nurse types, number of each type of nurses. In this project, it is assumed that there are three types of nurses, and the number of these nurses are N, N2 and N respectively. There are kinds of shift on a day, 7am-pm, pm-pm and pm-7am. Each nurse has to take one day off in a week. This obligation requires that each nurse can work at 6 shifts in a week. Demand is in terms of number of nurses. The output is a feasible schedule which minimizes the total cost. The problem is formulated as two-stage recourse model as follows: Indices: k =, 2 N (nurse grade index) l =, 2 N 2 (nurse grade 2 index) m =, 2 N (nurse grade index) j =, 2 2 (shift index) j =, 4, 7, 0,, 6, 9 corresponds to 7am-pm shifts j = 2, 5, 8,, 4, 7, 20 corresponds to pm-pm shifts j =, 6, 9, 2, 5, 8, 2 corresponds to pm-7am shifts g =, 2, (nurse grade index) First Stage Parameters: N : number of first grade nurses N 2 : number of second grade nurses N : number of third grade nurses P kj: preference cost of first grade nurse k working at shift j P2 lj: preference cost of second grade nurse l working at shift j P mj: preference cost of third grade nurse m working at shift j AD jg : average demand for g th grade nurses at shift j

First Stage Decision Variable: x kjg y ljg z mj if the first grade nurse k is assigned to shift j as a grade g nurse = 0 o/w if the second grade nurse l is assigned to shift j as a grade g nurse = 0 o/w if the third grade nurse i is assigned to shift j = 0 o/w Second Stage Parameters: oc g : over time cost for nurse grade type g or higher in a shift uc g : unsatisfied demand cost for nurse grade type g or higher in a shift D ~ jg : demand realization for nurse grade type g or higher at shift j Second Stage Decision Variable: ox kjg if the first grade nurse i is assigned to shift j as a grade g nurse = 0 o/w oy ljg oz mj if the second grade nurse i is assigned to shift j as a grade g nurse = 0 o/w if the third grade nurse i is assigned to shift j = 0 o/w u jg : unsatisfied demand for nurse grade type g at shift j 4

N 2 N 2 Min P kj xkjg + P2lj yljg + k= j= g = l= j= g= 2 m= j= 2 N 2 P mj z mj + E( f ( x, y, z, D ~ )) Subject to: N k = N k = N k = xkj AD j j =,2...2 () N 2 xkj 2 + ylj2 AD j2 j =,2...2 (2) l= N 2 xkj + ylj + zmj AD j j =,2...2 () l= N m= 2 j= g= 2 j= g= 2 2 j= z x y = 6 k,2... N kjg = = 6 l,2... N ljg = = 6 m,2... N mj = 2 (4) (5) (6) x kj + xk ( j+ ) + xk ( j+ 2) + xkj2 + xk ( j+ )2 + xk ( j+ 2)2 + xkj + xk ( j+ ) + xk ( j+ 2) k =,2... N ylj2 + yl( j+ )2 + yl( j+ 2)2 + ylj + yl( j+ ) + yl( j+ 2) l =,2... N 2 j =, 4, 7,0,,6,9 (8) z mj + z m + ( j+ ) + z m( j 2) m =,2... N 2 j =, 4, 7,0,,6,9 { 0,} k =,2... N j =,2,...2 g =,2, j =, 4, 7,0,,6,9 (7) x kjg (0) { 0,} m =,2... N 2 j =,2,...2 g = 2, y mjg () { 0,} m =,2... N j =,2,... 2 z mj (2) (9) Where for each scenario: E ( f ( x, D ~ ) = Min Subject to: N 2 N 2 2 ocoxkjg + oc2oyljg + ocozmj + k= j= g = l= j= g = 2 m= j= j= g= N 2 2 uc g u jg 5

N k = N k = N xkj + oxkj + u j D j j =,2...2 () k = N 2 2 x + 2 2 + 2 + kj ylj oxkj oylj 2 + u j2 D j2 j =,2...2 (4) l= N k = N l= N k = x N2 N N N + 2 + + + + N kj ylj zmj oxkj oylj l= m= k = l= m= oz mj + u j D j j =,2...2 (5) oxkj + oxkj2 + oxkj xk ( j ) xk ( j )2 xk ( j ) 0 k =,2... N j = 2,...2 (6) oylj 2 + oylj yl( j )2 + yl( j ) 0 l =,2... N 2 j = 2,...2 (7) ozmj zm( j ) 0 m =,2... N j = 2,...2 (8) 2 j= g= 2 j= g= 2 ox oy k,2... N kjg = l,2... N ljg = 2 (9) (20) 2 j= oz m,2... N mj = { 0,} k =,2... N j =,2,...2 g =,2, ox kjg (22) { 0,} m =,2... N 2 j =,2,...2 g = 2, oy mjg (2) { 0,} m =,2... N j =,2,... 2 oz mj (24) u jg 0,int j =,2...2 g =,2, (25) (2) (), (2) and () are demand constraints. (4), (5) and (6) provides that each nurse has to assign 6 shifts in a week. (7), (8) and (9) provides that each nurse has to assign as one type of nurse and one shift in a day. (), (4) and (5) are demand constraints. (6), (7) and (8) provides that a nurse has to work on previous shift in order to assign as an overtime nurse. (9), (20) and (2) are the constraints of assigning each nurse only once as overtime nurse. (0), (), (2), (22), (2) and (24) are binary constraints. 6

4 ALGORITHM 4.. Definition L2-Binary first stage algorithm is used to solve the stochastic integer programming problem. The algorithm is as the following; Step 0: Initialization Let ε 0 given T x = {min c x Ax = b, x {0,} n } LB, UB, and k Compute L: o Alternative : At point x solve the linear relaxation of the second stage and take the expected value of linear relaxation objective values o Alternative 2: Observe the objective function of the second stage to come up with a valid lower bound for the expected value of the recourse. Step : Solve subproblems for all w Ω Solve all subproblems and obtain F(x k k )= E[ f ( x, w~ )] T k k soln= c x + E[ f ( x, w~ )] Update upper bound by UB=max(soln, UB) Step 2: Update and solve master problem Use L, x k and F(x k ) to derive L2 optimality cut which is: k k η ( F( x ) L)( x x S + ) + L where S k is the set of variables j S k j j S in solution x k whose value is. Compute T α β k x + η α k k and β k k j such that the above cut is represented as Add this cut to the master problem and solve master again and obtain 7

x k + = arg min{ c T x + η Ax = b, T t β x + η α, t =,2... k t x {0,} } Step : Termination If UB LB ε STOP, Else set k=k+ and go back to step. 4.2. L2 Code Validation The code is tested with three data instance from literature. The instances are SSLP_5_25_50, SSLP_5_25_00 and SSLP_5_45_5. In these calculations, L value is taken as -50,000. Solution CPU Time (sec) Number of Iterations SSLP_5_25_50-2.6.625000 SSLP_5_25_00-27.7 5.969000 SSLP_5_45_5-262.4 99.67 27 8

START INITIALIZATION SELECT ALTERNATIVE Alternative Alternative 2 SOLVE SUBPROBLEMS UPDATE AND SOLVE MASTER PROBLEM N UB LB? ε Y STOP 9

5 COMPUTATIONAL RESULTS 5. Experimental Design Experimental methods are widely used in research as well as in industrial settings, however, sometimes for very different purposes. The primary goal in scientific research is usually to show the statistical significance of an effect that a particular factor exerts on the dependent variable of interest. A well designed experiment will have the following properties; ) A well defined objective, 2) The ability to estimate error, ) Sufficient precision, 4) The ability to distinguish various effects by randomization and factorial design. In this work, the objective is to determine the change in total cost under different parameters. If the proposed stochastic programming model works right, as the parameters in the model change, the solution always becomes consistent. In addition to this, at the end of the experiments for different parameters, it is found that which parameter has the vital effect on the cost. Based on this result, modifications for better design can be done on the hospital system. The experimental design has the ability to estimate error. Experimental error is defined as observed expected (find using model). In this work, the expected results such as total cost, nurse schedules are found as a result of stochastic model solution. If the model is applied on the real hospital, the observed values can be easily determined. Therefore, error estimate is calculated easily. The most common experimental design employed in this study is called a completely randomized design. This experiment involves a comparison of the means for a number, say k, of treatments, based on independent random samples of n, n 2,..., n k observations, drawn from populations associated with treatments, 2, k, respectively. After collecting the data from a completely randomized design, our goal is to make inferences about k population means where m i is the mean of the population of measurements associated with treatment i, for i =, 2... k. The null hypothesis to be tested is that the k treatment means are equal, i.e., 20

H 0 : m = m 2 =... = m k and the alternative hypothesis is that at least two of the treatment means differ. An analysis of variance provides an easy way to analyze the data from a completely randomized design. The analysis partitions SS (Total) into two components, SST and SSE. These two quantities are defined in general term as follows: Recall that the quantity SST denotes the sum of squares for treatments and measures the variation explained by the differences between the treatment means. The sum of squares for error, SSE, is a measure of the unexplained variability, obtained by calculating a pooled measure of the variability within the k samples. If the treatment means truly differ, then SSE should be substantially smaller than SST. We compare the two sources of variability by forming an F statistic: where n is the total number of measurements. Under certain conditions, the F statistic has a repeated sampling distribution known as the F distribution that the F distribution depends on n numerator degrees of freedom and n 2, denominator degrees of freedom. For the completely randomized design, F is based on n = (k - ) and n 2 = (n - k) degrees of freedom. If the computed value of F exceeds the upper critical value, F we reject H 0 and conclude that at least two of the treatment means differ. 2

5.. Test to Compare k Population Means for a Completely Randomized Design H 0 : m = m 2... = m k [i.e., there is no difference in the treatment (population) means] H a : At least two treatment means differ Test statistic: F = MST/MSE Rejection region: F > Fa where the distribution of F is based on (k - ) numerator df and (n - k) denominator df, and Fa is the F value found in the table such that P(F > Fa ) = a. Assumptions:. All k population probability distributions are normal. 2. The k population variances are equal.. The samples from each population are random and independent. The results of an analysis of variance are usually summarized and presented in an analysis of variance (ANOVA) table. Such a table shows the sources of variation, their respective degrees of freedom, sums of squares, mean squares, and computed F statistic. Source of Variation Sum of Squares Degrees of Freedom Mean of Squares Between groups SST k - MST/(k - ) Within groups SSE n - k SSE/(n - k) Total SS(Total) n - F F = MST/MSE Analysis of Variance Table for Completely Random Design 22

5..2 Data Used in Experimental Design As it stated above, the data used in experimental design is created randomly. There are three kinds of data instances. Each data set has two different kinds of scenarios. In the first data set, the total number of nurses in each data set is 20, 25, and 0 respectively. Classification of each nurses in each data set are as the flowing; N N 2 N Total Data set 6 8 6 20 Data set 2 8 9 8 25 Data set 9 2 9 0 Preference costs for each nurse is an integer between 0 and 0. These values are generates randomly. For each of these values, one independent random variable is generated and it is multiplied by 0 and rounded to the nearest integer. The formula is as the following; Pikj = Rand() *0 Data sets also contain weekly data for average demand which is denoted by AD jg. This is a x2 matrix, each column denote nurse type, and each row denotes data for a shift. As it is known, each day contains three shifts. Therefore there are 2 rows for weekly data. Average demand data is created randomly considering feasible constraints, such as each nurse should work 6 days, total number of nurse for each type should not be exceeded. Over time cost is determined as 5 for the first grade, 0 for the second grade and 6 for the third grade. Unsatisfied demand cost is the same as overtime cost for each nurse type, and these two cost values are fixed for each the data set. As it is mentioned above, for each three data set type, two scenarios sets designed. In the first of these scenarios, there are three kinds of scenarios. Second one contains five kinds of scenarios. Each of these scenarios are directly created from AD, such that: First of all, uniformly distributed random number between 0 and are generated. If this 2

number is between 0-0., the value is decreased by. If it is between 0.-0.7, the number stays the same. If it is between 0-7-.0, it is increased by one. Each data set is named as nurse_a_b, a denotes the total number of nurse, b denotes number of scenarios. (See appendix for the data used in experiments) 5.2 Computational Results The experiments are run on P4 2.8Mhz 52MB ram computer. L value of the L2 algorithm is taken as the LP relaxation solution of the problem. First of all, each three problem with only one scenario is solved both using L2 Algoruthm and Cplex interactive Optimizer 9.0.0. Solutions are as the following; Total Number of Nurse Cplex Cost Cplex Time (sec) L2 L2 Time (Sec) 20.5200000000e+002 0.09.52 0.226000 25.00000000e+002 0.0. 0.452000 0 4.800000000e+002 0.05 4.8 0.567000 The first graph shows that as the nurse number increases cost value found by Cplex and L2 stays the same. Second graph shows that L2 Computational time is higher than Cplex computational time. This difference comes from the data set and algorithm properties. Problem data are not dense, so Cplex can solve it. Cost 6.00E+02 5.00E+02 $ 4.00E+02.00E+02 2.00E+02 L2 Cplex Cost.00E+02 0.00E+00 20 25 0 Nurse 24

Time Sec 0.7 0.6 0.5 0.4 0. 0.2 0. 0 20 25 0 Nurse L2 Time (Sec) Cplex Time (sec) In general, it can be seen hat L2 gives solution which is very close to the optimal. In LP Relaxation master problem is solved as MIP problem, and subproblems are solved as LP Problem. Total Number of Nurse L2 L2 # of Iterations L2 CPU Time LP_RELAX LP_RELAX # of Iterations LP_RELAX CPU Time nurse_20_ 244 2 0.265000 244 2 0.95000 nurse_20_5 259 2 0.28000 259 2 0.268000 nurse_25_ 44 0.56000 42.4 2 0.92000 nurse_25_5 48 0.875000 48.8 0.568000 nurse_0_ 52 2 0.687000 484 2 0.86 nurse_0_5 560 0.75000 558.4 2 0.54 It is important to note that, in L2 algorithm, C++ or Cplex sometimes takes 0.99999999 instead of. This affects the solution. Also, in L2 algorithm lower bound is important. If you choose different lower bound, you can find different solutions. 25

Cost $ 600 500 400 00 200 00 0 L2 LP_RELAX nurse_20_ nurse_20_5 nurse_25_ nurse_25_5 nurse_0_ nurse_0_5 Data set CPU Time Sec 0.8 0.6 0.4 0.2 0 L2 CPU Time LP_RELAX CPU Time nurse_20_ nurse_20_5 nurse_25_ nurse_25_5 nurse_0_ nurse_0_5 Data For nurse number 20, for these two scenario scenarios sets, L2 and LP_RELAX costs are the same, and CPU time is very close to each other. When the nurse number increases, difference between L2 and LP_RELAX CPU times increases. In addition this, cost values start to increase. The same result can be found for nurse number 0. However, increment rate of the CPU times stays the same. Each scenario is examined in the inconsistent environment. When the scenario number increases, the total cost value and CPU times increase. From the second graph above it can also be determined that if the nurse number increases, the algorithm becomes more complex. 26

6 CONCLUSION AND FUTURE RESEARCH In this project, a mixed- integer stochastic programming approach to the solution of the nurse scheduling problem is proposed. The problem is formulated as two-stage recourse model. The objective is to minimize unsatisfied staff in the first stage and the expected overtime cost in the second stage. The nurse scheduling problem will be solved by L 2 algorithm. The nurse scheduling problem with one scenario is solved by both Cplex and L2 algorithms. The same solution is obtained, but as the problem is not complex, Cplex can solve it easily. Six data sets are designed and solved by both L2 algorithm and LP Relaxation. It is observed that the solution of L2 algorithm is closely related to the lower bound chosen. If a good lower bound is chosen, the solution close to the optimal solution can be found in a very short time. As the number of nurse increases the CPU time requires for solving problem is increases. In addition, when the number of scenarios increases, the problem becomes more complex. Therefore CPU time also increases. The following future studies can be done; Finding the best lowerbound for L2 algorithm, Solve the problem with the data instances from real world, Add more constraints to the model, The cut in L2 algorithm can be developed. 27

7 REFERENCES. Aickelin U., Dowsland K. A., An Indirect Genetic Algorithm for a Nurse-Scheduling Problem, Computers and Operations Research,, 2004, pages 76-778 2. Arthur, J.L., and Ravidran, A., A Multiple Objective Nurse Scheduling Model, AIIE Transactions, 98,, pages 55 60. Baker K., Workforce allocation in cyclical scheduling problems: a survey, Operational Research, 976, 27: 55 67 4. Bard J.F.,and Purnomo H.W., Hospital-wide Reactive Scheduling of Nurses with Preference Considerations, IIE Transactions, 2005, 7, pages 589-608 5. Bechtold SE, and Brusco MJ, Showalter MJ, A comparative evaluation of labor tour scheduling methods, Decision Sciences, 99, 22: 68 699 6. Blau R, and Sear A., Nurse scheduling with a microcomputer, Journal of Ambulance Care Management, 98, 6: 7. Bradley D, and Martin J., Continuous personnel scheduling algorithms: a literature review, Journal of the Society for Health Systems, 990, 2: 8-2 8. Burke EK, De Causmaecker P., Vanden Berghe G., and Van Landeghem H., The state of the art of nurse rostering, Journal of Scheduling, 2004, 7: 44-499 9. Cheang B, Li H, Lim A, and Rodrigues B., Nurse rostering problems a bibliographic survey, European Journal of Operational Research, 200 5: 447-460 0. Chen JG, and Yeung T., Hybrid expert system approach to nurse scheduling, Computers in Nursing, : 8 92 28

. Dowsland K, and Thompson J.M., Nurse scheduling with knapsacks, networks and tabu search, Journal of Operational Research Society, 2000,5: 825-8 2. Ernst AT, Jiang H, Krishnamoorthy M, and Sier D., Staff scheduling and rostering: a review of applications, methods and models, European Journal of Operational Research,2004, 5: -27. Jaumard, B., Semet, F., and T. Vovor, A Generalized Linear Programming Model For Nurse Scheduling, European Journal of Operational Research, 998, 07, pages 8. 4. Li L., Benton W.C., Hospital Capacity Management Decisions: Emphasis on Cost Control and Quality Enhancement, European Journal of Operational Research, 46, 200, pages 596-64 5. Miller HE, Pierskalla W, and Rath G., Nurse scheduling using mathematical programming, Operations Research,976, 24: 857 870 6. Okada M, Okada M.Prolog-based system for nursing staff scheduling implemented on a personal computer. Computers and Biomedical Research 2: 5 6 7. Rosenbloom, E.S. and N.F. Goertzen, Cyclic Nurse Scheduling, European Journal of Operational Research, 987,, pages 9 2 9. Siferd S.P., and Benton W.C, Workforce Staffing and Scheduling: Hospital Nursing Specific Models, European Journal of Operational Research,992,60, pages 2-246 20. Sitompul D, and Randhawa S., Nurse scheduling models: a state-of-the-art review, Journal of the Society of Health Systems, 990, 2: 62-72 22. Tien JM, and Kamiyama A., On manpower scheduling algorithms, Society for Industrial and Applied Mathematics,982, 24: 275 287 29

2. Trivedi VM, and Warner M A branch and bound algorithm for optimum allocation of float nurses, Management Science,976, 22: 972-98 24. Vries T. D., and Beekman R. E, Applying Simple Dynamic Modeling for Decision Support in Planning Regional Health Care, European Journal of Operational Research, 5, 998, pages 277-284 25. Warner M, and Prawda J.,A mathematical programming model for scheduling nursing personnel in a hospital, Management Science,972, 9: 4 422. 26. Warner, D.M., Scheduling Nursing Personnel according to Nursing Preference: a Mathematical Programming Approach, Operations Research 976, 24 (5), pages 842 856 0

8 APPENDIX *.mod file param N; param N2; param N; set K:={k in..n }; #nurse grade index set L:={l in..n2}; #nurse grade 2 index set M:={l in..n}; #nurse grade index set J:= {j in..2}; #shift index set G;#:={,2,} #grade index set H; param P{K,J}; param P2{L,J}; param P{M,J}; param AD{J,{,2,}}; param oc{g}; param uc{h}; param D{J,G}; var x{k in K, j in J, g in {,2,}}>=0,<=, integer; var y{l in L, j in J, g in {2,}}>=0,<=, integer; var z{m in M, j in J}>=0,<=, integer; var ox{k in K, j in J, g in {,2,}}>=0,<=, integer; var oy{l in L, j in J, g in {2,}}>=0,<=, integer; var oz{m in M, j in J}>=0,<=, integer; minimize PenaltyCost: sum{k in K, j in J, g in {,2,}} P[k,j]*x[k,j,g]+sum{l in L, j in J, g in{ 2,}} P2[l,j]*y[l,j,g]+sum{m in M, j in J} P[m,j]*z[m,j]+sum{k in K, j in J, g in {,2,}} oc[]*ox[k,j,g]+sum{l in L, j in J, g in {2,}} oc[2]*oy[l,j,g]+sum{m in M, j in J} oc[]*oz[m,j]; subject to subject to subject to AverageFirstNurseDemand {j in J}: sum{k in K} x[k,j,]>=ad[j,]; AverageSecondNurseDemand {j in J}: sum{k in K} x[k,j,2]+sum{l in L} y[l,j,2]>=ad[j,2]; AverageThirdNurseDemand {j in J}: sum{k in K} x[k,j,]+sum{l in L} y[l,j,]+sum{m in M} z[m,j]>=ad[j,];

subject to subject to subject to WorkingDayForFirstNurse {k in K}: sum{j in J, g in {,2,}} x[k,j,g]=6; WorkingDayForSecondNUrse {l in L}: sum{j in J, g in {2,}} y[l,j,g]=6; WorkingDayForThirdNurse {m in M}: sum{j in J} z[m,j]=6; subject to shiftperdayconstraintforfirstnurse {k in K, j in {,4,7,0,,6,9}}: x[k,j,]+x[k,j+,]+x[k,j+2,]+x[k,j,2]+x[k,j+,2]+x[k,j+2,2]+x[k,j,]+x[k,j+,] +x[k,j+2,]<=; subject to shiftperdayconstraintforsecondnurse {l in L, j in {,4,7,0,,6,9}}: y[l,j,2]+y[l,j+,2]+y[l,j+2,2]+y[l,j,]+y[l,j+,]+y[l,j+2,]<=; subject to shiftperdayconstraintforthirdnurse {m in M, j in {,4,7,0,,6,9}}: z[m,j]+z[m,j+]+z[m,j+2]<=; subject to ExcessFirstNurseDemand {j in J}: sum{k in K} x[k,j,]+sum{k in K} ox[k,j,]>=d[j,]; subject to ExcessSecondNurseDemand {j in J}: sum{k in K} x[k,j,2]+sum{l in L} y[l,j,2]+sum{k in K} ox[k,j,2]+sum{l in L} oy[l,j,2]>=d[j,2]; subject to ExcessThirdNurseDemand {j in J}: sum{k in K} x[k,j,]+sum{l in L} y[l,j,]+sum{m in M} z[m,j]+sum{k in K} ox[k,j,]+sum{l in L} oy[l,j,]+sum{m in M} oz[m,j]>=d[j,]; subject to OverTimeRequirementForFirstNurse {k in K, j in {2,,4,5,6,7,8,9,0,,2,,4,5,6,7,8,9,20,2}}: ox[k,j,]+ox[k,j,2]+ox[k,j,]-x[k,j-,]-x[k,j-,2]-x[k,j-,]<=0; subject to OverTimeRequirementForSecondNurse {l in L, j in {2,,4,5,6,7,8,9,0,,2,,4,5,6,7,8,9,20,2}}: oy[l,j,2]+oy[l,j,]-y[l,j-,2]-y[l,j-,]<=0; subject to OverTimeRequirementForThirdNurse {m in M, j in {2,,4,5,6,7,8,9,0,,2,,4,5,6,7,8,9,20,2}}: oz[m,j]-z[m,j-]<=0; 2

subject to subject to subject to OvertimeDayForFirstNurse {k in K}: sum{j in J, g in {,2,}} ox[k,j,g]<=; OvertimeDayForSecondNurse {l in L}: sum{j in J, g in {2,}} oy[l,j,g]<=; OvertimeDayForThirdNurse {m in M}: sum{j in J} oz[m,j]<=; *.dat param N:=9; param N2:=2; param N:=9; param P: 2 4 5 6 7 8 9 0 2 4 5 6 7 8 9 20 2 := 0 5 0 8 7 2 4 9 9 9 5 7 8 9 4 9 2 7 9 5 4 5 2 7 0 8 6 0 8 8 2 2 7 7 8 2 4 9 9 2 5 2 7 6 5 2 8 4 0 7 8 4 6 4 0 7 2 9 5 7 0 7 0 7 4 8 7 5 8 2 8 5 7 4 6 4 4 8 2 0 5 6 5 6 6 4 5 9 9 9 6 9 9 6 4 2 7 0 9 9 5 7 5 8 5 6 2 5 2 0 7 6 8 8 8 2 4 9 7 6 5

8 8 8 5 5 9 8 9 7 2 8 2 7 5 5 8 2 2; 9 7 9 9 6 9 8 0 7 param P2: 2 4 5 6 7 8 9 0 2 4 5 6 7 8 9 20 2 := 5 8 9 7 9 4 6 0 6 9 4 7 4 4 0 2 6 2 7 8 7 9 8 8 7 2 0 5 5 2 0 6 8 8 6 8 6 8 0 7 5 0 0 8 5 5 4 0 9 8 2 5 4 8 6 8 7 9 6 5 9 5 0 4 0 5 5 0 7 2 5 5 9 8 4 6 4 7 4 4 0 0 4 0 0 6 6 2 0 7 6 4 8 2 0 0 0 5 0 2 6 7 5 0 8 7 2 9 2 4 6 6 0 8 2 8 0 5 5 9 9 0 5 2 5 5 2 0 2 6 7 0 0 9 9 5 8 6 9 7 6 5 8 5 5 4 2 2 6 5 8; 0 7 0 0 9 9 7 2 2 7 5 2 6 6 6 7 6 2 2 9 5 8 8 6 0 6 4

param P: 2 4 5 6 7 8 9 0 2 4 5 6 7 8 9 20 2 := 5 2 6 2 0 2 0 5 2 6 8 4 2 0 2 6 5 0 2 2 0 0 0 4 2 6 2 4 8 7 2 5 2 5 8 4 0 2 9 2 9 5 2 7 7 4 7 2 5 9 0 6 9 0 0 7 8 4 8 6 2 5 7 5 2 5 4 7 9 6 5 0 6 4 8 2 9 6 0 2 6 9 7 9 8 5 7 8 6 8 4 9 0 2 2 4 5 8 7 4 7 8 0 7 5 7 5 9 2 8 2 7 2 9 2 4 5 8 0 5 4 9 0 9 9 9 s 4 8 6 9 9 5 8 2; 9 4 0 4 0 8 8 6 9 param AD: 2 := 2 4 2 2 2 2 2 5

4 4 5 4 2 6 2 7 4 2 8 4 9 2 0 4 4 2 2 2 2 4 2 4 2 5 2 6 7 2 8 9 2 4 20 2 2 2 2 2 ; param: G: oc := 5 2 0 6; 6

param: H: uc := 5 2 0 6; param D: 2 := 2 4 2 2 4 4 4 5 4 6 2 2 2 7 4 4 8 4 9 2 2 0 4 5 4 2 2 4 2 4 4 4 2 5 2 5 2 6 4 4 4 7 2 2 8 2 2 9 2 20 2 2 2 2 2 ; 7