JP2013084297A - Work schedule creation device and program - Google Patents

Work schedule creation device and program Download PDF

Info

Publication number
JP2013084297A
JP2013084297A JP2012279837A JP2012279837A JP2013084297A JP 2013084297 A JP2013084297 A JP 2013084297A JP 2012279837 A JP2012279837 A JP 2012279837A JP 2012279837 A JP2012279837 A JP 2012279837A JP 2013084297 A JP2013084297 A JP 2013084297A
Authority
JP
Japan
Prior art keywords
work
target
day
crew
assigned
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2012279837A
Other languages
Japanese (ja)
Inventor
Keiji Ojima
敬司 尾島
Junichiro Arima
純一郎 有馬
Osamu Takahashi
理 高橋
Yusaku Nagasaki
祐作 長▲崎▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology Corp
Original Assignee
Mitsubishi Electric Information Systems Corp
Mitsubishi Electric Information Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Information Systems Corp, Mitsubishi Electric Information Technology Corp filed Critical Mitsubishi Electric Information Systems Corp
Priority to JP2012279837A priority Critical patent/JP2013084297A/en
Publication of JP2013084297A publication Critical patent/JP2013084297A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To freely set a work pace at which each worker works for a certain period of time and easily and efficiently allocate works according to the set paces, in the case of creating a work schedule for multiple workers.SOLUTION: A setting unit 103 included in a work schedule creation device 100 deems each day of a month as a target day, and sets a target value of total work hours that are calculated by summing up flight hours for a time period from the first day of the month until a target day, for each crew. A selection unit 104 deems a day of a month as a target day from the first day to the last day of the month in order, calculates the total work hours of each of the crews for the time period from the first day of the month until the target day in the case of allocating a work to the crews on the target day, according to allocated work information 111 indicating works that have been already allocated to the respective crews, and selects a crew to which the work is allocated on the target day according to the result of the comparison of the actual total work hours and target total work hours of the crews for the time period from the first day of the month until the target day. It also adds the work allocated to the selected crew on the target day to the allocated work information 111.

Description

本発明は、勤務計画作成装置及びプログラムに関するものである。   The present invention relates to a work plan creation device and a program.

従来、列車運行の乱れによって発生する乗務員運用計画の矛盾を解消するように、新たな乗務員運用整理案を作成する装置がある(例えば、特許文献1参照)。また、列車のダイヤに乱れが生じたときに、ダイヤの復旧に当たって、列車に充当する車両並びに運転士及び車掌の乗務員の運用変更を行う装置がある(例えば、特許文献2参照)。また、各運行列車等に各乗務員を割り付ける乗務員運用計画を作成する際に、作成作業の効率化を図るための装置がある(例えば、特許文献3参照)。   2. Description of the Related Art Conventionally, there is an apparatus for creating a new crew member operation arrangement plan so as to eliminate a contradiction of a crew member operation plan caused by disturbance of train operation (see, for example, Patent Document 1). In addition, there is a device that changes the operation of a vehicle, a driver, and a crew member of a vehicle conductor to be used for a train when the train diagram is disturbed (see, for example, Patent Document 2). In addition, there is a device for improving the efficiency of creation work when creating a crew operation plan for assigning each crew member to each operating train or the like (see, for example, Patent Document 3).

特開2006−79440号公報JP 2006-79440 A 特開2007−45216号公報JP 2007-45216 A 特開平7−77936号公報Japanese Unexamined Patent Publication No. 7-77936

従来の装置では、複数の勤務者を対象にして勤務計画を作成する際に、一定の期間(例えば、月)内において、どのようなペースで各勤務者に勤務させるかを決めて、それに合わせた勤務の割り当て(例えば、勤務の平準化)を行うことが難しいという課題があった。   With conventional devices, when creating a work plan for multiple workers, decide at what pace each worker should work within a certain period (for example, a month), and adjust accordingly. There has been a problem that it is difficult to assign work (for example, work leveling).

本発明は、例えば、複数の勤務者を対象にして勤務計画を作成する際に、一定の期間内において、どのようなペースで各勤務者に勤務させるかを任意に決めて、それに合わせた勤務の割り当てを容易かつ効率よく行うことを目的とする。   In the present invention, for example, when creating a work plan for a plurality of workers, it is possible to arbitrarily determine at what pace each worker should work within a certain period of time and work according to that. The purpose of this is to perform the assignment of the data easily and efficiently.

本発明の一の態様に係る勤務計画作成装置は、
複数の日を対象として勤務時間が予め定められた勤務を複数の勤務者に割り当てる勤務計画作成装置であって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースと、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの勤務時間を累計した累計勤務時間の目標値を目標勤務時間として処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間を処理装置により算出し、算出した対象日までの累計勤務時間と前記設定部により設定された対象日までの目標勤務時間とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部とを備える。
The work plan creation device according to one aspect of the present invention is:
A work plan creation device that assigns a plurality of workers with predetermined work hours for a plurality of days,
For each of the plurality of workers, a database that stores work information indicating assigned work by a storage device;
Each of the plurality of days is a target day, and for each of the plurality of workers, the processing device uses the target value of the accumulated working hours obtained by accumulating the working hours from the first day to the target day of the plurality of days as a target working time. A setting section to be set;
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The total working time up to the target date when the system is assigned is calculated by the processing device, and the calculated total working time up to the target date is compared with the target working time up to the target date set by the setting unit by the processing device. Based on the comparison result, a worker who assigns work to the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned to the target day is stored in the database. A selection unit to be added to the information.

本発明の一実施例において、
前記設定部は、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの日数を変数とする関数を用いて対象日までの目標勤務時間を設定する。
In one embodiment of the present invention,
The setting unit sets, for each of the plurality of workers, a target working time until the target day using a function having the number of days from the first day to the target day as a variable.

本発明の一実施例において、
前記設定部は、前記関数として一次関数を用いる。
In one embodiment of the present invention,
The setting unit uses a linear function as the function.

本発明の一実施例において、
前記データベースは、前記複数の勤務者のそれぞれについて、所定の属性を示す属性情報を記憶装置により記憶し、
前記設定部は、前記データベースに記憶された属性情報によって示される属性が共通する勤務者ごとに、前記関数として共通の関数を用いる。
In one embodiment of the present invention,
The database stores attribute information indicating a predetermined attribute for each of the plurality of workers by a storage device,
The setting unit uses a common function as the function for each worker who has a common attribute indicated by the attribute information stored in the database.

本発明の一実施例において、
前記複数の日のうち連続する2日以上の期間の勤務の組み合わせが勤務パターンとして予め定められ、
前記選択部は、対象日から始まる期間の勤務パターンが未割り当てであれば、その期間を対象期間とし、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日までの累計勤務時間の代わりに、対象期間に勤務パターンを割り当てた場合の対象期間が終わる日までの累計勤務時間を算出し、算出した対象期間が終わる日までの累計勤務時間と前記設定部により設定された対象期間が終わる日までの目標勤務時間とを比較し、その比較結果に基づいて、前記複数の勤務者から、対象期間に勤務パターンを割り当てる勤務者を選択し、選択した勤務者について、対象期間に割り当てた勤務パターンを前記データベースに記憶された勤務情報に追加する。
In one embodiment of the present invention,
A combination of work for two or more consecutive days among the plurality of days is predetermined as a work pattern,
If the work pattern of the period starting from the target date is unassigned, the selection unit sets the period as the target period, and for each of the plurality of workers, from the work information stored in the database to the target date Instead of the cumulative working hours, the cumulative working hours until the end of the target period when the work pattern is assigned to the target period is calculated, and the total working hours until the end of the calculated target period are set by the setting unit. Compared to the target working hours until the end of the target period, based on the comparison result, select the worker who assigns the work pattern to the target period from the plurality of workers, and for the selected worker, The work pattern assigned to the period is added to the work information stored in the database.

本発明の一実施例において、
前記選択部は、前記複数の勤務者から、対象日に勤務を割り当てる勤務者として、算出した対象日までの累計勤務時間が前記設定部により設定された対象日までの目標勤務時間を超えない勤務者を選択する。
In one embodiment of the present invention,
The selection unit, as a worker who assigns work from the plurality of workers to the target day, works that does not exceed the target working time until the target date set by the setting unit as calculated by the setting unit. Select a person.

本発明の一の態様に係るプログラムは、
複数の日を対象として勤務時間が予め定められた勤務を複数の勤務者に割り当てるプログラムであって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースを備えるコンピュータを、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの勤務時間を累計した累計勤務時間の目標値を目標勤務時間として処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間を処理装置により算出し、算出した対象日までの累計勤務時間と前記設定部により設定された対象日までの目標勤務時間とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部として機能させる。
A program according to one aspect of the present invention is:
A program for assigning work to a plurality of workers with a predetermined working time for multiple days,
For each of the plurality of workers, a computer comprising a database for storing work information indicating assigned work by a storage device,
Each of the plurality of days is a target day, and for each of the plurality of workers, the processing device uses the target value of the accumulated working hours obtained by accumulating the working hours from the first day to the target day of the plurality of days as a target working time. A setting section to be set;
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The total working time up to the target date when the system is assigned is calculated by the processing device, and the calculated total working time up to the target date is compared with the target working time up to the target date set by the setting unit by the processing device. Based on the comparison result, a worker who assigns work to the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned to the target day is stored in the database. It functions as a selection unit to be added to information.

本発明の他の態様に係る勤務計画作成装置は、
複数の日を対象として勤務を複数の勤務者に割り当てる勤務計画作成装置であって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースと、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの所定の評価指標を累計した累計値の目標値を処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計値を処理装置により算出し、算出した対象日までの累計値と前記設定部により設定された対象日までの目標値とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部とを備える。
The work plan creation device according to another aspect of the present invention is:
A work plan creation device that assigns work to multiple workers for multiple days,
For each of the plurality of workers, a database that stores work information indicating assigned work by a storage device;
Setting each of the plurality of days as a target day, and setting a target value of a cumulative value obtained by accumulating a predetermined evaluation index from the first day to the target day for each of the plurality of workers by a processing device And
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The cumulative value up to the target date is assigned by the processing device, and the calculated cumulative value up to the target date is compared with the target value set by the setting unit up to the target date by the processing device. Based on the result, the worker who assigns work on the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned on the target day is added to the work information stored in the database. A selection unit.

本発明の一の態様によれば、複数の勤務者を対象にして勤務計画を作成する際に、一定の期間(即ち、複数の日)内において、どのようなペースで各勤務者に勤務させるか(即ち、目標勤務時間)を任意に決めて、それに合わせた勤務の割り当てを容易かつ効率よく行うことが可能となる。   According to one aspect of the present invention, when creating a work plan for a plurality of workers, the worker is allowed to work at any pace within a certain period (that is, a plurality of days). (That is, the target working time) can be arbitrarily determined, and work can be allocated easily and efficiently in accordance with it.

実施の形態1に係る勤務計画作成装置の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of a work plan creation device according to Embodiment 1. 実施の形態1に係る勤務計画作成装置のハードウェア構成の一例を示す図。FIG. 3 is a diagram illustrating an example of a hardware configuration of a work plan creation device according to the first embodiment. 実施の形態1に係る勤務計画作成装置の動作を示すフローチャート。5 is a flowchart showing the operation of the work plan creation device according to Embodiment 1; 実施の形態1における勤務者への勤務の割り当ての一例を示すグラフ。3 is a graph showing an example of assignment of work to workers in the first embodiment. 実施の形態1における勤務者への勤務の割り当ての一例を示すグラフ。3 is a graph showing an example of assignment of work to workers in the first embodiment. 実施の形態1における勤務者への勤務の割り当ての一例を示すグラフ。3 is a graph showing an example of assignment of work to workers in the first embodiment. 実施の形態1における勤務情報の一例を示す図。FIG. 6 shows an example of work information in the first embodiment. 実施の形態1における勤務情報の一例を示す図。FIG. 6 shows an example of work information in the first embodiment. 実施の形態1における勤務者の勤務計画の一例を示す図。FIG. 4 is a diagram illustrating an example of a work plan for a worker according to the first embodiment. 実施の形態1における勤務者の勤務計画の一例を示す図。FIG. 4 is a diagram illustrating an example of a work plan for a worker according to the first embodiment. 実施の形態1における勤務者の勤務計画の一例を示す図。FIG. 4 is a diagram illustrating an example of a work plan for a worker according to the first embodiment. 実施の形態1の変形例における勤務者への勤務の割り当ての一例を示すグラフ。The graph which shows an example of assignment of the work to the worker in the modification of Embodiment 1. 実施の形態1の変形例における勤務者への勤務の割り当ての一例を示すグラフ。The graph which shows an example of assignment of the work to the worker in the modification of Embodiment 1. 実施の形態2に係る勤務計画作成装置の構成を示すブロック図。FIG. 4 is a block diagram showing a configuration of a work plan creation device according to Embodiment 2. 実施の形態3における勤務者への勤務の割り当ての一例を示すグラフ。10 is a graph showing an example of assignment of work to workers in the third embodiment. 実施の形態3における勤務者への勤務の割り当ての一例を示すグラフ。10 is a graph showing an example of assignment of work to workers in the third embodiment. 実施の形態3における勤務者への勤務の割り当ての一例を示すグラフ。10 is a graph showing an example of assignment of work to workers in the third embodiment. 実施の形態3における勤務情報の一例を示す図。FIG. 14 shows an example of work information in the third embodiment. 実施の形態3における勤務者の勤務計画の一例を示す図。FIG. 10 is a diagram illustrating an example of a worker's work plan in the third embodiment. 実施の形態3における勤務者の勤務計画の一例を示す図。FIG. 10 is a diagram illustrating an example of a worker's work plan in the third embodiment. 実施の形態3における勤務者の勤務計画の一例を示す図。FIG. 10 is a diagram illustrating an example of a worker's work plan in the third embodiment.

以下、本発明の実施の形態について、図を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本実施の形態に係る勤務計画作成装置100の構成を示すブロック図である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a work plan creation apparatus 100 according to the present embodiment.

図1において、勤務計画作成装置100は、複数の日を対象として勤務時間が予め定められた勤務を複数の勤務者に割り当てる装置であり、データベース101、入力部102、設定部103、選択部104、出力部105を備える。本実施の形態では、勤務計画作成装置100が(1つの)月(複数の日の一例)を対象として飛行時間(勤務時間の一例)が予め定められた航空機への乗務を勤務として複数のクルー(コクピットクルーあるいは運航乗務員のことであり、複数の勤務者の一例)に割り当てるものとする。ここで、乗務とは、1日における1便以上のフライトの組み合わせであり、望ましくは、クルーの主基地(クルーが通勤する空港のこと)を出発するフライトで始まり、主基地に到着するフライトで終わるものであるとする。例えば、空港Aを出発して空港Bに到着するフライトと、空港Bを出発して空港Aに到着するフライトとの組み合わせを、1つの乗務(勤務)として定義することができる。また、例えば、空港Aを出発して空港Bに到着するフライトと、空港Bを出発して空港Cに到着するフライトと、空港Cを出発して空港Aに到着するフライトとの組み合わせを、1つの乗務(勤務)として定義することができる。   In FIG. 1, a work plan creation device 100 is a device that assigns work that is determined in advance to a plurality of workers for a plurality of days, and includes a database 101, an input unit 102, a setting unit 103, and a selection unit 104. The output unit 105 is provided. In the present embodiment, the work plan creation device 100 works on an aircraft with a predetermined flight time (an example of working hours) for a month (an example of multiple days). It is assigned to (a cockpit crew or flight crew, an example of multiple workers). Here, a crew is a combination of one or more flights in a day, preferably a flight that starts from and arrives at the main base of the crew (the airport where the crew commutes). Suppose it ends. For example, a combination of a flight departing from airport A and arriving at airport B and a flight departing from airport B and arriving at airport A can be defined as one flight (work). In addition, for example, a combination of a flight that leaves airport A and arrives at airport B, a flight that leaves airport B and arrives at airport C, and a flight that leaves airport C and arrives at airport A is 1 It can be defined as one crew (work).

