1 design of scheduling systems contents 1. architecture of scheduling systems 2. databases, object...

20
1 Design of Scheduling Systems tents Architecture of Scheduling Systems Databases, Object Bases, Knowledge Bases Schedule Generation User Interface Generic Systems versus Application-Specific Systems

Upload: darrell-houston

Post on 31-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

1

Design of Scheduling Systems

Contents

1. Architecture of Scheduling Systems

2. Databases, Object Bases, Knowledge Bases

3. Schedule Generation

4. User Interface

5. Generic Systems versus Application-Specific Systems

Page 2: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

2

Literature:

• Operations Scheduling with Applications in Manufacturingand Services, Michael Pinedo and Xiuli Chao, McGraw Hill, 2000Chapter 10

• “Knowledge-Based Approaches for Scheduling Problems”, Noronha, S.,J., and Sarma, V.V.S., IEEE Transaction on Knowledge and Data Engineering, Vol. 3., 1991, pages 160-171.

Page 3: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

3

Architecture of Scheduling Systems

Modules:

1. Databases, Object Bases, Knowledge Bases

2. Schedule Generation

3. User Interface

Page 4: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

4

Databases, Objects, Knowledge Bases

Data Concerning:• Jobs (Operations)• Work Centers (Machines)• Schedules

Design the system properly in order to make transfer of data easy.

Example: Plugging in new algorithm in existing systemshould be easy.

Page 5: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

5

Databases

Database management subsystem• custom-made• commercial

Basic functions include:• multiple editing• sorting• search routines

SQL command:SELECT fields to be displayedFROM tables containing the fieldsWHERE conditions hold

Page 6: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

6

Two types of data

Static: do not depend on the schedule• ordered product quantity• due date• release date• weights of the jobs• machine data (machine speeds, scheduled maintenance times)• job and machine dependent (setup time between jobs j and k

on machine i)

Dynamic: schedule dependent• starting and completion times of the jobs• idle times of the machines• times that a machine is undergoing setups• sequences in which the jobs are processed on the machines• number of jobs that are late• tardiness of the late jobs

Page 7: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

7

Setup times• static - kept in the table look-up• dynamic (through formula)

Calendar• factory holidays• scheduled machine maintenance• number of shifts

Page 8: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

8

ID Name Type Quantity Priority Ready Due

2 IBM 4 160 2 10 200

Data base record for job data type

Job instance

Job IDNameTypeQuantityPriorityReadyDuecreate()copy()delete()display()

Name=IBMType=4Quantity=160Priority=2Ready=10Due=200

ID=2

Class Job Object - instance of Job

Objects

Page 9: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

9

Resource Plant

Work CenterMachine

Classes for job shop scheduling

Page 10: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

10

Knowledge Base

• IF-THEN RulesIF condition THEN actionExample

IF a job's processing tine is longer than a given valueTHEN the job may be assigned to a fast machine

Certainty factorsActivity takes 5 days with CF = 0.8

Fuzzy factsActivity will take about 5 days

Fuzzy rulesIF the cement is of good qualityTHEN activity takes about 5 days.

Page 11: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

11

Schedule Generation

1. Algorithmic approachmathematical formulation: includes objectives and constraintsThree phases:

• preprocessing• algorithm• postprocessing

2. Knowledge based approachconcerned with underlying problem structures that cannot be described in an analytical format

• Forward-chaining• Backward chaining• Relaxation of constraints

Page 12: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

12

Algorithmic versus knowledge based approach

Algorithmic approach appropriate when:• the problem allows for a precise mathematical formulation• there is a little amount of randomness in the environment• there is a need for optimisation, frequently and in real time• there are not many exceptions

Not appropriate • in dynamic environment• even for moderately big problems can be computationally infeasible

Knowledge based approach appropriate when• feasible schedules are required

Disadvantage:• time consuming

Page 13: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

13

User Interface

Interface for the plant or enterprise• plant layout interface• resource calendar interface• routing table interface

Interface for the schedule generation module

Interface for the schedule manipulation• Gantt chart interface• Dispatch list• Capacity buckets• Input-output diagram

Page 14: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

14

Gantt chart• cascading and propagation effectDisadvantage:• not appropriate for large number of jobs and machines

Page 15: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

15

Dispatch listDisadvantage• does not give a good view of the schedule relative to time

Page 16: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

16

Capacity bucket• shows numerically for each time segment

the utilisation of each machine and• good for medium or long-term planning

Overload!

Page 17: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

17

Input-output diagram (throughput diagram)Shows cumulatively over time:• the total amount of orders received• the total amount produced• the total amount shipped

Separate windows display the values of performance measures.

Page 18: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

18

User interface should allow:

Interactive optimization

• Freezing jobs and reoptimization

• Creating new schedules by combining different parts fromdifferent schedules

Cascading and propagation effects

After a change by the user, the system

• does feasibility analysis

• takes care of cascading and propagation effects

• does internal reoptimization

Page 19: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

19

Generic Systems Versus Application-Specific Systems

Generic Systems

• Customisation of general systems may require a lot of programming.• If the generic system is modular the customisation is easier.• Usually contain less specific components: interface, data management,

standard scheduling algorithms.• Development is less expensive. • Existing maintenance

Application-specific systems

• When the size of the scheduling problem is too large for a PC• Cover peculiarity of scheduling environment.• Own maintenance.• Schedule manipulation is easier and faster.

Page 20: 1 Design of Scheduling Systems Contents 1. Architecture of Scheduling Systems 2. Databases, Object Bases, Knowledge Bases 3. Schedule Generation 4. User

20

Summary

Gap between the scheduling theory and practice still exists.

Scheduling systems reduce the time of the scheduling, and produce better schedules.