なお、勤務計画作成装置100が勤務の割り当て対象とする期間は、月に限らず、(1つの)週、複数の週、複数の月、(1つの)年、複数の年、あるいは、その他任意の複数の日であってよい。また、勤務計画作成装置100が割り当てる勤務は、航空機への乗務に限らず、地上勤務も含むクルーの勤務全体であってもよいし、列車やバスといった航空機以外の移動体への乗務であってもよいし、移動体への乗務以外の勤務であってもよい。勤務計画作成装置100が勤務の割り当て対象とする勤務者は、勤務計画作成装置100がどのような勤務を割り当てるかによって異なる。例えば、勤務計画作成装置100が移動体への乗務を割り当てるのであれば、その移動体の乗務員(例えば、運転手)が割り当て対象となる。また、本実施の形態のように、勤務計画作成装置100が航空機への乗務を割り当てるのであっても、クルーに限らず、CA(キャビンアテンダントあるいは客室乗務員のことである)が割り当て対象となってもよい。   The period for which work plan creation apparatus 100 is assigned to work is not limited to months, but (one) week, multiple weeks, multiple months, (single) year, multiple years, or any other period May be multiple days. Further, the work assigned by the work plan creation apparatus 100 is not limited to the crew on the aircraft, but may be the entire crew work including ground work, or the crew on a moving body other than an aircraft such as a train or a bus. It may also be a duty other than the crew on the moving body. The workers to be assigned to work by the work plan creation device 100 differ depending on what work is assigned by the work plan creation device 100. For example, if the work plan creation device 100 assigns a crew to a moving body, a crew member (for example, a driver) of the moving body becomes an assignment target. Moreover, even if the work plan creation device 100 assigns the crew to the aircraft as in the present embodiment, not only the crew but also CA (which is a cabin attendant or a flight attendant) is an assignment target. Also good.

勤務計画作成装置100は、処理装置191、記憶装置192、入力装置193、出力装置194等のハードウェアを備える。ハードウェアは勤務計画作成装置100の各部によって利用される。例えば、処理装置191は、勤務計画作成装置100の各部でデータや情報の演算、加工、読み取り、書き込み等を行うために利用される。記憶装置192は、そのデータや情報を記憶するために利用される。また、入力装置193は、そのデータや情報を入力するために、出力装置194は、そのデータや情報を出力するために利用される。   The work plan creation apparatus 100 includes hardware such as a processing device 191, a storage device 192, an input device 193, and an output device 194. The hardware is used by each part of the work plan creation apparatus 100. For example, the processing device 191 is used to perform calculation, processing, reading, writing, and the like of data and information in each unit of the work plan creation device 100. The storage device 192 is used to store the data and information. The input device 193 is used to input the data and information, and the output device 194 is used to output the data and information.

データベース101は、勤務情報111等を記憶装置192により記憶する。これらの情報の内容については後述する。また、入力部102、設定部103、選択部104、出力部105の動作については後述する。   The database 101 stores work information 111 and the like by the storage device 192. The contents of these information will be described later. The operations of the input unit 102, setting unit 103, selection unit 104, and output unit 105 will be described later.

図2は、勤務計画作成装置100のハードウェア構成の一例を示す図である。   FIG. 2 is a diagram illustrating an example of a hardware configuration of the work plan creation apparatus 100.

図2において、勤務計画作成装置100は、コンピュータであり、LCD901(Liquid・Crystal・Display)、キーボード902(K/B)、マウス903、FDD904(Flexible・Disk・Drive)、CDD905(Compact・Disc・Drive)、プリンタ906といったハードウェアデバイスを備えている。これらのハードウェアデバイスはケーブルや信号線で接続されている。LCD901の代わりに、CRT(Cathode・Ray・Tube)、あるいは、その他の表示装置が用いられてもよい。マウス903の代わりに、タッチパネル、タッチパッド、トラックボール、ペンタブレット、あるいは、その他のポインティングデバイスが用いられてもよい。   In FIG. 2, the work plan creation apparatus 100 is a computer, and includes an LCD 901 (Liquid / Crystal / Display), a keyboard 902 (K / B), a mouse 903, an FDD 904 (Flexible / Disk / Drive), and a CDD 905 (Compact / Disc / Disc). Drive) and a hardware device such as a printer 906 are provided. These hardware devices are connected by cables and signal lines. Instead of the LCD 901, a CRT (Cathode / Ray / Tube) or other display device may be used. Instead of the mouse 903, a touch panel, a touch pad, a trackball, a pen tablet, or other pointing devices may be used.

勤務計画作成装置100は、プログラムを実行するCPU911(Central・Processing・Unit)を備えている。CPU911は、処理装置191の一例である。CPU911は、バス912を介してROM913(Read・Only・Memory)、RAM914(Random・Access・Memory)、通信ボード915、LCD901、キーボード902、マウス903、FDD904、CDD905、プリンタ906、HDD920(Hard・Disk・Drive)と接続され、これらのハードウェアデバイスを制御する。HDD920の代わりに、フラッシュメモリ、光ディスク装置、メモリカードリーダライタ、あるいは、その他の記録媒体が用いられてもよい。   The work plan creation device 100 includes a CPU 911 (Central Processing Unit) that executes a program. The CPU 911 is an example of a processing device 191. The CPU 911 includes a ROM 913 (Read / Only / Memory), a RAM 914 (Random / Access / Memory), a communication board 915, an LCD 901, a keyboard 902, a mouse 903, an FDD 904, a CDD 905, a printer 906, and an HDD 920 (Hard / Disk) via a bus 912. Connected with Drive) to control these hardware devices. Instead of the HDD 920, a flash memory, an optical disk device, a memory card reader / writer, or other recording medium may be used.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、HDD920は、不揮発性メモリの一例である。これらは、記憶装置192の一例である。通信ボード915、キーボード902、マウス903、FDD904、CDD905は、入力装置193の一例である。また、通信ボード915、LCD901、プリンタ906は、出力装置194の一例である。   The RAM 914 is an example of a volatile memory. The ROM 913, the FDD 904, the CDD 905, and the HDD 920 are examples of nonvolatile memories. These are examples of the storage device 192. The communication board 915, the keyboard 902, the mouse 903, the FDD 904, and the CDD 905 are examples of the input device 193. The communication board 915, the LCD 901, and the printer 906 are examples of the output device 194.

通信ボード915は、LAN(Local・Area・Network)等に接続されている。通信ボード915は、LANに限らず、IP−VPN(Internet・Protocol・Virtual・Private・Network)、広域LAN、ATM(Asynchronous・Transfer・Mode)ネットワークといったWAN(Wide・Area・Network)、あるいは、インターネットに接続されていても構わない。LAN、WAN、インターネットは、ネットワークの一例である。   The communication board 915 is connected to a LAN (Local / Area / Network) or the like. The communication board 915 is not limited to a LAN, but is an IP-VPN (Internet, Protocol, Private, Network), a wide area LAN, an ATM (Asynchronous / Transfer / Mode) network, a WAN (Wide / Area / Network), or the Internet. It does not matter if it is connected to. LAN, WAN, and the Internet are examples of networks.

HDD920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。プログラム群923には、本実施の形態の説明において「〜部」として説明する機能を実行するプログラムが含まれている。プログラムは、CPU911により読み出され実行される。ファイル群924には、本実施の形態の説明において、「〜データ」、「〜情報」、「〜ID(識別子)」、「〜フラグ」、「〜結果」として説明するデータや情報や信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」や「〜テーブル」の各項目として含まれている。「〜ファイル」や「〜データベース」や「〜テーブル」は、RAM914やHDD920等の記録媒体に記憶される。RAM914やHDD920等の記録媒体に記憶されたデータや情報や信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理(動作)に用いられる。抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理中、データや情報や信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。   The HDD 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922. The program group 923 includes programs that execute the functions described as “˜units” in the description of the present embodiment. The program is read and executed by the CPU 911. The file group 924 includes data, information, and signal values described as “˜data”, “˜information”, “˜ID (identifier)”, “˜flag”, and “˜result” in the description of this embodiment. And variable values and parameters are included as items of “˜file”, “˜database”, and “˜table”. The “˜file”, “˜database”, and “˜table” are stored in a recording medium such as the RAM 914 or the HDD 920. Data, information, signal values, variable values, and parameters stored in a recording medium such as the RAM 914 and the HDD 920 are read out to the main memory and the cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, and calculated. It is used for processing (operation) of the CPU 911 such as calculation, control, output, printing and display. During the processing of the CPU 911 such as extraction, search, reference, comparison, calculation, calculation, control, output, printing, and display, data, information, signal values, variable values, and parameters are temporarily stored in the main memory, cache memory, and buffer memory. Remembered.

本実施の形態の説明において用いるブロック図やフローチャートの矢印の部分は主としてデータや信号の入出力を示す。データや信号は、RAM914等のメモリ、FDD904のフレキシブルディスク(FD)、CDD905のコンパクトディスク(CD)、HDD920の磁気ディスク、光ディスク、DVD(Digital・Versatile・Disc)、あるいは、その他の記録媒体に記録される。また、データや信号は、バス912、信号線、ケーブル、あるいは、その他の伝送媒体により伝送される。   The arrows in the block diagrams and flowcharts used in the description of this embodiment mainly indicate input / output of data and signals. Data and signals are recorded in memory such as RAM 914, FDD904 flexible disk (FD), CDD905 compact disk (CD), HDD920 magnetic disk, optical disk, DVD (Digital Versatile Disc), or other recording media Is done. Data and signals are transmitted by a bus 912, a signal line, a cable, or other transmission media.

本実施の形態の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜工程」、「〜手順」、「〜処理」であってもよい。即ち、「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。あるいは、「〜部」として説明するものは、ソフトウェアのみ、あるいは、素子、デバイス、基板、配線といったハードウェアのみで実現されていても構わない。あるいは、「〜部」として説明するものは、ソフトウェアとハードウェアとの組み合わせ、あるいは、ソフトウェアとハードウェアとファームウェアとの組み合わせで実現されていても構わない。ファームウェアとソフトウェアは、プログラムとして、フレキシブルディスク、コンパクトディスク、磁気ディスク、光ディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。即ち、プログラムは、本実施の形態の説明で述べる「〜部」としてコンピュータを機能させるものである。あるいは、プログラムは、本実施の形態の説明で述べる「〜部」の手順や方法をコンピュータに実行させるものである。   In the description of the present embodiment, what is described as “to part” may be “to circuit”, “to device”, “to device”, and “to step”, “to process”, “to”. ~ Procedure "," ~ process ". That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, what is described as “˜unit” may be realized only by software, or only by hardware such as an element, a device, a board, and wiring. Alternatively, what is described as “to part” may be realized by a combination of software and hardware, or a combination of software, hardware and firmware. Firmware and software are stored as programs in a recording medium such as a flexible disk, a compact disk, a magnetic disk, an optical disk, and a DVD. The program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” described in the description of the present embodiment. Or a program makes a computer perform the procedure and method of "-part" described by description of this Embodiment.

図3は、勤務計画作成装置100の動作(本実施の形態に係る勤務計画作成方法、本実施の形態に係るプログラムの処理手順)を示すフローチャートである。   FIG. 3 is a flowchart showing the operation of the work plan creation device 100 (work plan creation method according to the present embodiment, program processing procedure according to the present embodiment).

図3のステップS101において、設定部103は、ある月のそれぞれの日を対象日とし、n人(nは2以上の整数)のクルーC1〜Cnのそれぞれについて、月の初日から対象日までの日数を変数xとする一次関数y=ax+b(aは0より大きい実数、bは0以上の実数)を用いて対象日までの目標勤務時間Tを処理装置191により設定する。ここで、目標勤務時間Tは、月の初日から対象日までの飛行時間を累計した累計勤務時間Uの目標値である。例えば、設定部103は、月の初日を対象日としたとき、y=a+bとなるため、n人のクルーC1〜Cnのそれぞれについて、対象日までの目標勤務時間Tを全て(a+b)時間に設定する。また、例えば、設定部103は、月の15日を対象日としたとき、y=15a+bとなるため、n人のクルーC1〜Cnのそれぞれについて、対象日までの目標勤務時間Tを全て(15a+b)時間に設定する。   In step S101 of FIG. 3, the setting unit 103 sets each day of a certain month as a target day, and for each of n (n is an integer of 2 or more) crew C1 to Cn, from the first day of the month to the target day. The processing device 191 sets a target working time T up to the target day using a linear function y = ax + b (a is a real number greater than 0, b is a real number greater than or equal to 0) with the number of days as a variable x. Here, the target working time T is a target value of the cumulative working time U obtained by accumulating the flight time from the first day of the month to the target day. For example, since the setting unit 103 sets y = a + b when the first day of the month is the target day, all the target working hours T up to the target day are (a + b) hours for each of the n crews C1 to Cn. Set. Further, for example, when the 15th day of the month is set as the target day, the setting unit 103 has y = 15a + b, and therefore, for each of the n crews C1 to Cn, all the target working hours T up to the target day (15a + b ) Set the time.

なお、ステップS101において、設定部103は、クルーごとに異なる関数を用いてもよい。また、ステップS101において、設定部103は、月の初日から対象日までの日数を変数とする関数として、一次関数以外の関数(例えば、ステップ関数)を用いてもよい。また、設定部103は、月のそれぞれの日に対応付けて目標勤務時間を予め記憶装置192により記憶しておき、関数を用いる代わりに、対象日に対応する目標勤務時間を記憶装置192から読み出し、それを対象日までの目標勤務時間Tとして設定してもよい。また、設定部103は、月の全ての日を対象日とする代わりに、クルーごとに、月の稼働日のみを対象日として、対象日までの目標勤務時間Tを設定してもよい。この場合、後述するステップS102以降でも、クルーごとに、月の稼働日のみを対象日とする。具体的な例については、後述する。   In step S101, the setting unit 103 may use a different function for each crew. In step S101, the setting unit 103 may use a function other than a linear function (for example, a step function) as a function having the number of days from the first day of the month to the target day as a variable. In addition, the setting unit 103 stores the target working time in advance in the storage device 192 in association with each day of the month, and reads the target working time corresponding to the target day from the storage device 192 instead of using the function. , It may be set as the target working time T until the target date. Moreover, the setting part 103 may set the target working time T to a target day for every crew as a target day instead of setting all the days of a month as a target day. In this case, only the working day of the month is set as the target day for each crew even after step S102 described later. A specific example will be described later.

図3のステップS102において、入力部102は、月内の任意の日を対象日とし、n人のクルーC1〜Cnから、対象日に勤務を割り当てるクルーを指定する操作を入力装置193によりユーザ等から受け付ける。そして、入力部102は、その操作によって指定されたクルーについて、対象日に割り当てられた勤務をデータベース101に記憶された勤務情報111に追加する。ここで、勤務情報111は、n人のクルーC1〜Cnのそれぞれについて、割り当て済の勤務を示す情報である。   In step S102 of FIG. 3, the input unit 102 uses the input device 193 to perform an operation of designating a crew to be assigned work on the target day from n crews C1 to Cn, with any day in the month as the target day. Accept from. Then, the input unit 102 adds the work assigned to the target day to the work information 111 stored in the database 101 for the crew specified by the operation. Here, the work information 111 is information indicating assigned work for each of the n crews C1 to Cn.

なお、ステップS102では、ステップS101で設定部103により設定された対象日までの目標勤務時間Tを超えるような勤務の割り当ても許容する。   In step S102, work assignments that exceed the target work time T up to the target date set by the setting unit 103 in step S101 are also permitted.

ステップS102において、対象日に2つ以上の勤務が計画されている場合、入力部102は、それらの勤務のうち、任意の勤務を対象とし、n人のクルーC1〜Cnから、対象日に、その対象とした勤務を割り当てるクルーを指定する操作をユーザ等から受け付ける。   In step S102, when two or more work days are planned on the target day, the input unit 102 targets any work among the work, and from n crews C1 to Cn, An operation for specifying a crew to be assigned to the target work is received from a user or the like.

ステップS102は、省略しても構わない。   Step S102 may be omitted.

図3のステップS103において、選択部104は、月の初日から末日までを順番に対象日とする。対象日の勤務(対象日に2つ以上の勤務が計画されている場合は少なくとも1つの勤務)が未割り当てであれば、ステップS104に進む。対象日の勤務が割り当て済であって、対象日が月の末日でなければ、対象日の次の日を対象日とする。対象日の勤務が割り当て済であって、対象日が月の末日であれば、ステップS107に進む。   In step S103 of FIG. 3, the selection unit 104 sequentially sets the target day from the first day to the last day of the month. If the work on the target day (at least one work if two or more work is planned on the target day) is not assigned, the process proceeds to step S104. If work on the target day is assigned and the target day is not the last day of the month, the next day of the target day is set as the target day. If the work on the target day is already assigned and the target day is the last day of the month, the process proceeds to step S107.

図3のステップS104において、選択部104は、n人のクルーC1〜Cnのそれぞれについて、データベース101に記憶された勤務情報111から、対象日に(未割り当ての)勤務を割り当てた場合の対象日までの累計勤務時間Uを処理装置191により算出する。具体的には、選択部104は、n人のクルーC1〜Cnのそれぞれについて、対象日の勤務より前の勤務で、データベース101に記憶された勤務情報111が示す割り当て済の勤務の飛行時間を合計し、さらに、その結果に対象日の勤務の飛行時間を加算して、対象日までの累計勤務時間Uを求める。   In step S104 of FIG. 3, the selection unit 104 assigns a work day (unassigned) to the target day from the work information 111 stored in the database 101 for each of the n crews C1 to Cn. The accumulated working time U is calculated by the processing device 191. Specifically, for each of the n crew members C1 to Cn, the selection unit 104 displays the assigned work hours of flight indicated by the work information 111 stored in the database 101 for work before the work on the target day. The total is further added to the result, and the flight time of work on the target day is added to obtain the cumulative work time U up to the target day.

なお、ステップS104において、選択部104は、所定の条件が満たされているクルーについては、累計勤務時間Uの算出を省略してもよい。即ち、勤務の割り当て対象に関して、任意の制限事項を加えてもよい。この場合、累計勤務時間Uの算出が省略された(制限事項に該当する)クルーは、対象日の勤務の割り当て対象外となる。ここで、上記の所定の条件としては、例えば、以下のようなものが挙げられる。
・対象日が休暇取得日として予め設定されている。
・勤務連続日数が所定の閾値以上である。
・対象日に別の勤務が割り当て済である。
・割り当てようとしている勤務が直前の勤務から一定時間(例えば、14時間)空いていない。
・直前の勤務が特定の勤務Aであって、割り当てようとしている勤務が直前の勤務Aから一定時間(例えば、20時間)空いていない。
・直前の勤務が特定の勤務A、割り当てようとしている勤務が特定の勤務Bであって、割り当てようとしている勤務Bが直前の勤務Aから一定時間(例えば、10時間)空いていない。
・直前の勤務の場所と、割り当てようとしている勤務の場所とが同じでない。
In step S104, the selection unit 104 may omit the calculation of the accumulated working time U for a crew that satisfies a predetermined condition. In other words, arbitrary restrictions may be added with respect to work assignment targets. In this case, the crew for which the calculation of the accumulated working time U is omitted (corresponding to the restriction) is excluded from the assignment of work on the target day. Here, examples of the predetermined condition include the following.
-The target date is set in advance as a vacation acquisition date.
-The number of consecutive working days is greater than or equal to a predetermined threshold.
-Another work has been assigned on the target day.
-The work to be assigned is not available for a certain time (for example, 14 hours) from the last work.
The last work is a specific work A, and the work to be assigned is not available for a certain time (for example, 20 hours) from the last work A.
The last work is a specific work A, the work to be assigned is a specific work B, and the work B to be assigned is not available for a certain time (for example, 10 hours) from the last work A.
・ The location of work immediately before and the location of work being assigned are not the same.

図3のステップS105において、選択部104は、n人のクルーC1〜Cnのそれぞれについて、ステップS104で算出した対象日までの累計勤務時間UとステップS102で設定部103により設定された対象日までの目標勤務時間Tとを処理装置191により比較する。そして、選択部104は、n人のクルーC1〜Cnのそれぞれについて、対象日までの累計勤務時間Uが対象日までの目標勤務時間Tを超えるかどうかを処理装置191により判定する。   In step S105 in FIG. 3, the selection unit 104 determines, for each of the n crews C1 to Cn, the accumulated work time U up to the target date calculated in step S104 and the target date set by the setting unit 103 in step S102. The target working time T is compared by the processing device 191. Then, the selection unit 104 determines, for each of the n crews C1 to Cn, whether or not the accumulated working time U until the target date exceeds the target working time T until the target date.

図3のステップS106において、選択部104は、n人のクルーC1〜Cnから、対象日に勤務を割り当てるクルーとして、ステップS105で対象日までの累計勤務時間Uが対象日までの目標勤務時間Tを超えないと判定したクルーを処理装置191により選択する。そして、選択部104は、選択したクルーについて、対象日に割り当てた勤務をデータベース101に記憶された勤務情報111に追加し、ステップS103に戻る。   In step S106 in FIG. 3, the selection unit 104 selects the crew members C1 to Cn from n crews as working crews on the target day. In step S105, the cumulative working time U up to the target day is the target working time T up to the target day. The processing device 191 selects a crew that has been determined not to exceed. Then, the selection unit 104 adds the work assigned to the target day for the selected crew to the work information 111 stored in the database 101, and returns to step S103.

なお、ステップS106において、対象日に2つ以上の勤務が計画されている場合、そのうちの1つを選択部104が勤務情報111に追加した後も、未割り当ての勤務が残っていれば、対象日が月の末日であるかどうかに関わらず、ステップS103に戻る。そして、同じ対象日の別の勤務を対象にステップS103〜S106が実行される。   In step S106, when two or more working hours are planned on the target day, if unassigned work remains after the selection unit 104 adds one of them to the work information 111, the target Regardless of whether the day is the last day of the month, the process returns to step S103. Then, steps S103 to S106 are executed for another work on the same target day.

ステップS106において、選択部104は、ステップS105で対象日までの累計勤務時間Uが対象日までの目標勤務時間Tを超えないと判定したクルーが2人以上いる場合、任意の方法を用いて、そのうちの1人を選択する。例えば、選択部104は、対象日までの累計勤務時間Uから、対象日までの目標勤務時間Tを減算した値(ここでは、0又は負の値となる)が最小となるクルーを選択する。これにより、月内における勤務の平準化が可能となる。該当する(上記値が最小となる)クルーが複数いる場合、選択部104は、さらに、他の基準に従って1人のクルーを選択する。あるいは、選択部104は、1人のクルーをランダムに選択する。あるいは、選択部104は、ユーザ等に1人のクルーを指定させる。この場合、まず、出力部105が、候補となる2人以上のクルーを出力装置194により一覧表示する。入力部102が、そのうちの1人を指定する操作を入力装置193によりユーザ等から受け付ける。そして、選択部104が、その操作によって指定されたクルーを選択する。   In Step S106, when there are two or more crews that have determined that the cumulative working time U up to the target date does not exceed the target working time T up to the target date in Step S105, the selection unit 104 uses an arbitrary method. Select one of them. For example, the selection unit 104 selects a crew having a minimum value (here, 0 or a negative value) obtained by subtracting the target working time T until the target date from the cumulative working time U until the target date. This makes it possible to level work within the month. When there are a plurality of corresponding crews (the above value is minimum), the selection unit 104 further selects one crew according to other criteria. Alternatively, the selection unit 104 randomly selects one crew member. Alternatively, the selection unit 104 causes a user or the like to designate one crew member. In this case, the output unit 105 first displays a list of two or more candidate crews using the output device 194. The input unit 102 receives an operation for designating one of them from the user or the like using the input device 193. Then, the selection unit 104 selects a crew designated by the operation.

ステップS106において、選択部104は、ステップS105で対象日までの累計勤務時間Uが対象日までの目標勤務時間Tを超えないと判定したクルーが1人もいない場合も、任意の方法を用いて、1人のクルーを選択する。前述したように、例えば、選択部104は、対象日までの累計勤務時間Uから、対象日までの目標勤務時間Tを減算した値(ここでは、正の値となる)が最小となるクルーを選択する。これにより、月内における勤務の平準化が可能となる。該当する(上記値が最小となる)クルーが複数いる場合、選択部104は、さらに、他の基準に従って1人のクルーを選択する。あるいは、選択部104は、1人のクルーをランダムに選択する。あるいは、選択部104は、ユーザ等に1人のクルーを指定させる。   In step S <b> 106, the selection unit 104 uses an arbitrary method even when no crew has determined that the cumulative working time U up to the target date does not exceed the target working time T up to the target date in step S <b> 105. Select one crew member. As described above, for example, the selection unit 104 selects a crew that has a minimum value (here, a positive value) obtained by subtracting the target working time T until the target date from the cumulative working time U until the target date. select. This makes it possible to level work within the month. When there are a plurality of corresponding crews (the above value is minimum), the selection unit 104 further selects one crew according to other criteria. Alternatively, the selection unit 104 randomly selects one crew member. Alternatively, the selection unit 104 causes a user or the like to designate one crew member.

ステップS105及びS106において、選択部104は、対象日までの累計勤務時間Uが対象日までの目標勤務時間Tを超えないクルーを選択する代わりに、対象日までの累計勤務時間Uから、対象日までの目標勤務時間Tを減算した値が最小となるか又は所定の閾値以下となるクルーを選択してもよい。あるいは、選択部104は、別の基準に従ってクルーを選択してもよい。   In steps S105 and S106, instead of selecting a crew whose accumulated working time U up to the target date does not exceed the target working time T up to the target date, the selection unit 104 calculates the target date from the cumulative working time U up to the target date. You may select the crew from which the value which subtracted the target working time T until becomes the minimum or becomes below a predetermined threshold value. Alternatively, the selection unit 104 may select a crew according to another criterion.

図3のステップS107において、出力部105は、データベース101に記憶された勤務情報111を参照して、月内のn人のクルーC1〜Cnの乗務スケジュール(勤務計画の一例)をカレンダー形式等で出力装置194により出力する。   In step S107 of FIG. 3, the output unit 105 refers to the work information 111 stored in the database 101, and displays a crew schedule (an example of a work plan) for n crew members C1 to Cn in the month in a calendar format or the like. The data is output by the output device 194.

なお、ステップS101〜107が実行される順序は、適宜変更して構わない。例えば、ステップS101がステップS102の後に実行されても構わない。あるいは、ステップS101がステップS103及びS105の間で実行されても構わない。この場合、ステップS101はステップS104と同様に対象日ごとに実行される。即ち、ステップS104で、選択部104が、ステップS103の対象日までの累計勤務時間Uを算出するのと同様に、ステップS101では、設定部103が、ステップS103の対象日までの目標勤務時間Tを設定する。   Note that the order in which steps S101 to S107 are executed may be changed as appropriate. For example, step S101 may be executed after step S102. Alternatively, step S101 may be executed between steps S103 and S105. In this case, step S101 is executed for each target day as in step S104. That is, in step S104, the selection unit 104 calculates the cumulative working time U until the target date in step S103. In step S101, the setting unit 103 sets the target working time T until the target date in step S103. Set.

以下では、ステップS101〜107の動作の具体例について説明する。   Below, the specific example of operation | movement of step S101-107 is demonstrated.

この例では、勤務計画作成装置100が2011年9月における3人のクルーC1〜C3の乗務スケジュールを作成する。2011年9月は、毎日、飛行時間が6時間の勤務W1と、飛行時間が4時間の勤務W2との2つが計画されているものとする。   In this example, the work plan creation apparatus 100 creates a crew schedule for three crews C1 to C3 in September 2011. In September 2011, it is assumed that daily work W1 with a flight time of 6 hours and work W2 with a flight time of 4 hours are planned every day.

また、この例では、ステップS101の関数y=4xが、3人のクルーC1〜C3に対して共通に設定されているものとする。   In this example, it is assumed that the function y = 4x in step S101 is commonly set for the three crew members C1 to C3.

図4は、この例におけるクルーC1への勤務の割り当てを示すグラフである。図5は、この例におけるクルーC2への勤務の割り当てを示すグラフである。図6は、この例におけるクルーC3への勤務の割り当てを示すグラフである。   FIG. 4 is a graph showing assignment of work to the crew C1 in this example. FIG. 5 is a graph showing assignment of work to the crew C2 in this example. FIG. 6 is a graph showing assignment of work to the crew C3 in this example.

図4〜図6において、縦軸は飛行時間の累積値、横軸は2011年9月1日からの日数(x)を示している。直線グラフ(y=4x)は、2011年9月1日〜30日における各クルーの目標勤務時間T(それぞれの日までの飛行時間の累積値の目標値)を表す。棒グラフは、2011年9月1日〜30日のそれぞれにて各クルーに割り当て済の勤務を表す。棒グラフの上辺から下辺までの高さは、対応する日に割り当てられた勤務の飛行時間を表し、棒グラフの上辺の高さ(位置)は、対応する日までに割り当てられた勤務の飛行時間の累積値を表す。   4 to 6, the vertical axis indicates the cumulative value of the flight time, and the horizontal axis indicates the number of days (x) from September 1, 2011. The straight line graph (y = 4x) represents the target working time T (the target value of the cumulative value of the flight time up to each day) for each crew on September 1 to 30, 2011. The bar graph represents work assigned to each crew on September 1 to 30, 2011. The height from the top to the bottom of the bar graph represents the working hours assigned to the corresponding day, and the height (position) of the top side of the bar graph is the cumulative working hours assigned to the corresponding day. Represents a value.

ステップS101において、設定部103は、図4〜図6に示すように、関数y=4xを用いて2011年9月1日〜30日におけるクルーC1〜C3の目標勤務時間Tを設定する。2011年9月1日までのクルーC1〜C3の目標勤務時間Tは4×1=4時間、2011年9月2日までのクルーC1〜C3の目標勤務時間Tは4×2=8時間、・・・、2011年9月30日までのクルーC1〜C3の目標勤務時間Tは4×30=120時間となる。   In step S101, the setting unit 103 sets the target working times T of the crews C1 to C3 on September 1 to 30, 2011 using the function y = 4x, as shown in FIGS. The target working time T of the crews C1 to C3 until September 1, 2011 is 4 × 1 = 4 hours, and the target working time T of the crews C1 to C3 until September 2, 2011 is 4 × 2 = 8 hours, ..., the target working time T of the crews C1 to C3 until September 30, 2011 is 4 × 30 = 120 hours.

図7及び図8は、この例における勤務情報111を示す図である。   7 and 8 are diagrams showing work information 111 in this example.

図7及び図8において、勤務情報111は、クルー(クルーの識別子)、日付、勤務(勤務の識別子)、便(クルーが乗務する1つ以上の便に関する情報)、飛行時間(クルーが乗務する便の飛行時間の合計)等のデータを格納するテーブルとしてデータベース101に記憶されている。   7 and 8, work information 111 includes crew (crew identifier), date, duty (work identifier), flight (information on one or more flights on which the crew is on board), and flight time (on which the crew is on board). The data is stored in the database 101 as a table for storing data such as the total flight time of flights.

ステップS102において、入力部102は、2011年9月1日に勤務W1を割り当てるクルーとして、例えばクルーC1を指定する操作をユーザから受け付ける。そして、入力部102は、図7の(1)に示すように、その操作によって指定されたクルーC1について、2011年9月1日に割り当てられた勤務W1をデータベース101に記憶された勤務情報111に追加する。   In step S102, the input unit 102 receives, for example, an operation for designating the crew C1 from the user as a crew to which work W1 is assigned on September 1, 2011. Then, as shown in (1) of FIG. 7, the input unit 102 stores the work information 111 stored in the database 101 with the work W1 assigned on September 1, 2011 for the crew C1 designated by the operation. Add to

ステップS103において、選択部104は、2011年9月1日を対象日として、ステップS104に進む。   In step S103, the selection unit 104 sets September 1, 2011 as the target day, and proceeds to step S104.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月1日に未割り当ての勤務W2を割り当てた場合の2011年9月1日までのクルーC1〜C3の累計勤務時間Uを算出する。このとき、2011年9月1日の勤務W1がクルーC1に割り当てられているため、選択部104は、2011年9月1日の勤務W1と勤務W2との両方が同じクルーに割り当て可能か(例えば、時間が重複していないか)を判定し、可能だと判定した場合のみ、2011年9月1日に勤務W2を割り当てた場合の2011年9月1日までのクルーC1の累計勤務時間Uを算出する。2011年9月1日に勤務W2を割り当てた場合の2011年9月1日までのクルーC1の累計勤務時間Uは、2011年9月1日の勤務W1の飛行時間と勤務W2の飛行時間との合計、即ち、6+4=10時間となる。一方、2011年9月1日に勤務W2を割り当てた場合の2011年9月1日までのクルーC2,C3の累計勤務時間Uは、2011年9月1日の勤務W2の飛行時間、即ち、4時間となる。なお、選択部104は、対象日の別の勤務が既に割り当てられているクルーについては、無条件に勤務を割り当てない、即ち、対象日までの累計勤務時間Uを算出しないこととしてもよい。   In step S <b> 104, the selection unit 104 selects crew C <b> 1 to C <b> 3 until September 1, 2011 when unassigned work W <b> 2 is assigned on September 1, 2011 from the work information 111 stored in the database 101. Cumulative working time U is calculated. At this time, since the work W1 on September 1, 2011 is assigned to the crew C1, the selection unit 104 can assign both the work W1 and the work W2 on September 1, 2011 to the same crew ( For example, the cumulative working hours of Crew C1 until September 1, 2011 when working W2 is assigned on September 1, 2011 only when it is determined that the times do not overlap. U is calculated. When working W2 is assigned on September 1, 2011, the cumulative working time U of crew C1 until September 1, 2011 is the flight time of work W1 on September 1, 2011 and the flight time of work W2. That is, 6 + 4 = 10 hours. On the other hand, when working W2 is assigned on September 1, 2011, the cumulative working time U of crew C2, C3 until September 1, 2011 is the flight time of working W2 on September 1, 2011, that is, 4 hours. Note that the selection unit 104 may not unconditionally assign a work for a crew that has already been assigned another work on the target day, that is, may not calculate the cumulative work time U up to the target day.

ステップS105において、選択部104は、クルーC1〜C3のそれぞれについて、ステップS104で算出した2011年9月1日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月1日までの目標勤務時間Tとを比較する。2011年9月1日に勤務W2を割り当てた場合の2011年9月1日までのクルーC1の累計勤務時間Uは10時間であり、2011年9月1日までのクルーC1の目標勤務時間Tである4時間より長い。一方、2011年9月1日に勤務W2を割り当てた場合の2011年9月1日までのクルーC2,C3の累計勤務時間Uは4時間であり、2011年9月1日までのクルーC2,C3の目標勤務時間Tである4時間より短い。   In step S105, the selection unit 104 determines, for each of the crews C1 to C3, the cumulative working time U calculated in step S104 until September 1, 2011 and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When working W2 is assigned on September 1, 2011, the cumulative working time U of crew C1 until September 1, 2011 is 10 hours, and the target working time T of crew C1 by September 1, 2011 Longer than 4 hours. On the other hand, when working W2 is assigned on September 1, 2011, the cumulative working time U of crew C2 and C3 until September 1, 2011 is 4 hours, and crew C2 until September 1, 2011 It is shorter than the target working time T of C3, which is 4 hours.

ステップS106において、出力部105は、2011年9月1日までの累計勤務時間Uが2011年9月1日までの目標勤務時間Tを超えていないクルーC2,C3を画面上で一覧表示する。入力部102は、例えばクルーC2を指定する操作をユーザから受け付ける。選択部104は、その操作によって指定されたクルーC2を、2011年9月1日に勤務W2を割り当てるクルーとして選択する。選択部104は、図7の(2)に示すように、選択したクルーC2について、2011年9月1日に割り当てた勤務W2をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。なお、このステップS106では、例えば、選択部104が、クルーC2,C3のいずれかをランダムに選択してもよい。   In step S <b> 106, the output unit 105 displays a list of crews C <b> 2 and C <b> 3 whose cumulative working time U until September 1, 2011 does not exceed the target working time T until September 1, 2011 on the screen. For example, the input unit 102 receives an operation of designating the crew C2 from the user. The selection unit 104 selects the crew C2 designated by the operation as a crew to which work W2 is assigned on September 1, 2011. As illustrated in (2) of FIG. 7, the selection unit 104 adds the work W2 assigned on September 1, 2011 for the selected crew C2 to the work information 111 stored in the database 101. Then, the process returns to step S103. In step S106, for example, the selection unit 104 may randomly select one of the crews C2 and C3.

ステップS103において、選択部104は、2011年9月1日の勤務W1,W2の全てが割り当て済であるため、2011年9月2日を対象日として、ステップS104に進む。   In step S103, since all the work W1 and W2 on September 1, 2011 have been assigned, the selection unit 104 sets the target date as September 2, 2011, and proceeds to step S104.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC1〜C3の累計勤務時間Uを算出する。2011年9月1日の勤務W1がクルーC1に割り当てられているため、2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC1の累計勤務時間Uは、6+6=12時間となる。2011年9月1日の勤務W2がクルーC2に割り当てられているため、2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC2の累計勤務時間Uは、4+6=10時間となる。2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC3の累計勤務時間Uは、6時間となる。   In step S104, the selection unit 104 determines the cumulative working hours of the crews C1 to C3 from the work information 111 stored in the database 101 to September 2, 2011 when work W1 is assigned on September 2, 2011. U is calculated. Since the work W1 on September 1, 2011 is assigned to the crew C1, the cumulative work time U of the crew C1 up to September 2, 2011 when the work W1 is assigned on September 2, 2011 is 6 + 6 = 12 hours. Since the work W2 on September 1, 2011 is assigned to the crew C2, the cumulative working time U of the crew C2 up to September 2, 2011 when the work W1 is assigned on September 2, 2011 is 4 + 6 = 10 hours. When work W1 is assigned on September 2, 2011, the cumulative work time U of crew C3 until September 2, 2011 is 6 hours.

ステップS105において、選択部104は、クルーC1〜C3のそれぞれについて、ステップS104で算出した2011年9月2日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月2日までの目標勤務時間Tとを比較する。2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC1の累計勤務時間Uは12時間であり、2011年9月2日までのクルーC1の目標勤務時間Tである8時間より長い。2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC2の累計勤務時間Uは10時間であり、2011年9月2日までのクルーC2の目標勤務時間Tである8時間より長い。2011年9月2日に勤務W1を割り当てた場合の2011年9月2日までのクルーC3の累計勤務時間Uは6時間であり、2011年9月2日までのクルーC3の目標勤務時間Tである8時間より短い。   In step S105, the selection unit 104 determines, for each of the crews C1 to C3, the accumulated work time U until September 2, 2011 calculated in step S104 and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When work W1 is assigned on September 2, 2011, the cumulative working time U of crew C1 until September 2, 2011 is 12 hours, and the target working time T of crew C1 until September 2, 2011 Longer than 8 hours. When work W1 is assigned on September 2, 2011, the cumulative working time U of crew C2 until September 2, 2011 is 10 hours, and the target working time T of crew C2 by September 2, 2011 Longer than 8 hours. When work W1 is assigned on September 2, 2011, the cumulative working time U of crew C3 until September 2, 2011 is 6 hours, and the target working time T of crew C3 by September 2, 2011 It is shorter than 8 hours.

ステップS106において、選択部104は、2011年9月2日までの累計勤務時間Uが2011年9月2日までの目標勤務時間Tを超えていないクルーC3を選択する。選択部104は、図7の(3)に示すように、選択したクルーC3について、2011年9月2日に割り当てた勤務W1をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。   In step S <b> 106, the selection unit 104 selects the crew C <b> 3 whose cumulative working time U up to September 2, 2011 does not exceed the target working time T up to September 2, 2011. As illustrated in (3) of FIG. 7, the selection unit 104 adds the work W1 assigned on September 2, 2011 for the selected crew C3 to the work information 111 stored in the database 101. Then, the process returns to step S103.

ステップS103において、選択部104は、2011年9月2日の勤務W2が割り当てられていないため、引き続き2011年9月2日を対象日として、ステップS104に進む。   In step S103, since the work W2 on September 2, 2011 has not been assigned, the selection unit 104 continues to step S104 on September 2, 2011 as the target day.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC1〜C3の累計勤務時間Uを算出する。2011年9月1日の勤務W1がクルーC1に割り当てられているため、2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC1の累計勤務時間Uは、6+4=10時間となる。2011年9月1日の勤務W2がクルーC2に割り当てられているため、2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC2の累計勤務時間Uは、4+4=8時間となる。2011年9月2日の勤務W1がクルーC3に割り当てられているため、2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC3の累計勤務時間Uは、6+4=10時間となる。   In step S104, the selection unit 104 determines the cumulative working hours of the crews C1 to C3 from the work information 111 stored in the database 101 to September 2, 2011 when work W2 is assigned on September 2, 2011. U is calculated. Since the work W1 on September 1, 2011 is assigned to the crew C1, the cumulative working time U of the crew C1 up to September 2, 2011 when the work W2 is assigned on September 2, 2011 is 6 + 4 = 10 hours. Since the work W2 on September 1, 2011 is assigned to the crew C2, the cumulative work time U of the crew C2 up to September 2, 2011 when the work W2 is assigned on September 2, 2011 is 4 + 4 = 8 hours. Since the work W1 on September 2, 2011 is assigned to the crew C3, the cumulative work time U of the crew C3 up to September 2, 2011 when the work W2 is assigned on September 2, 2011 is 6 + 4 = 10 hours.

ステップS105において、選択部104は、クルーC1〜C3のそれぞれについて、ステップS104で算出した2011年9月2日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月2日までの目標勤務時間Tとを比較する。2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC1,C3の累計勤務時間Uは10時間であり、2011年9月2日までのクルーC1,C3の目標勤務時間Tである8時間より長い。2011年9月2日に勤務W2を割り当てた場合の2011年9月2日までのクルーC2の累計勤務時間Uは8時間であり、2011年9月2日までのクルーC2の目標勤務時間Tである8時間と同じである。   In step S105, the selection unit 104 determines, for each of the crews C1 to C3, the accumulated work time U until September 2, 2011 calculated in step S104 and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When work W2 is assigned on September 2, 2011, the total working time U of crew C1, C3 up to September 2, 2011 is 10 hours, and crew C1, C3 up to September 2, 2011 The target working time T is longer than 8 hours. When working W2 is assigned on September 2, 2011, the cumulative working time U of Crew C2 until September 2, 2011 is 8 hours, and the target working time T of Crew C2 by September 2, 2011 It is the same as 8 hours.

ステップS106において、選択部104は、2011年9月2日までの累計勤務時間Uが2011年9月2日までの目標勤務時間Tを超えていないクルーC2を選択する。選択部104は、図7の(4)に示すように、選択したクルーC2について、2011年9月2日に割り当てた勤務W2をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。   In step S <b> 106, the selection unit 104 selects a crew C <b> 2 whose cumulative working time U up to September 2, 2011 does not exceed the target working time T up to September 2, 2011. The selection unit 104 adds the work W2 assigned on September 2, 2011 to the work information 111 stored in the database 101 for the selected crew C2, as shown in (4) of FIG. Then, the process returns to step S103.

ステップS103において、選択部104は、2011年9月2日の勤務W1,W2の全てが割り当て済であるため、2011年9月3日を対象日として、ステップS104に進む。   In step S103, since all of the work W1 and W2 on September 2, 2011 have already been assigned, the selection unit 104 proceeds to step S104 with September 3, 2011 as the target day.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC1〜C3の累計勤務時間Uを算出する。2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC1の累計勤務時間Uは、6+6=12時間となる。2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC2の累計勤務時間Uは、4+4+6=14時間となる。2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC3の累計勤務時間Uは、6+6=12時間となる。   In step S104, the selection unit 104 determines the cumulative working hours of the crews C1 to C3 from the work information 111 stored in the database 101 to September 3, 2011 when work W1 is assigned on September 3, 2011. U is calculated. When work W1 is assigned on September 3, 2011, the cumulative work time U of the crew C1 until September 3, 2011 is 6 + 6 = 12 hours. When work W1 is assigned on September 3, 2011, the cumulative work time U of crew C2 until September 3, 2011 is 4 + 4 + 6 = 14 hours. When work W1 is assigned on September 3, 2011, the cumulative work time U of the crew C3 until September 3, 2011 is 6 + 6 = 12 hours.

ステップS105において、選択部104は、クルーC1〜C3のそれぞれについて、ステップS104で算出した2011年9月3日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月3日までの目標勤務時間Tとを比較する。2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC1,C3の累計勤務時間Uは12時間であり、2011年9月3日までのクルーC1,C3の目標勤務時間Tである12時間と同じである。2011年9月3日に勤務W1を割り当てた場合の2011年9月3日までのクルーC2の累計勤務時間Uは14時間であり、2011年9月3日までのクルーC2の目標勤務時間Tである12時間より長い。   In step S105, the selection unit 104 determines, for each of the crews C1 to C3, the cumulative working time U calculated in step S104 until September 3, 2011, and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When work W1 is assigned on September 3, 2011, the total working time U of crew C1, C3 up to September 3, 2011 is 12 hours, and crew C1, C3 up to September 3, 2011 This is the same as the target working time T of 12 hours. When working W1 is assigned on September 3, 2011, the cumulative working time U of crew C2 until September 3, 2011 is 14 hours, and the target working time T of crew C2 by September 3, 2011 It is longer than 12 hours.

ステップS106において、出力部105は、2011年9月3日までの累計勤務時間Uが2011年9月3日までの目標勤務時間Tを超えていないクルーC1,C3を画面上で一覧表示する。入力部102は、例えばクルーC1を指定する操作をユーザから受け付ける。選択部104は、その操作によって指定されたクルーC1を、2011年9月3日に勤務W1を割り当てるクルーとして選択する。選択部104は、図8の(5)に示すように、選択したクルーC1について、2011年9月3日に割り当てた勤務W1をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。なお、このステップS106では、例えば、選択部104が、クルーC1,C3のいずれかをランダムに選択してもよい。   In step S <b> 106, the output unit 105 displays a list of crews C <b> 1 and C <b> 3 whose cumulative working time U until September 3, 2011 does not exceed the target working time T until September 3, 2011 on the screen. For example, the input unit 102 receives an operation for designating the crew C1 from the user. The selection unit 104 selects the crew C1 designated by the operation as a crew to which work W1 is assigned on September 3, 2011. As illustrated in (5) of FIG. 8, the selection unit 104 adds the work W1 assigned on September 3, 2011 to the work information 111 stored in the database 101 for the selected crew C1. Then, the process returns to step S103. In step S106, for example, the selection unit 104 may randomly select one of the crews C1 and C3.

ステップS103において、選択部104は、2011年9月3日の勤務W2が割り当てられていないため、引き続き2011年9月3日を対象日として、ステップS104に進む。   In step S103, since the work W2 on September 3, 2011 is not assigned, the selection unit 104 continues to step S104 on September 3, 2011 as the target day.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC1〜C3の累計勤務時間Uを算出する。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC1の累計勤務時間Uは、6+6+4=14時間となる。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC2の累計勤務時間Uは、4+4+4=12時間となる。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC3の累計勤務時間Uは、6+4=10時間となる。   In step S <b> 104, the selection unit 104 determines the cumulative working hours of the crews C <b> 1 to C <b> 3 until September 3, 2011 when work W <b> 2 is assigned on September 3, 2011 from the work information 111 stored in the database 101. U is calculated. When work W2 is assigned on September 3, 2011, the cumulative work time U of the crew C1 until September 3, 2011 is 6 + 6 + 4 = 14 hours. When work W2 is assigned on September 3, 2011, the cumulative work time U of the crew C2 until September 3, 2011 is 4 + 4 + 4 = 12 hours. When working W2 is assigned on September 3, 2011, the cumulative working time U of the crew C3 up to September 3, 2011 is 6 + 4 = 10 hours.

ステップS105において、選択部104は、クルーC1〜C3のそれぞれについて、ステップS104で算出した2011年9月3日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月3日までの目標勤務時間Tとを比較する。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC1の累計勤務時間Uは14時間であり、2011年9月3日までのクルーC1の目標勤務時間Tである12時間より長い。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC2の累計勤務時間Uは12時間であり、2011年9月3日までのクルーC2の目標勤務時間Tである12時間と同じである。2011年9月3日に勤務W2を割り当てた場合の2011年9月3日までのクルーC3の累計勤務時間Uは10時間であり、2011年9月3日までのクルーC3の目標勤務時間Tである12時間より短い。   In step S105, the selection unit 104 determines, for each of the crews C1 to C3, the cumulative working time U calculated in step S104 until September 3, 2011, and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When work W2 is assigned on September 3, 2011, the total working time U of crew C1 until September 3, 2011 is 14 hours, and the target working time T of crew C1 until September 3, 2011 It is longer than 12 hours. When working W2 is assigned on September 3, 2011, the cumulative working time U of Crew C2 until September 3, 2011 is 12 hours, and the target working time T of Crew C2 by September 3, 2011 It is the same as 12 hours. When working W2 is assigned on September 3, 2011, the cumulative working time U of Crew C3 until September 3, 2011 is 10 hours, and the target working time T of Crew C3 by September 3, 2011 Shorter than 12 hours.

ステップS106において、選択部104は、2011年9月3日までの累計勤務時間Uから、2011年9月3日までの目標勤務時間Tを減算した値(ここでは、−2時間)が最小となるクルーC3を選択する。選択部104は、図8の(6)に示すように、選択したクルーC3について、2011年9月3日に割り当てた勤務W2をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。なお、このステップS106では、例えば、選択部104が、クルーC2,C3のいずれかをランダムに選択したり、ユーザ等に指定させたりしてもよい。   In step S106, the selection unit 104 determines that the value obtained by subtracting the target working time T until September 3, 2011 from the cumulative working time U until September 3, 2011 (here, -2 hours) is the minimum. Select Crew C3. As illustrated in (6) of FIG. 8, the selection unit 104 adds the work W2 assigned on September 3, 2011 for the selected crew C3 to the work information 111 stored in the database 101. Then, the process returns to step S103. In step S106, for example, the selection unit 104 may randomly select one of the crews C2 and C3, or may cause the user or the like to specify it.

これ以降、同様に、ステップS103〜S106が繰り返し実行され、図4〜図6に示すように、2011年9月4日〜30日のそれぞれの勤務W1,W2がクルーC1〜C3に割り当てられる。そして、その結果がデータベース101に記憶された勤務情報111に反映される。   Thereafter, similarly, Steps S103 to S106 are repeatedly executed, and as shown in FIGS. 4 to 6, the respective work W1 and W2 of September 4 to 30, 2011 are assigned to the crews C1 to C3. The result is reflected in the work information 111 stored in the database 101.

図9は、この例におけるクルーC1の乗務スケジュールを示す図である。図10は、この例におけるクルーC2の乗務スケジュールを示す図である。図11は、この例におけるクルーC3の乗務スケジュールを示す図である。   FIG. 9 is a diagram illustrating the crew schedule of the crew C1 in this example. FIG. 10 is a diagram showing the crew schedule of crew C2 in this example. FIG. 11 is a diagram showing a crew schedule of crew C3 in this example.

ステップS107において、出力部105は、図9〜図11に示すように、データベース101に記憶された勤務情報111を参照して、2011年9月のクルーC1〜C3の乗務スケジュールをカレンダー形式で出力する。   In step S107, as shown in FIGS. 9 to 11, the output unit 105 refers to the work information 111 stored in the database 101, and outputs the crew schedule of crew C1 to C3 in September 2011 in a calendar format. To do.

なお、この例と同一の条件下において、図9〜図11に示した乗務スケジュールと異なる勤務の割り当て方も可能である。即ち、図9〜図11に示したものとは別の乗務スケジュールを作成することもできる。また、この例では、毎日、飛行時間が6時間の勤務W1と、飛行時間が4時間の勤務W2との2つが計画されているものとしたが、計画されている勤務の数や飛行時間が日ごとに異なっていても、本実施の形態を適用することができる。   Note that, under the same conditions as in this example, it is possible to assign work differently from the crew schedule shown in FIGS. That is, a crew schedule different from those shown in FIGS. 9 to 11 can be created. In this example, it is assumed that every day, a work W1 with a flight time of 6 hours and a work W2 with a flight time of 4 hours are planned, but the number of planned work and the flight time are planned. Even if it differs from day to day, the present embodiment can be applied.

上記のように、ステップS101において、設定部103は、複数の日のそれぞれを対象日とし、複数の勤務者のそれぞれについて、複数の日の初日から対象日までの勤務時間を累計した累計勤務時間の目標値を目標勤務時間として設定する。これにより、一定の期間内において、どのようなペースで各勤務者に勤務させるかを任意に決めることができる。本実施の形態では、設定部103が、複数の勤務者のそれぞれについて、複数の日の初日から対象日までの日数を変数とする関数を用いて対象日までの目標勤務時間を設定するため、一定の期間内において、確実かつ容易に勤務を平準化することができる。   As described above, in step S101, the setting unit 103 sets each of a plurality of days as the target day, and for each of the plurality of workers, the accumulated working hours obtained by accumulating the working hours from the first day of the plurality of days to the target day. The target value is set as the target working time. Thereby, it is possible to arbitrarily determine at what pace each worker works within a certain period. In the present embodiment, the setting unit 103 sets a target working time until the target day using a function with the number of days from the first day to the target day as a variable for each of the plurality of workers. Within a certain period, work can be leveled reliably and easily.

また、ステップS103〜S106において、選択部104は、複数の日の初日から末日までを順番に対象日とする。対象日の勤務が未割り当てであれば、選択部104は、複数の勤務者のそれぞれについて、データベース101に記憶された勤務情報111から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間を算出する。選択部104は、算出した対象日までの累計勤務時間と設定部103により設定された対象日までの目標勤務時間とを比較する。選択部104は、その比較結果に基づいて、複数の勤務者から、対象日に勤務を割り当てる勤務者を選択する。そして、選択部104は、選択した勤務者について、対象日に割り当てた勤務をデータベース101に記憶された勤務情報111に追加する。これにより、各勤務者に勤務させるペース(設定部103で任意に決めたもの)に合わせた勤務の割り当てを容易かつ効率よく行うことが可能となる。   In steps S103 to S106, the selection unit 104 sequentially sets the target days from the first day to the last day of a plurality of days. If the work on the target day is unassigned, the selection unit 104 calculates, for each of a plurality of workers, cumulative work from the work information 111 stored in the database 101 to the target day when work is assigned on the target day. Calculate time. The selection unit 104 compares the calculated cumulative working time up to the target date with the target working time up to the target date set by the setting unit 103. Based on the comparison result, the selection unit 104 selects a worker who assigns work on the target day from a plurality of workers. Then, the selection unit 104 adds the work assigned to the target day for the selected worker to the work information 111 stored in the database 101. This makes it possible to easily and efficiently assign work according to the pace at which each worker works (determined arbitrarily by the setting unit 103).

ここで、前述したステップS101〜107の動作の具体例において、月の全ての日を対象日とする代わりに、クルーごとに、月の稼働日のみを対象日とする変形例について説明する。なお、前述した例と重複する点については、説明を省略する場合がある。   Here, in the specific example of the operation in steps S101 to S107 described above, a modified example in which only the working day of the month is the target date will be described for each crew instead of setting all days of the month as target days. Note that description of points that overlap with the above-described example may be omitted.

この例では、クルーC1に対して、ステップS101の関数y=5x+2が設定されているものとする。クルーC2,C3に関しては説明を省略する。   In this example, it is assumed that the function y = 5x + 2 in step S101 is set for the crew C1. A description of crew C2, C3 is omitted.

図12及び図13は、この例におけるクルーC1への勤務の割り当てを示すグラフである。   12 and 13 are graphs showing assignment of work to the crew C1 in this example.

図12において、縦軸は飛行時間の累積値、横軸は2011年9月におけるクルーC1の最初の稼働日からの稼働日の日数(x)を示している。直線グラフ(y=5x+2)は、2011年9月のクルーC1の稼働日におけるクルーC1の目標勤務時間T(それぞれの日までの飛行時間の累積値の目標値)を表す。棒グラフは、2011年9月におけるクルーC1のそれぞれの稼働日にてクルーC1に割り当て済の勤務を表す。図13は、図12の稼働日を暦日に展開したものである。つまり、図13において、縦軸は飛行時間の累積値、横軸は2011年9月1日からの暦日の日数を示している。折れ線グラフは、2011年9月1日〜30日におけるクルーC1の目標勤務時間T(それぞれの日までの飛行時間の累積値の目標値)を表す。棒グラフは、2011年9月1日〜30日のそれぞれにてクルーC1に割り当て済の勤務を表す。   In FIG. 12, the vertical axis represents the cumulative value of flight time, and the horizontal axis represents the number of working days (x) from the first working day of the crew C1 in September 2011. The straight line graph (y = 5x + 2) represents the target working time T of the crew C1 on the working day of the crew C1 in September 2011 (the target value of the cumulative value of the flight time up to each day). The bar graph represents work assigned to the crew C1 on each working day of the crew C1 in September 2011. FIG. 13 is a diagram in which the working days in FIG. 12 are expanded to calendar days. That is, in FIG. 13, the vertical axis represents the cumulative value of the flight time, and the horizontal axis represents the number of calendar days from September 1, 2011. The line graph represents the target working time T (the target value of the cumulative value of the flight time up to each day) of the crew C1 from September 1 to 30, 2011. The bar graph represents work assigned to the crew C1 on September 1 to 30, 2011.

ステップS101において、設定部103は、図12に示すように、関数y=5x+2を用いて2011年9月の稼働日におけるクルーC1の目標勤務時間Tを設定する。言い換えれば、設定部103は、図13に示すように、2011年9月のカレンダーから非稼働日を削除し、残った稼働日を暦日の昇順に並べ、初日を第1日、最終日を第m日とするとき、a×m+bが予め定められたクルーC1の月内合計勤務時間の目標値となるようにa,bを定め、第1日の目標勤務時間Tをa×1+bとし、非稼働日までの目標勤務時間Tを直前の稼働日までの目標勤務時間Tと等しくし、非稼働日が先行する稼働日を持たない場合は目標勤務時間Tを0時間とする関数を用いて、2011年9月1日〜30日におけるクルーC1の目標勤務時間Tを設定する。2011年9月1日(稼働日)までのクルーC1の目標勤務時間Tは5×1+2=7時間、2011年9月2日(非稼働日)までのクルーC1の目標勤務時間Tは7時間、・・・、2011年9月30日(稼働日)までのクルーC1の目標勤務時間Tは5×30+2=102時間となる。なお、説明は省略するが、設定部103は、同様に、2011年9月の稼働日におけるクルーC2,C3の目標勤務時間Tを設定する。   In step S101, the setting unit 103 sets the target working time T of the crew C1 on the working day in September 2011 using the function y = 5x + 2, as shown in FIG. In other words, as shown in FIG. 13, the setting unit 103 deletes the non-working days from the calendar for September 2011, arranges the remaining working days in ascending order of the calendar days, sets the first day as the first day, and the last day as the first day. When the m-th day is set, a and b are determined so that a × m + b is a predetermined target value of the total working time of the crew C1 in a month, and the target working time T on the first day is a × 1 + b, Use a function that makes the target working time T until the non-working day equal to the target working time T up to the previous working day, and if the non-working day has no preceding working day, the target working time T is set to 0 hour. The target working time T of the crew C1 for September 1 to 30, 2011 is set. The target working time T of Crew C1 by September 1, 2011 (working day) is 5 × 1 + 2 = 7 hours, and the target working time T of Crew C1 by September 2, 2011 (non-working day) is 7 hours. ,..., The target working time T of the crew C1 until September 30, 2011 (working day) is 5 × 30 + 2 = 102 hours. In addition, although description is abbreviate | omitted, the setting part 103 sets the target working time T of crew C2, C3 in the working day of September 2011 similarly.

ステップS102において、入力部102は、2011年9月1日に勤務W1を割り当てるクルーとして、例えばクルーC1を指定する操作をユーザから受け付ける。そして、入力部102は、その操作によって指定されたクルーC1について、2011年9月1日に割り当てられた勤務W1をデータベース101に記憶された勤務情報111に追加する。   In step S102, the input unit 102 receives, for example, an operation for designating the crew C1 from the user as a crew to which work W1 is assigned on September 1, 2011. Then, the input unit 102 adds the work W1 assigned on September 1, 2011 to the work information 111 stored in the database 101 for the crew C1 designated by the operation.

ステップS103〜S106において、選択部104は、2011年9月1日〜30日を順番に対象日とする。対象日の勤務が未割り当てであれば、選択部104は、クルーC1〜C3のうち、対象日が稼働日となっているクルーについて、データベース101に記憶された勤務情報111から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間Uを算出する。選択部104は、算出した対象日までの累計勤務時間Uと設定部103により設定された対象日までの目標勤務時間Tとを比較する。選択部104は、その比較結果に基づいて、対象日が稼働日となっているクルーから、対象日に勤務を割り当てるクルーを選択する。そして、選択部104は、選択したクルーについて、対象日に割り当てた勤務をデータベース101に記憶された勤務情報111に追加する。これにより、図12及び図13に示すように、2011年9月におけるクルーC1のそれぞれの稼働日に勤務W1又はW2がクルーC1に割り当てられる。クルーC2,C3についても同様である。   In steps S <b> 103 to S <b> 106, the selection unit 104 sequentially sets September 1 to 30, 2011 as the target day. If the work on the target day is unassigned, the selection unit 104 works for the crew whose work day is the working day among the crews C1 to C3 from the work information 111 stored in the database 101. The cumulative working time U up to the target date when the is assigned is calculated. The selection unit 104 compares the calculated cumulative working time U until the target date with the target working time T until the target date set by the setting unit 103. Based on the comparison result, the selection unit 104 selects a crew to which work is assigned on the target day from crews whose target day is an operating day. Then, the selection unit 104 adds the work assigned to the target day to the work information 111 stored in the database 101 for the selected crew. Thereby, as shown in FIG.12 and FIG.13, work W1 or W2 is allocated to the crew C1 on each working day of the crew C1 in September 2011. The same applies to the crews C2 and C3.

ステップS107において、出力部105は、データベース101に記憶された勤務情報111を参照して、2011年9月のクルーC1〜C3の乗務スケジュールをカレンダー形式で出力する。   In step S107, the output unit 105 refers to the work information 111 stored in the database 101 and outputs the crew schedules of crews C1 to C3 in September 2011 in a calendar format.

この例によれば、稼働日に着目したクルーの月内の勤務負荷の平準化、クルー間の勤務負荷の平準化を達成できる。ここで、前月の月内合計勤務時間が長いクルーについては、当月の月内合計勤務時間の目標値を小さくする等により、月間の勤務負荷の平準化を図ることもできる。また、月内合計勤務時間の目標値は、例えば、「所定の標準値」(クルー又はクルーの種別ごとに異なっていてもよいし、月ごとに異なっていてもよい)×2−「前月の月内合計勤務時間」=「当月の月内合計勤務時間の目標値」といった形で定めることができる。   According to this example, it is possible to achieve leveling of the workload within the month of the crew focused on the working day and leveling of the workload between the crews. Here, for crews with long working hours in the previous month, the monthly workload can be leveled by reducing the target value of the working hours in the current month. In addition, the target value of the total working hours in the month is, for example, “predetermined standard value” (may differ for each crew or crew type, or may differ for each month) × 2− “previous month It can be determined in the form of “total working hours in month” = “target value of total working hours in the month”.

実施の形態2.
本実施の形態について、主に実施の形態1との差異を説明する。
Embodiment 2. FIG.
In the present embodiment, differences from the first embodiment will be mainly described.

図14は、本実施の形態に係る勤務計画作成装置100の構成を示すブロック図である。   FIG. 14 is a block diagram showing the configuration of the work plan creation apparatus 100 according to the present embodiment.

図14において、勤務計画作成装置100の構成は、図1に示した実施の形態1のものと同様であるが、本実施の形態では、データベース101が、勤務情報111のほか、属性情報112を記憶装置192により記憶する。属性情報112は、n人のクルーC1〜Cnのそれぞれについて、クルーの種別(所定の属性の一例)を示す情報である。クルーの種別には、一般、シニア、飛行時間制限者がある。シニアは、月内で乗務できる時間(即ち、月間の飛行時間の目標値)が一律に制限されている。飛行時間制限者は、月内で乗務できる時間が個別に制限されている。   14, the configuration of the work plan creation device 100 is the same as that of the first embodiment shown in FIG. 1, but in this embodiment, the database 101 includes attribute information 112 in addition to the work information 111. The data is stored by the storage device 192. The attribute information 112 is information indicating the type of crew (an example of a predetermined attribute) for each of the n crews C1 to Cn. Crew types include general, senior, and flight time limiters. The time that a senior can ride in the month (that is, the target value of the monthly flight time) is uniformly limited. The flight time limiter is individually limited in the time that can be ridden in the month.

以下、図3を用いて、勤務計画作成装置100の動作について説明する。   Hereinafter, the operation of the work plan creation apparatus 100 will be described with reference to FIG.

図3のステップS101において、設定部103は、データベース101に記憶された属性情報112によって示されるクルーの種別が共通するクルーごとに、共通の関数を用いて目標勤務時間Tを設定する。具体的には、設定部103は、データベース101に記憶された属性情報112を参照し、n人のクルーC1〜Cnのそれぞれが一般、シニア、飛行時間制限者のいずれに該当するかを判定する。そして、設定部103は、月内のそれぞれの日を対象日とし、一般のクルーについて、月の初日から対象日までの日数を変数xとする一次関数y=ax+b(aは0より大きい実数、bは0以上の実数)を用いて対象日までの目標勤務時間Tを処理装置191により設定する。また、設定部103は、月内のそれぞれの日を対象日とし、シニアのクルーについて、月の初日から対象日までの日数を変数xとするシニアのクルー用の一次関数y=ax+b(aは0より大きい実数、bは0以上の実数)を用いて対象日までの目標勤務時間Tを処理装置191により設定する。このとき、例えば、a>aとする。また、設定部103は、月内のそれぞれの日を対象日とし、飛行時間制限者について、月の初日から対象日までの日数を変数xとする飛行時間制限者ごとの一次関数y=ax+b(aは0より大きい実数、bは0以上の実数)を用いて対象日までの目標勤務時間Tを処理装置191により設定する。このとき、a、bは、飛行時間制限者ごとに個別に設定される。 In step S101 in FIG. 3, the setting unit 103 sets a target working time T using a common function for each crew with a common crew type indicated by the attribute information 112 stored in the database 101. Specifically, the setting unit 103 refers to the attribute information 112 stored in the database 101 and determines whether each of the n crews C1 to Cn corresponds to a general, senior, or flight time limiter. . Then, the setting unit 103 sets each day in the month as a target day, and for a general crew, a linear function y = a 1 x + b 1 (a 1 is 0) with the number of days from the first day of the month to the target day as a variable x. real number larger than, b 1 is set by the processor 191 of the target service time T to the target date using a 0 or a real number). In addition, the setting unit 103 sets each day of the month as a target day, and for senior crew, the senior function for senior crew y = a 2 x + b 2 with the number of days from the first day of the month to the target day as a variable x. The target working time T up to the target date is set by the processing device 191 using (a 2 is a real number greater than 0 and b 2 is a real number greater than or equal to 0). At this time, for example, a 1 > a 2 is satisfied. Further, the setting unit 103 sets each day in the month as the target day, and for the flight time limiter, the linear function y = a 3 for each flight time limiter having the variable x as the number of days from the first day of the month to the target day. The target working time T up to the target date is set by the processing device 191 using x + b 3 (a 3 is a real number greater than 0 and b 3 is a real number greater than or equal to 0). At this time, a 3 and b 3 are individually set for each flight time limiter.

図3のステップS102以降の動作については、実施の形態1のものと同様である。   The operations after step S102 in FIG. 3 are the same as those in the first embodiment.

なお、本実施の形態において、属性情報112が、クルーの種別以外の属性を示す情報であってもよい。この場合も、設定部103は、データベース101に記憶された属性情報によって示される属性が共通するクルーごとに、共通の関数を用いて目標勤務時間Tを設定する。   In the present embodiment, the attribute information 112 may be information indicating attributes other than the crew type. Also in this case, the setting unit 103 sets the target working time T using a common function for each crew that has the same attribute indicated by the attribute information stored in the database 101.

本実施の形態によれば、一定の期間内において、勤務者の属性に応じたペースで各勤務者に勤務させるような勤務計画を容易かつ効率よく作成することが可能となる。   According to the present embodiment, it is possible to easily and efficiently create a work plan that causes each worker to work at a pace corresponding to the attributes of the worker within a certain period.

実施の形態3.
本実施の形態について、主に実施の形態1との差異を説明する。
Embodiment 3 FIG.
In the present embodiment, differences from the first embodiment will be mainly described.

本実施の形態では、月内の連続する2日以上の期間の勤務の組み合わせが勤務パターンとして予め定められている。例えば、空港Aを出発して空港Bに到着するフライトを1日目の勤務とし、空港Bを出発して空港Aに到着するフライトを2日目の勤務とし、これら2日間の勤務の組み合わせを、1つの勤務パターンとして定義することができる。また、例えば、空港Aを出発して空港Bに到着するフライトを1日目の勤務とし、フライトはないが、空港Bの近辺に滞在することを2日目の勤務とし、空港Bを出発して空港Aに到着するフライトを3日目の勤務とし、これら3日間の勤務の組み合わせを、1つの勤務パターンとして定義することができる。なお、1日単位で割り当てられる勤務を、1つの勤務パターン(1日のみの勤務パターン)として定義してもよい。   In this embodiment, a combination of work for a period of two or more consecutive days in a month is determined in advance as a work pattern. For example, a flight that departs from airport A and arrives at airport B is assigned to work on the first day, a flight that departs from airport B and arrives at airport A on the second day, and the combination of these two days of work. It can be defined as one work pattern. Also, for example, a flight departing from airport A and arriving at airport B is served on the first day, and there is no flight, but staying in the vicinity of airport B is served on the second day, leaving airport B. The flight arriving at the airport A can be defined as a third day work, and a combination of these three day work can be defined as one work pattern. The work assigned in units of one day may be defined as one work pattern (a work pattern for only one day).

本実施の形態に係る勤務計画作成装置100の構成は、図1に示した実施の形態1のものと同様である。   The configuration of the work plan creation device 100 according to the present embodiment is the same as that of the first embodiment shown in FIG.

以下、図3を用いて、勤務計画作成装置100の動作について説明する。   Hereinafter, the operation of the work plan creation apparatus 100 will be described with reference to FIG.

図3のステップS101及びS102の動作については、実施の形態1のものと同様である。   The operations in steps S101 and S102 in FIG. 3 are the same as those in the first embodiment.

図3のステップS104において、選択部104は、対象日から始まる期間の勤務パターンが未割り当てであれば、その期間を対象期間とする。選択部104は、n人のクルーC1〜Cnのそれぞれについて、データベース101に記憶された勤務情報111から、対象期間に(未割り当ての)勤務パターンを割り当てた場合の対象期間が終わる日までの累計勤務時間Uを処理装置191により算出する。具体的には、選択部104は、n人のクルーC1〜Cnのそれぞれについて、対象期間の勤務パターンより前の勤務(勤務パターンの一部であるものを含む)で、データベース101に記憶された勤務情報111が示す割り当て済の勤務の飛行時間を合計し、さらに、その結果に対象期間の勤務パターンの飛行時間を加算して、対象期間が終わる日までの累計勤務時間Uを求める。   In step S104 of FIG. 3, if the work pattern of the period starting from the target date is not assigned, the selection unit 104 sets that period as the target period. For each of the n crew members C1 to Cn, the selection unit 104 accumulates from the work information 111 stored in the database 101 to the date when the target period ends when a (unassigned) work pattern is assigned to the target period. The working time U is calculated by the processing device 191. Specifically, for each of the n crews C1 to Cn, the selection unit 104 is stored in the database 101 in a work before the work pattern of the target period (including a part of the work pattern). The flight hours of the assigned work indicated by the work information 111 are totaled, and the flight time of the work pattern of the target period is added to the result, and the cumulative work time U until the end of the target period is obtained.

図3のステップS105において、選択部104は、n人のクルーC1〜Cnのそれぞれについて、ステップS104で算出した対象期間が終わる日までの累計勤務時間UとステップS102で設定部103により設定された対象期間が終わる日までの目標勤務時間Tとを処理装置191により比較する。そして、選択部104は、n人のクルーC1〜Cnのそれぞれについて、対象期間が終わる日までの累計勤務時間Uが、対象期間が終わる日までの目標勤務時間Tを超えるかどうかを処理装置191により判定する。   In step S105 in FIG. 3, the selection unit 104 sets the total working hours U until the end of the target period calculated in step S104 and the setting unit 103 in step S102 for each of the n crews C1 to Cn. The processing device 191 compares the target working time T until the end of the target period. Then, for each of the n crews C1 to Cn, the selection unit 104 determines whether or not the accumulated working time U until the end of the target period exceeds the target working time T until the end of the target period. Judgment by

なお、ステップS105において、対象期間が2つの月をまたがる可能性がある。即ち、対象期間が終わる日が次の月の日である場合がある。そのため、ステップS102において、設定部103は、必要に応じて次の月の初日から数日間を対象に、n人のクルーC1〜Cnの目標勤務時間Tを設定しておくものとする。   In step S105, the target period may extend over two months. That is, the day when the target period ends may be the day of the next month. Therefore, in step S102, the setting unit 103 sets target working times T for n crews C1 to Cn for the first several days from the first day of the next month as necessary.

図3のステップS106において、選択部104は、n人のクルーC1〜Cnから、対象期間に勤務パターンを割り当てるクルーとして、ステップS105で対象期間が終わる日までの累計勤務時間Uが、対象期間が終わる日までの目標勤務時間Tを超えないと判定したクルーを処理装置191により選択する。このとき、該当する(累計勤務時間Uが目標勤務時間Tを超えない)クルーが2人以上いるか、あるいは、1人もいない場合、選択部104は、実施の形態1と同様に、任意の方法を用いて、1人のクルーを選択する。そして、選択部104は、選択したクルーについて、対象期間に割り当てた勤務パターンをデータベース101に記憶された勤務情報111に追加し、ステップS103に戻る。   In step S106 in FIG. 3, the selection unit 104 determines the cumulative working hours U from the n crews C1 to Cn to assign work patterns to the target period until the end of the target period in step S105. The crew that has determined that the target working time T until the end date is not exceeded is selected by the processing device 191. At this time, if there are two or more corresponding crews (the cumulative working time U does not exceed the target working time T) or there is no one, the selecting unit 104 selects an arbitrary method as in the first embodiment. Use to select one crew. And the selection part 104 adds the work pattern allocated to the object period about the selected crew to the work information 111 memorize | stored in the database 101, and returns to step S103.

図3のステップS107の動作については、実施の形態1のものと同様である。   The operation in step S107 in FIG. 3 is the same as that in the first embodiment.

以下では、ステップS101〜107の動作の具体例について説明する。   Below, the specific example of operation | movement of step S101-107 is demonstrated.

この例では、勤務計画作成装置100が2011年9月における3人のクルーC1〜C3の乗務スケジュールを作成する。2011年9月は、毎週火〜金曜日(1日,2日,6日〜9日、13日〜16日,20日〜23日,27日〜30日)に、4日間の勤務パターンP1が計画されているものとする。また、毎週木曜日(1日,8日,15日,22日,29日)に、飛行時間が4時間の勤務W1、毎週土曜日及び日曜日(3日,4日,10日,11日,17日,18日,24日,25日)に、飛行時間が6時間の勤務W2、毎週水曜日(7日,14日,21日,28日)に、飛行時間が8時間の勤務W3が計画されているものとする。さらに、4日ごと(2日〜4日,6日〜8日,10日〜12日,14日〜16日,18日〜20日,22日〜24日,26日〜28日,30日)に、3日間の勤務パターンP2が計画されているものとする。勤務パターンP1は、1日目及び4日目に12時間のフライトがあり、2日目及び3日目はフライトがないという勤務パターンである。勤務パターンP2は、1日目に6時間のフライト、2日目に2時間のフライト、3日目に8時間のフライトがあるという勤務パターンである。   In this example, the work plan creation apparatus 100 creates a crew schedule for three crews C1 to C3 in September 2011. In September 2011, work patterns P1 for 4 days are set every Tuesday to Friday (1st, 2nd, 6th-9th, 13th-16th, 20th-23rd, 27th-30th) Assume that it is planned. Also, every Thursday (1st, 8th, 15th, 22nd, 29th), work W1 with flight time of 4 hours, every Saturday and Sunday (3rd, 4th, 10th, 11th, 17th) , 18th, 24th, 25th) is scheduled to work 6 hours flight W2 and every Wednesday (7th, 14th, 21st, 28th days) work 8 hours flight W3 It shall be. Furthermore, every 4 days (2-4 days, 6-8 days, 10-12 days, 14-16 days, 18-20 days, 22-24 days, 26-28 days, 30 days ) It is assumed that a 3-day work pattern P2 is planned. The work pattern P1 is a work pattern in which there is a 12-hour flight on the first and fourth days, and no flight on the second and third days. The work pattern P2 is a work pattern in which there is a 6-hour flight on the first day, a 2-hour flight on the second day, and an 8-hour flight on the third day.

また、この例では、ステップS101の関数y=4xが、3人のクルーC1〜C3に対して共通に設定されているものとする。   In this example, it is assumed that the function y = 4x in step S101 is commonly set for the three crew members C1 to C3.

図15は、この例におけるクルーC1への勤務の割り当てを示すグラフである。図16は、この例におけるクルーC2への勤務の割り当てを示すグラフである。図17は、この例におけるクルーC3への勤務の割り当てを示すグラフである。   FIG. 15 is a graph showing assignment of work to the crew C1 in this example. FIG. 16 is a graph showing assignment of work to the crew C2 in this example. FIG. 17 is a graph showing assignment of work to the crew C3 in this example.

図4〜図6と同様に、図15〜図17において、縦軸は飛行時間の累積値、横軸は2011年9月1日からの日数(x)を示している。直線グラフ(y=4x)は、2011年9月1日〜30日における各クルーの目標勤務時間T(それぞれの日までの飛行時間の累積値の目標値)を表す。棒グラフは、2011年9月1日〜30日のそれぞれにて各クルーに割り当て済の勤務又は勤務パターンを表す。棒グラフの上辺から下辺までの高さは、対応する日又は期間に割り当てられた勤務又は勤務パターンの飛行時間を表し、棒グラフの上辺の高さ(位置)は、対応する日までに割り当てられた勤務又は勤務パターンの飛行時間の累積値を表す。   Similar to FIGS. 4 to 6, in FIGS. 15 to 17, the vertical axis indicates the cumulative value of the flight time, and the horizontal axis indicates the number of days (x) from September 1, 2011. The straight line graph (y = 4x) represents the target working time T (the target value of the cumulative value of the flight time up to each day) for each crew on September 1 to 30, 2011. The bar graph represents the work or work pattern assigned to each crew on September 1 to 30, 2011. The height from the top side to the bottom side of the bar graph represents the flight time of the work or work pattern assigned to the corresponding day or period, and the height (position) of the top side of the bar graph represents the work assigned to the corresponding day Or it represents the cumulative value of the flight time of the work pattern.

ステップS101において、設定部103は、図15〜図17に示すように、関数y=4xを用いて2011年9月1日〜30日におけるクルーC1〜C3の目標勤務時間Tを設定する。2011年9月1日までのクルーC1〜C3の目標勤務時間Tは4×1=4時間、2011年9月2日までのクルーC1〜C3の目標勤務時間Tは4×2=8時間、・・・、2011年9月30日までのクルーC1〜C3の目標勤務時間Tは4×30=120時間となる。   In step S101, the setting unit 103 sets the target working times T of the crews C1 to C3 on September 1 to 30, 2011 using the function y = 4x as shown in FIGS. The target working time T of the crews C1 to C3 until September 1, 2011 is 4 × 1 = 4 hours, and the target working time T of the crews C1 to C3 until September 2, 2011 is 4 × 2 = 8 hours, ..., the target working time T of the crews C1 to C3 until September 30, 2011 is 4 × 30 = 120 hours.

図18は、この例における勤務情報111を示す図である。   FIG. 18 is a diagram showing work information 111 in this example.

図18において、勤務情報111は、クルー(クルーの識別子)、日付、勤務パターン(勤務パターンの識別子)、勤務(1つ以上の勤務の識別子)、便(図示していない)、飛行時間(クルーが乗務する便の飛行時間の合計)等のデータを格納するテーブルとしてデータベース101に記憶されている。ここで、勤務情報111の勤務パターンは、1日単位で割り当てられる勤務については空データ(図では「−」と表記する)となるものとする。なお、前述したように、1日単位で割り当てられる勤務も1つの勤務パターン(1日のみの勤務パターン)として定義する場合には、1日単位で割り当てられる勤務についても、勤務情報111の勤務パターンが記録されることになる。   In FIG. 18, the work information 111 includes crew (crew identifier), date, work pattern (work pattern identifier), work (one or more work identifiers), flight (not shown), flight time (crew Is stored in the database 101 as a table for storing data such as the total flight time of flights on which the passengers ride. Here, the work pattern of the work information 111 is assumed to be empty data (indicated as “−” in the figure) for work assigned in units of one day. As described above, when the work assigned in units of one day is defined as one work pattern (a work pattern of only one day), the work pattern of the work information 111 is also applied to the work assigned in units of one day. Will be recorded.

ステップS102において、入力部102は、2011年9月1日及び2日に勤務パターンP1(実際には2011年8月30日から始まる)を割り当てるクルーとして、例えばクルーC1を指定する操作をユーザから受け付ける。そして、入力部102は、図18の(1)に示すように、その操作によって指定されたクルーC1について、2011年9月1日及び2日に割り当てられた勤務パターンP1をデータベース101に記憶された勤務情報111に追加する。   In step S102, the input unit 102 performs, for example, an operation for designating the crew C1 from the user as a crew that assigns the work pattern P1 (actually starts from August 30, 2011) on September 1st and 2nd, 2011. Accept. Then, as shown in FIG. 18 (1), the input unit 102 stores in the database 101 the work pattern P1 assigned to September 1st and 2nd 2011 for the crew C1 designated by the operation. Added to the work information 111.

なお、ここで説明する2011年9月を対象とした勤務パターンの割り当てと同様に、2011年8月を対象とした勤務パターンの割り当てが既に行われていれば、ステップS102において、クルーC1に2011年9月1日及び2日の勤務パターンP1を割り当てる処理(勤務情報111の更新)は不要である。つまり、データベース101に記憶された勤務情報111にて、前月から月をまたぐ勤務パターンが既に割り当て済であれば、その情報を利用することができる。   Note that, similarly to the work pattern assignment for September 2011 described here, if the work pattern assignment for August 2011 has already been performed, in step S102, the crew C1 is assigned 2011. The process of assigning the work pattern P1 on September 1st and 2nd of the year (update of work information 111) is unnecessary. That is, in the work information 111 stored in the database 101, if a work pattern that crosses the month from the previous month has already been assigned, that information can be used.

ステップS103において、選択部104は、2011年9月1日を対象日として、ステップS104に進む。   In step S103, the selection unit 104 sets September 1, 2011 as the target day, and proceeds to step S104.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月1日に未割り当ての勤務W1を割り当てた場合の2011年9月1日までのクルーC2,C3の累計勤務時間Uを算出する。このとき、2011年8月30日〜2011年9月2日の勤務パターンP1がクルーC1に割り当てられているため、選択部104は、2011年9月1日に勤務W1を割り当てた場合の2011年9月1日までのクルーC1の累計勤務時間Uは算出しなくてよい。2011年9月1日に勤務W1を割り当てた場合の2011年9月1日までのクルーC2,C3の累計勤務時間Uは、2011年9月1日の勤務W1の飛行時間、即ち、4時間となる。   In step S <b> 104, the selection unit 104 selects the crews C <b> 2 and C <b> 3 until September 1, 2011 when the unassigned work W <b> 1 is assigned on September 1, 2011 from the work information 111 stored in the database 101. Cumulative working time U is calculated. At this time, since the work pattern P1 from August 30, 2011 to September 2, 2011 is assigned to the crew C1, the selection unit 104 selects 2011 when the work W1 is assigned on September 1, 2011. It is not necessary to calculate the cumulative working time U of the crew C1 up to September 1 of the year. When work W1 is assigned on September 1, 2011, the cumulative work time U of crews C2 and C3 until September 1, 2011 is the flight time of work W1 on September 1, 2011, that is, 4 hours It becomes.

ステップS105において、選択部104は、クルーC2,C3のそれぞれについて、ステップS104で算出した2011年9月1日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月1日までの目標勤務時間Tとを比較する。2011年9月1日に勤務W1を割り当てた場合の2011年9月1日までのクルーC2,C3の累計勤務時間Uは4時間であり、2011年9月1日までのクルーC2,C3の目標勤務時間Tである4時間と同じである。   In step S105, the selection unit 104 determines, for each of the crews C2 and C3, the cumulative working time U calculated in step S104 until September 1, 2011 and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When work W1 is assigned on September 1, 2011, the total working time U of crew C2 and C3 until September 1, 2011 is 4 hours, and crew C2 and C3 until September 1, 2011 This is the same as the target working time T of 4 hours.

ステップS106において、出力部105は、2011年9月1日までの累計勤務時間Uが2011年9月1日までの目標勤務時間Tを超えていないクルーC2,C3を画面上で一覧表示する。入力部102は、例えばクルーC2を指定する操作をユーザから受け付ける。選択部104は、その操作によって指定されたクルーC2を、2011年9月1日に勤務W1を割り当てるクルーとして選択する。選択部104は、図18の(2)に示すように、選択したクルーC2について、2011年9月1日に割り当てた勤務W1をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。なお、このステップS106では、例えば、選択部104が、クルーC2,C3のいずれかをランダムに選択してもよい。   In step S <b> 106, the output unit 105 displays a list of crews C <b> 2 and C <b> 3 whose cumulative working time U until September 1, 2011 does not exceed the target working time T until September 1, 2011 on the screen. For example, the input unit 102 receives an operation of designating the crew C2 from the user. The selection unit 104 selects the crew C2 designated by the operation as a crew to which work W1 is assigned on September 1, 2011. The selection unit 104 adds the work W1 assigned on September 1, 2011 for the selected crew C2 to the work information 111 stored in the database 101, as shown in (2) of FIG. Then, the process returns to step S103. In step S106, for example, the selection unit 104 may randomly select one of the crews C2 and C3.

ステップS103において、選択部104は、2011年9月1日の勤務W1が割り当て済であるため、2011年9月2日を対象日として、ステップS104に進む。   In step S103, since the work W1 on September 1, 2011 has been allocated, the selection unit 104 sets the target date as September 2, 2011, and proceeds to step S104.

ステップS104において、選択部104は、データベース101に記憶された勤務情報111から、2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC2,C3の累計勤務時間Uを算出する。このとき、2011年8月30日〜2011年9月2日の勤務パターンP1がクルーC1に割り当てられているため、選択部104は、2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC1の累計勤務時間Uは算出しなくてよい。2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC2の累計勤務時間Uは、4+16=20時間となる。2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC3の累計勤務時間Uは、16時間となる。   In step S <b> 104, the selection unit 104 determines the crews C <b> 2 and C <b> 3 until September 4, 2011 when the work pattern P <b> 2 is assigned from September 2 to 4, 2011 from the work information 111 stored in the database 101. The accumulated working hours U are calculated. At this time, since the work pattern P1 from August 30, 2011 to September 2, 2011 is assigned to the crew C1, the selection unit 104 assigns the work pattern P2 from September 2 to 4, 2011. In this case, it is not necessary to calculate the cumulative working time U of the crew C1 until September 4, 2011. When work pattern P2 is assigned to September 2-4, 2011, the cumulative work time U of crew C2 until September 4, 2011 is 4 + 16 = 20 hours. When the work pattern P2 is assigned on September 2-4, 2011, the cumulative work time U of the crew C3 until September 4, 2011 is 16 hours.

ステップS105において、選択部104は、クルーC2,C3のそれぞれについて、ステップS104で算出した2011年9月4日までの累計勤務時間UとステップS102で設定部103により設定された2011年9月4日までの目標勤務時間Tとを比較する。2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC2の累計勤務時間Uは20時間であり、2011年9月4日までのクルーC2の目標勤務時間Tである16時間より長い。2011年9月2日〜4日に勤務パターンP2を割り当てた場合の2011年9月4日までのクルーC3の累計勤務時間Uは16時間であり、2011年9月4日までのクルーC3の目標勤務時間Tである16時間と同じである。   In step S105, the selection unit 104 determines, for each of the crews C2 and C3, the cumulative working time U calculated in step S104 until September 4, 2011, and the September 2011 set by the setting unit 103 in step S102. The target working time T until the day is compared. When working pattern P2 is assigned on September 2-4, 2011, the total working time U of crew C2 up to September 4, 2011 is 20 hours, and crew C2 up to September 4, 2011 The target working time T is longer than 16 hours. When working pattern P2 is assigned on September 2-4, 2011, the total working time U of crew C3 up to September 4, 2011 is 16 hours, and crew C3 up to September 4, 2011 This is the same as the target working time T of 16 hours.

ステップS106において、選択部104は、2011年9月4日までの累計勤務時間Uが2011年9月4日までの目標勤務時間Tを超えていないクルーC3を選択する。選択部104は、図18の(3)に示すように、選択したクルーC3について、2011年9月2日〜4日に割り当てた勤務パターンP2をデータベース101に記憶された勤務情報111に追加する。そして、ステップS103に戻る。   In step S <b> 106, the selection unit 104 selects the crew C <b> 3 whose cumulative working time U up to September 4, 2011 does not exceed the target working time T up to September 4, 2011. As illustrated in (3) of FIG. 18, the selection unit 104 adds the work pattern P2 assigned to the selected crew C3 from September 2 to 4, 2011 to the work information 111 stored in the database 101. . Then, the process returns to step S103.

これ以降、同様に、ステップS103〜S106が繰り返し実行され、図15〜図17に示すように、2011年9月3日〜30日の勤務W1〜W3及び勤務パターンP1,P2がクルーC1〜C3に割り当てられる。そして、その結果がデータベース101に記憶された勤務情報111に反映される。   Thereafter, similarly, steps S103 to S106 are repeatedly executed, and as shown in FIGS. 15 to 17, work W1 to W3 and work patterns P1 and P2 of September 3 to 30, 2011 are crew C1 to C3. Assigned to. The result is reflected in the work information 111 stored in the database 101.

図19は、この例におけるクルーC1の乗務スケジュールを示す図である。図20は、この例におけるクルーC2の乗務スケジュールを示す図である。図21は、この例におけるクルーC3の乗務スケジュールを示す図である。   FIG. 19 is a diagram showing a crew schedule of crew C1 in this example. FIG. 20 is a diagram showing the crew schedule of crew C2 in this example. FIG. 21 is a diagram showing a crew schedule of crew C3 in this example.

ステップS107において、出力部105は、図19〜図21に示すように、データベース101に記憶された勤務情報111を参照して、2011年9月のクルーC1〜C3の乗務スケジュールをカレンダー形式で出力する。   In step S107, as shown in FIGS. 19 to 21, the output unit 105 refers to the work information 111 stored in the database 101 and outputs the crew schedules of the crews C1 to C3 in September 2011 in a calendar format. To do.

なお、この例と同一の条件下において、図19〜図21に示した乗務スケジュールと異なる勤務の割り当て方も可能である。即ち、図19〜図21に示したものとは別の乗務スケジュールを作成することもできる。   Note that, under the same conditions as in this example, it is possible to assign work different from the crew schedule shown in FIGS. That is, a crew schedule different from that shown in FIGS. 19 to 21 can be created.

本実施の形態によれば、勤務パターンの割り当ても可能となるため、利便性が向上する。   According to the present embodiment, work patterns can be assigned, and convenience is improved.

実施の形態4.
実施の形態1〜3では、勤務時間を評価指標として対象日に勤務を割り当てるクルーを選択しているが、勤務時間以外の評価指標を用いても構わない。
Embodiment 4 FIG.
In the first to third embodiments, a crew that assigns work on a target day is selected using working hours as an evaluation index, but an evaluation index other than working hours may be used.

例えば、飛行距離を評価指標として用いることができる。   For example, the flight distance can be used as an evaluation index.

この場合、設定部103は、複数の日のそれぞれを対象日とし、複数のクルーのそれぞれについて、複数の日の初日から対象日までの飛行距離を累計した累計値の目標値を設定する。選択部104は、複数の日の初日から末日までを順番に対象日とする。対象日の勤務が未割り当てであれば、選択部104は、複数のクルーのそれぞれについて、データベース101に記憶された勤務情報111から、対象日に勤務を割り当てた場合の対象日までの飛行距離の累計値を算出する。選択部104は、算出した対象日までの飛行距離の累計値と設定部103により設定された対象日までの目標値とを比較する。選択部104は、その比較結果に基づいて、複数のクルーから、対象日に勤務を割り当てるクルーを選択する。具体的には、選択部104は、算出した対象日までの飛行距離の累計値が設定部103により設定された対象日までの目標値を超えないクルーを選択する。そして、選択部104は、選択したクルーについて、対象日に割り当てた勤務をデータベース101に記憶された勤務情報111に追加する。これにより、実施の形態1と同様に、各クルーに勤務させるペース(設定部103で任意に決めたもの)に合わせた勤務の割り当てを容易かつ効率よく行うことが可能となる。   In this case, the setting unit 103 sets each of the plurality of days as the target day, and sets a target value of a cumulative value obtained by accumulating the flight distances from the first day of the plurality of days to the target day for each of the plurality of crews. The selection unit 104 sequentially sets the target days from the first day to the last day of a plurality of days. If the work on the target day is unassigned, the selection unit 104 determines the flight distance from the work information 111 stored in the database 101 to the target day when the work is assigned on the target day for each of the plurality of crews. Calculate the cumulative value. The selection unit 104 compares the calculated cumulative value of the flight distance up to the target date with the target value up to the target date set by the setting unit 103. Based on the comparison result, the selection unit 104 selects a crew to be assigned work on the target day from a plurality of crews. Specifically, the selection unit 104 selects a crew whose calculated flight distance up to the target date does not exceed the target value set by the setting unit 103 until the target date. Then, the selection unit 104 adds the work assigned to the target day to the work information 111 stored in the database 101 for the selected crew. Thus, as in the first embodiment, it is possible to easily and efficiently assign work according to the pace at which each crew works (determined arbitrarily by the setting unit 103).

また、例えば、休日数を評価指標として用いることができる。   For example, the number of holidays can be used as an evaluation index.

この場合、設定部103は、複数の日のそれぞれを対象日とし、複数のクルーのそれぞれについて、複数の日の初日から対象日までの休日数を累計した累計値の目標値を設定する。選択部104は、複数の日の初日から末日までを順番に対象日とする。対象日の勤務が未割り当てであれば、選択部104は、複数のクルーのそれぞれについて、データベース101に記憶された勤務情報111から、対象日に勤務を割り当てた場合の対象日までの休日数の累計値を算出する。選択部104は、算出した対象日までの休日数の累計値と設定部103により設定された対象日までの目標値とを比較する。選択部104は、その比較結果に基づいて、複数のクルーから、対象日に勤務を割り当てるクルーを選択する。具体的には、選択部104は、算出した対象日までの休日数の累計値が設定部103により設定された対象日までの目標値を下回らないクルーを選択する。そして、選択部104は、選択したクルーについて、対象日に割り当てた勤務をデータベース101に記憶された勤務情報111に追加する。これにより、実施の形態1と同様に、各クルーに勤務させるペース(設定部103で任意に決めたもの)に合わせた勤務の割り当てを容易かつ効率よく行うことが可能となる。   In this case, the setting unit 103 sets each of a plurality of days as a target day, and sets a target value of a cumulative value obtained by accumulating the number of holidays from the first day to the target day of each of the plurality of crews. The selection unit 104 sequentially sets the target days from the first day to the last day of a plurality of days. If the work on the target day is unassigned, the selection unit 104 calculates the number of holidays from the work information 111 stored in the database 101 to the target day when work is assigned on the target day for each of the plurality of crews. Calculate the cumulative value. The selection unit 104 compares the calculated cumulative number of holidays up to the target date with the target value up to the target date set by the setting unit 103. Based on the comparison result, the selection unit 104 selects a crew to be assigned work on the target day from a plurality of crews. Specifically, the selection unit 104 selects a crew whose calculated cumulative number of holidays until the target date does not fall below the target value until the target date set by the setting unit 103. Then, the selection unit 104 adds the work assigned to the target day to the work information 111 stored in the database 101 for the selected crew. Thus, as in the first embodiment, it is possible to easily and efficiently assign work according to the pace at which each crew works (determined arbitrarily by the setting unit 103).

以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、2つ以上を組み合わせて実施しても構わない。あるいは、これらの実施の形態のうち、1つを部分的に実施しても構わない。あるいは、これらの実施の形態のうち、2つ以上を部分的に組み合わせて実施しても構わない。なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。   As mentioned above, although embodiment of this invention was described, you may implement in combination of 2 or more among these embodiment. Alternatively, one of these embodiments may be partially implemented. Alternatively, two or more of these embodiments may be partially combined. In addition, this invention is not limited to these embodiment, A various change is possible as needed.

100 勤務計画作成装置、101 データベース、102 入力部、103 設定部、104 選択部、105 出力部、111 勤務情報、112 属性情報、191 処理装置、192 記憶装置、193 入力装置、194 出力装置、901 LCD、902 キーボード、903 マウス、904 FDD、905 CDD、906 プリンタ、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 HDD、921 オペレーティングシステム、922 ウィンドウシステム、923 プログラム群、924 ファイル群。   100 work plan creation device, 101 database, 102 input unit, 103 setting unit, 104 selection unit, 105 output unit, 111 work information, 112 attribute information, 191 processing device, 192 storage device, 193 input device, 194 output device, 901 LCD, 902 keyboard, 903 mouse, 904 FDD, 905 CDD, 906 printer, 911 CPU, 912 bus, 913 ROM, 914 RAM, 915 communication board, 920 HDD, 921 operating system, 922 window system, 923 program group, 924 file group.

Claims (8)

複数の日を対象として勤務時間が予め定められた勤務を複数の勤務者に割り当てる勤務計画作成装置であって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースと、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの勤務時間を累計した累計勤務時間の目標値を目標勤務時間として処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間を処理装置により算出し、算出した対象日までの累計勤務時間と前記設定部により設定された対象日までの目標勤務時間とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部と
を備えることを特徴とする勤務計画作成装置。
A work plan creation device that assigns a plurality of workers with predetermined work hours for a plurality of days,
For each of the plurality of workers, a database that stores work information indicating assigned work by a storage device;
Each of the plurality of days is a target day, and for each of the plurality of workers, the processing device uses the target value of the accumulated working hours obtained by accumulating the working hours from the first day to the target day of the plurality of days as a target working time. A setting section to be set;
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The total working time up to the target date when the system is assigned is calculated by the processing device, and the calculated total working time up to the target date is compared with the target working time up to the target date set by the setting unit by the processing device. Based on the comparison result, a worker who assigns work to the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned to the target day is stored in the database. A work plan creation device comprising a selection unit added to information.
前記設定部は、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの日数を変数とする関数を用いて対象日までの目標勤務時間を設定することを特徴とする請求項1の勤務計画作成装置。   The setting unit, for each of the plurality of workers, sets a target working time until the target date using a function having the number of days from the first day of the plurality of days to the target day as a variable. Item 1. Work plan creation device. 前記設定部は、前記関数として一次関数を用いることを特徴とする請求項2の勤務計画作成装置。   The work setting creation apparatus according to claim 2, wherein the setting unit uses a linear function as the function. 前記データベースは、前記複数の勤務者のそれぞれについて、所定の属性を示す属性情報を記憶装置により記憶し、
前記設定部は、前記データベースに記憶された属性情報によって示される属性が共通する勤務者ごとに、前記関数として共通の関数を用いることを特徴とする請求項2又は3の勤務計画作成装置。
The database stores attribute information indicating a predetermined attribute for each of the plurality of workers by a storage device,
The work setting creation apparatus according to claim 2 or 3, wherein the setting unit uses a common function as the function for each worker who has a common attribute indicated by the attribute information stored in the database.
前記複数の日のうち連続する2日以上の期間の勤務の組み合わせが勤務パターンとして予め定められ、
前記選択部は、対象日から始まる期間の勤務パターンが未割り当てであれば、その期間を対象期間とし、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日までの累計勤務時間の代わりに、対象期間に勤務パターンを割り当てた場合の対象期間が終わる日までの累計勤務時間を算出し、算出した対象期間が終わる日までの累計勤務時間と前記設定部により設定された対象期間が終わる日までの目標勤務時間とを比較し、その比較結果に基づいて、前記複数の勤務者から、対象期間に勤務パターンを割り当てる勤務者を選択し、選択した勤務者について、対象期間に割り当てた勤務パターンを前記データベースに記憶された勤務情報に追加することを特徴とする請求項1から4のいずれかの勤務計画作成装置。
A combination of work for two or more consecutive days among the plurality of days is predetermined as a work pattern,
If the work pattern of the period starting from the target date is unassigned, the selection unit sets the period as the target period, and for each of the plurality of workers, from the work information stored in the database to the target date Instead of the cumulative working hours, the cumulative working hours until the end of the target period when the work pattern is assigned to the target period is calculated, and the total working hours until the end of the calculated target period are set by the setting unit. Compared to the target working hours until the end of the target period, based on the comparison result, select the worker who assigns the work pattern to the target period from the plurality of workers, and for the selected worker, 5. A work plan according to claim 1, wherein a work pattern assigned to a period is added to work information stored in the database. Apparatus.
前記選択部は、前記複数の勤務者から、対象日に勤務を割り当てる勤務者として、算出した対象日までの累計勤務時間が前記設定部により設定された対象日までの目標勤務時間を超えない勤務者を選択することを特徴とする請求項1から5のいずれかの勤務計画作成装置。   The selection unit, as a worker who assigns work from the plurality of workers to the target day, works that does not exceed the target working time until the target date set by the setting unit as calculated by the setting unit. The work plan creation device according to claim 1, wherein a person is selected. 複数の日を対象として勤務時間が予め定められた勤務を複数の勤務者に割り当てるプログラムであって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースを備えるコンピュータを、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの勤務時間を累計した累計勤務時間の目標値を目標勤務時間として処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計勤務時間を処理装置により算出し、算出した対象日までの累計勤務時間と前記設定部により設定された対象日までの目標勤務時間とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部
として機能させるためのプログラム。
A program for assigning work to a plurality of workers with a predetermined working time for multiple days,
For each of the plurality of workers, a computer comprising a database for storing work information indicating assigned work by a storage device,
Each of the plurality of days is a target day, and for each of the plurality of workers, the processing device uses the target value of the accumulated working hours obtained by accumulating the working hours from the first day to the target day of the plurality of days as a target working time. A setting section to be set;
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The total working time up to the target date when the system is assigned is calculated by the processing device, and the calculated total working time up to the target date is compared with the target working time up to the target date set by the setting unit by the processing device. Based on the comparison result, a worker who assigns work to the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned to the target day is stored in the database. A program for functioning as a selection unit to be added to information.
複数の日を対象として勤務を複数の勤務者に割り当てる勤務計画作成装置であって、
前記複数の勤務者のそれぞれについて、割り当て済の勤務を示す勤務情報を記憶装置により記憶するデータベースと、
前記複数の日のそれぞれを対象日とし、前記複数の勤務者のそれぞれについて、前記複数の日の初日から対象日までの所定の評価指標を累計した累計値の目標値を処理装置により設定する設定部と、
前記複数の日の初日から末日までを順番に対象日とし、対象日の勤務が未割り当てであれば、前記複数の勤務者のそれぞれについて、前記データベースに記憶された勤務情報から、対象日に勤務を割り当てた場合の対象日までの累計値を処理装置により算出し、算出した対象日までの累計値と前記設定部により設定された対象日までの目標値とを処理装置により比較し、その比較結果に基づいて、前記複数の勤務者から、対象日に勤務を割り当てる勤務者を処理装置により選択し、選択した勤務者について、対象日に割り当てた勤務を前記データベースに記憶された勤務情報に追加する選択部と
を備えることを特徴とする勤務計画作成装置。
A work plan creation device that assigns work to multiple workers for multiple days,
For each of the plurality of workers, a database that stores work information indicating assigned work by a storage device;
Setting each of the plurality of days as a target day, and setting a target value of a cumulative value obtained by accumulating a predetermined evaluation index from the first day to the target day for each of the plurality of workers by a processing device And
From the first day to the last day of the plurality of days as the target day, and if the work on the target day is unassigned, work for the target day from the work information stored in the database for each of the plurality of workers The cumulative value up to the target date is assigned by the processing device, and the calculated cumulative value up to the target date is compared with the target value set by the setting unit up to the target date by the processing device. Based on the result, the worker who assigns work on the target day is selected from the plurality of workers by the processing device, and for the selected worker, the work assigned on the target day is added to the work information stored in the database. A work plan creation device comprising: a selection unit for performing the operation.
JP2012279837A 2012-12-21 2012-12-21 Work schedule creation device and program Withdrawn JP2013084297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012279837A JP2013084297A (en) 2012-12-21 2012-12-21 Work schedule creation device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012279837A JP2013084297A (en) 2012-12-21 2012-12-21 Work schedule creation device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011209624A Division JP5167398B1 (en) 2011-09-26 2011-09-26 Work plan creation device and program

Publications (1)

Publication Number Publication Date
JP2013084297A true JP2013084297A (en) 2013-05-09

Family

ID=48529352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012279837A Withdrawn JP2013084297A (en) 2012-12-21 2012-12-21 Work schedule creation device and program

Country Status (1)

Country Link
JP (1) JP2013084297A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225550A (en) * 2014-05-28 2015-12-14 株式会社ナンバーツー Attendance shift system and shift assignment server
JP2017213964A (en) * 2016-05-31 2017-12-07 東日本旅客鉄道株式会社 Vehicle operation work assisting device and vehicle operation work assisting system
JP2020102042A (en) * 2018-12-21 2020-07-02 エヌ・ティ・ティ・コミュニケーションズ株式会社 Management device, management method, and management program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015225550A (en) * 2014-05-28 2015-12-14 株式会社ナンバーツー Attendance shift system and shift assignment server
JP2017213964A (en) * 2016-05-31 2017-12-07 東日本旅客鉄道株式会社 Vehicle operation work assisting device and vehicle operation work assisting system
JP2020102042A (en) * 2018-12-21 2020-07-02 エヌ・ティ・ティ・コミュニケーションズ株式会社 Management device, management method, and management program
JP7199218B2 (en) 2018-12-21 2023-01-05 エヌ・ティ・ティ・コミュニケーションズ株式会社 Management device, management method and management program

Similar Documents

Publication Publication Date Title
US20090234699A1 (en) User Interface For Scheduling Resource Assignments
CN104732325B (en) Computer method and apparatus for automatic scheduling
EP0797164A1 (en) Appointment booking and scheduling system
US11017358B2 (en) Schedule defragmentation
US20150170078A1 (en) System and method of allocating large numbers of tasks
JP5618857B2 (en) Resource management plan creation device and resource management plan creation method
US20160189072A1 (en) Operation-plan scheduling device and its method
JP2010140305A (en) Scheduling system, scheduling method and scheduling program
Xie et al. Integrated driver rostering problem in public bus transit
JP2013084297A (en) Work schedule creation device and program
US20150127399A1 (en) System and method of automatically allocating tasks
JP5167398B1 (en) Work plan creation device and program
JP2014040161A (en) Device and method for operation arrangement task support
US20150112742A1 (en) System and method of automatically allocating tasks
US20120044529A1 (en) Processing order determining apparatus, processing order determining method, and non-transitory computer-readable recording medium encoded with processing order determining program
JP2004224290A (en) Crew scheduling and arrangement plan preparation support device for recovering train schedule and crew scheduling and arrangement plan preparation support program for recovering train schedule
US8489228B2 (en) Path planning in a warehouse
JP2006228000A (en) Apparatus, program and method for allocating crew
US20230237394A1 (en) Intelligent management method and system for organizational structure, and medium
US20100287022A1 (en) Scheduling and managing resources based on act up rank
JP7177759B2 (en) Worker assignment system and worker assignment device
JP7082531B2 (en) Transportation business management equipment and transportation business management method
JP5041942B2 (en) Operation allocation apparatus, operation allocation method, and program
JP2004013487A (en) Working performance table formation supporting system
JP2008310710A (en) Information processor, workflow control method, program, and recording medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20130110

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141202