JP2747130B2 - Schedule automatic creation processing method - Google Patents

Schedule automatic creation processing method

Info

Publication number
JP2747130B2
JP2747130B2 JP16943591A JP16943591A JP2747130B2 JP 2747130 B2 JP2747130 B2 JP 2747130B2 JP 16943591 A JP16943591 A JP 16943591A JP 16943591 A JP16943591 A JP 16943591A JP 2747130 B2 JP2747130 B2 JP 2747130B2
Authority
JP
Japan
Prior art keywords
schedule
frame
frames
resource
order
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.)
Expired - Fee Related
Application number
JP16943591A
Other languages
Japanese (ja)
Other versions
JPH04367973A (en
Inventor
亮 中重
隆 小野山
一弘 岡本
麻里子 近藤
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP16943591A priority Critical patent/JP2747130B2/en
Publication of JPH04367973A publication Critical patent/JPH04367973A/en
Application granted granted Critical
Publication of JP2747130B2 publication Critical patent/JP2747130B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は電子計算機によるスケジ
ュール自動作成処理方法に係り、特に、一定の制約条件
の下での複数のジョブと複数のリソースとの間の割当て
を効率的に行うスケジュール作成高速化方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a schedule for an electronic computer.
More particularly, the present invention relates to a schedule creation speeding-up method for efficiently allocating a plurality of jobs and a plurality of resources under certain constraints.

【0002】[0002]

【従来の技術】複数のジョブと複数のリソースとの間の
割当てを一定の制約条件の下で行うことは、例えば、人
間の交代制勤務スケジュール作成、工場の生産工程のス
ケジュール作成、AV機器などの録画、録音のスケジュ
ール作成等、多種多様な分野で日常的に行われている作
業である。
2. Description of the Related Art Assigning a plurality of jobs and a plurality of resources under a certain constraint condition includes, for example, creating a shift work schedule for humans, a schedule for a production process in a factory, and AV equipment. This is a task that is routinely performed in a wide variety of fields, such as recording a video and creating a recording schedule.

【0003】従来、このような割当て作業は専ら人手に
より、専門家のノウハウを用いて行われていたが、近年
コンピュータ技術の発達により、機械による自動化が盛
んに進められている。この自動化の手法としては、数理
計画法によるアプローチと知識工学的アプローチがあ
る。前者は、制約条件が等式や不等式で記述できる場合
など制約条件の形式が整った場合にのみ有効である。し
かしながら、現実の問題では、より複雑な形式で制約条
件が記述される場合が多い。従って、後者のアプローチ
をベースにしヒューリスティックを加えた手法の方がよ
り適用範囲の広いものである。これに関連のある公知例
としては、例えば特開昭63−163669号公報に、
最も制約条件の厳しいジョブから割当てを行う手法が記
載されている。
Heretofore, such assignment work has been carried out exclusively by hand using expert know-how, but in recent years, with the development of computer technology, automation by machines has been actively promoted. As this automation method, there are a mathematical programming approach and a knowledge engineering approach. The former is effective only when the format of the constraint condition is established, such as when the constraint condition can be described by an equation or an inequality. However, in an actual problem, the constraints are often described in a more complicated format. Therefore, the heuristic approach based on the latter approach is more applicable. As a known example related to this, for example, JP-A-63-163669,
It describes a method of assigning jobs starting from the job with the most restrictive conditions.

【0004】[0004]

【発明が解決しようとする課題】スケジュール作成問題
に対する知識工学的アプローチとしては、従来、以下の
処理手順が採用されている。
As a knowledge engineering approach to the schedule creation problem, the following processing procedure has conventionally been adopted.

【0005】(1)複数のジョブをスケジュール単位と
なるコマとして表現し、順序づけして格納する。 (2)先頭のコマを取り出す。 (3)複数のリソースから一つのリソースを取り出す。 (4)取り出したリソースが割当ての制約条件を満たし
ているかどうかをチエックする。 (A)適合すれば、そのコマに対する割当てを決定す
る。 (B)適合しなければ、次のリソースを取り出して制約
条件のチエックを行う。 (C)取り出すリソースがなくなった場合は、先に処理
したコマの処理を取り消し、(3)の処理から再開す
る。即ち、バックトラック処理を行う。 (5)(2)に戻り、次のコマの割当て処理を行う。 さらに、割当てられていないコマがなくなるまで、
(2)から(5)までの処理を繰り返す。
[0005] (1) A plurality of jobs are expressed as frames serving as schedule units, stored in an ordered manner. (2) Take out the top frame. (3) One resource is extracted from a plurality of resources. (4) Check whether the taken out resource satisfies the allocation constraint. (A) If they match, the assignment for the frame is determined. (B) If not, the next resource is taken out and the constraint condition is checked. (C) When there are no more resources to be taken out, the processing of the previously processed frame is canceled and the processing is restarted from the processing of (3). That is, backtrack processing is performed. (5) Returning to (2), the next frame is allocated. In addition, until there are no unassigned pieces
The processes from (2) to (5) are repeated.

【0006】以上の手順でスケジュールを作成する場
合、作成にかかる時間は割当てのやり直しを行うバック
トラック処理の回数に大きく依存する。先の特開昭63
−163669号公報に記載の手法は、各ジョブに対す
る割当て可能なリソースの数を、厳しさの度合を表わす
指標として採用し、その値が小さいジョブから割当てて
ゆくというものである。しかしながら、この手法をスケ
ジュール作成に適用する場合、複数の制約条件間の関係
を考慮していないため、必ずしもリソース割当てのやり
直し回数が少なくなるとは限らないという問題点があ
る。
When a schedule is created by the above procedure, the time required for creation largely depends on the number of backtracking processes for re-assigning. Previous JP 63
The method described in JP-163669A employs the number of resources that can be allocated to each job as an index indicating the degree of severity, and allocates the jobs starting from the job with the smaller value. However, when this method is applied to schedule creation, there is a problem in that the number of redoing of resource allocation is not always reduced because the relationship between a plurality of constraint conditions is not considered.

【0007】本発明の目的は、電子計算機によるスケジ
ュール自動作成処理において、バックトラック処理の回
数を少なくすることにより、スケジュール作成の高速化
を実現することにある。
An object of the present invention is to provide a schedule by an electronic computer.
An object of the present invention is to speed up schedule creation by reducing the number of backtracking processes in the automatic schedule creation process.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、電子計算機により、複数のジョブと複数
のリソースとの間の割当てを制約条件に従って行いスケ
ジュールを自動作成する場合、ジョブをスケジュール単
位となるコマへ展開し、コマ同士の制約条件の束縛関係
から各コマのリソース割当て順序を決定し、該決定した
順序に従って、各コマへリソースを制約条件の下で割当
てていくようにしたものである。ここで、コマ同士の制
約の束縛関係とは、複数のコマの上に課さられた幾つか
の制約条件が、リソールを割当てる際にお互いに束縛す
る関係にあることを意味している。
To achieve the above object of the Invention The present invention is, by an electronic computer, to automatically create a schedule performed according to the allocation constraints between the plurality of jobs and a plurality of resources, the job Into a frame which is a schedule unit, the resource allocation order of each frame is determined from the constraint relationship of the constraints between the frames, and the resources are allocated to each frame under the constraints according to the determined order. It was done. Here, the frame
A binding relationship is one that is imposed on multiple pieces
Constraints bind each other when assigning resources
Relationship.

【0009】[0009]

【作用】バックトラック処理の回数を少なくするため
に、あらかじめスケジュール単位となるコマへリソース
を割当てる際の効率のよい順序付けを、次のようにして
コマ同士の制約条件の束縛関係から探し出す。 (1)スケジュールに課せられた制約条件をグラフで表
現する。ここではコマをノードとし、二つのコマの間に
制約条件が課せられている場合、ノード間のリンクを張
る。 (2)各リンクに対して、制約条件の重要度を表わす重
みづけをする。 (3)各ノードに番号を与え順序づけをする。 (4)各ノードに対して、隣合うノードとの距離の最大
値を求める。この距離はリンク上の重みとノード番号の
差などを利用して定義する。 (5)(4)で求めた距離のすべてのノードに関する最
大値を求める。 (6)(5)で求めた最大値が(3)で与えた順序づけ
の特徴量となる。 この特徴量を最小にするような順序づけを探し、最終的
なコマ割当て順序とする。
In order to reduce the number of backtracking processes, efficient ordering in allocating resources to frames serving as schedule units in advance is searched for from the binding relationship of the constraints between the frames as follows. (1) Express the constraints imposed on the schedule in a graph. Here, a frame is a node, and when a constraint condition is imposed between two frames, a link between the nodes is established. (2) Weight each link indicating the importance of the constraint condition. (3) Assign a number to each node and perform ordering. (4) For each node, find the maximum value of the distance between adjacent nodes. This distance is defined using the difference between the weight on the link and the node number. (5) The maximum value of all the nodes of the distance obtained in (4) is obtained. (6) The maximum value obtained in (5) becomes the ordered feature amount given in (3). An order that minimizes this feature amount is searched for, and the final frame assignment order is determined.

【0010】上述の処理によって決定したコマへのリソ
ース割当て順序は、制約条件によって互いに束縛しあっ
ている複数のコマを、可能な限り近いタイミングで割当
てるような順序になっている。このため、あるコマに対
して割当てるべきリソースがなくなってしまい、バック
トラック処理を行う場合も、割当てをやり直すために遡
るコマ数が可能な限り少ないものとなっており、スケジ
ュール作成の高速化が可能となる。
[0010] The order of resource allocation to frames determined by the above processing is such that a plurality of frames that are mutually constrained by constraints are allocated at timings as close as possible. For this reason, resources to be allocated to a certain frame are lost, and even when performing backtracking processing, the number of frames going back to redoing allocation is as small as possible, making it possible to speed up schedule creation Becomes

【0011】[0011]

【実施例】以下、図を用いて本発明の一実施例について
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は、電子計算機利用の本発明のスケジ
ュール自動作成処理方法を実現する情報処理システムの
一実施例のブロック図である。本システムは、ジョブ記
憶装置1、リソース記憶装置2、制約条件記憶装置3、
ジョブ選択装置4、リソース選択装置5、割当て決定装
置6及び割当て状況記憶装置7で構成され、ジョブ選択
装置4は、更にスケジュール単位展開部41、割当て順
序決定部42及び割当て順序記憶部43からなる。
FIG. 1 shows a schedule of the present invention using an electronic computer .
1 is a block diagram of an embodiment of an information processing system for realizing a method for automatically creating a table . The system includes a job storage device 1, a resource storage device 2, a constraint condition storage device 3,
The job selection device 4 includes a job selection device 4, a resource selection device 5, an assignment determination device 6, and an assignment status storage device 7. The job selection device 4 further includes a schedule unit expansion unit 41, an assignment order determination unit 42, and an assignment order storage unit 43. .

【0013】記憶装置1には、図2のような各ジョブに
対する情報が格納されている。例えば、ジョブ番号1と
しては、ジョブ名A、作業時間は1日の午前、作業人員
3名、必要な資格はBレベル、作業内容はCで場所は
A、などの情報が記憶されている。リソース記憶装置2
には、図3のような各リソースに対する情報が格納され
ている。例えば、リソース番号1としては、リソース名
A、保有している資格BおよびC、可能な作業A、B、
D、時間の条件は特になし、場所の条件はA、E、F、
などの情報が記録されている。制約条件記憶装置3に
は、図4のようなジョブとリソースの関係に対する情報
が格納されている。例えば、制約条件番号1としては、
内容「夜間の勤務は資格B以上の人員が少なくとも1名
必要」などの情報が記録されている。
The storage device 1 stores information on each job as shown in FIG. For example, as job number 1, information such as job name A, work time is the morning of the day, three workers, required qualifications are B level, work content is C and location is A are stored. Resource storage device 2
Stores information on each resource as shown in FIG. For example, as the resource number 1, the resource name A, the qualifications B and C held, the possible work A, B,
D, no time conditions, no place conditions, A, E, F,
And other information are recorded. The constraint condition storage device 3 stores information on the relationship between jobs and resources as shown in FIG. For example, as the constraint condition number 1,
Information such as "content for night work requires at least one person with qualification B or higher" is recorded.

【0014】ジョブ選択装置4では、まず、スケジュー
ル単位展開部41が、ジョブ記憶装置1からジョブを読
出し、各ジョブを展開してコマの形式に変換する。例え
ば、コマAはジョブ1の1日午前勤務を行う1回目の人
員、コマBは同様に2回目の人員、コマCはジョブ2の
1日午後勤務を行う1回目の人員、などと展開する。コ
マは各リソースを割つけてゆくときの単位である。次
に、割当て順序決定部42は、各コマへのリソースの割
当ての順序を決定するが、その際、最も効率良くスケジ
ュールが作成できるような割当ての順序を計算し、割当
て順序記憶部43に格納する。この割当て順序決定部4
2の導入が、本発明の特徴とするところである。
In the job selecting device 4, first, the schedule unit developing unit 41 reads out a job from the job storage device 1, develops each job and converts it into a frame format. For example, frame A expands to the first staff member who works the morning of job 1 on the first day, frame B the second staff member similarly, frame C expands to the first staff member who performs the afternoon job of job 2 on the first day, and so on. . A frame is a unit for allocating each resource. Next, the allocation order determining unit 42 determines the order of resource allocation to each frame. At this time, the allocation order determining unit 42 calculates an allocation order that allows the schedule to be created most efficiently, and stores it in the allocation order storage unit 43. I do. This assignment order determination unit 4
2 is the feature of the present invention.

【0015】リソース選択装置5は、リソース記憶装置
2からリソースを読出し、一つずつ選択していく。割当
て決定装置6は、ジョブ選択装置4およびリソース選択
装置5によって選択されたジョブ(コマ単位)とリソー
スが、制約条件記憶装置3に格納されている制約条件に
違反しないかどうかを調べる。そして、制約条件をすべ
て満たす場合は割当てを決定し、割当て状況記憶装置7
に格納する。制約条件を一つでも満たさない場合は別の
割当てを検討し、制約条件をすべて満たす割当てを探
す。
The resource selection device 5 reads resources from the resource storage device 2 and selects them one by one. The assignment determination device 6 checks whether the job (frame unit) and the resource selected by the job selection device 4 and the resource selection device 5 do not violate the constraint conditions stored in the constraint condition storage device 3. If all the constraints are satisfied, the assignment is determined, and the assignment status storage device 7
To be stored. If even one constraint is not satisfied, another assignment is examined and an assignment that satisfies all the constraints is searched.

【0016】図5は、ジョブ選択装置4における処理手
順を示したフローチャートである。まず、スケジュール
単位展開部41においてジョブ記憶装置1から読出した
ジョブをスケジュール単位となるコマへ展開し、制約条
件記憶装置3の制約条件を参照して、複数のコマの関係
として課せられた制約条件と合わせてグラフで表現する
(ステップ501,502)。ここで、コマはノード、
制約条件はリンクで表される。さらにリンクで表された
制約条件に重み付けをし、制約条件に強弱を付ける(ス
テップ503)。次に割当て順序決定部42において、
グラフのノードとして表わされた各コマに対して番号を
つけ、一つの割当て順序(リソース割当て順序候補)
決める(ステップ505)。この順序づけに対して、コ
マ同士の束縛関係を反映した特徴量を計算する(ステッ
プ506)。この特徴量の計算法の一例について図6で
詳述する。求まった現在の特徴量を既に得ている前の特
徴量(初期値は、考えられる最大の特徴量とする)と比
較し(ステップ507)、現在の特徴量の方が大きけれ
ば、直ちに次の割当てに移り、現在の特徴量の方が小さ
ければ、現在の順序とその特徴量を保存した後(ステッ
プ508)、次の割当てに移る。このようにして、すべ
てのコマの各順序づけに対して特徴量を計算し、最も小
さい順になったときの順序づけを探し、結果を割当て順
序記憶部43に格納する(ステップ504,509)。
FIG. 5 is a flowchart showing a processing procedure in the job selection device 4. First, the schedule unit expansion unit 41 expands the job read from the job storage device 1 into frames serving as schedule units, and refers to the constraint conditions of the constraint condition storage device 3 to restrict the constraints imposed as a relationship between a plurality of frames. Is represented by a graph together with the data (steps 501 and 502). Where the top is a node,
Constraints are represented by links. Further, the constraint condition represented by the link is weighted, and the constraint condition is given strength (step 503). Next, in the assignment order determining unit 42,
A number is assigned to each frame represented as a node in the graph, and one assignment order (resource assignment order candidate) is determined (step 505). For this ordering, a feature amount reflecting the binding relationship between the frames is calculated (step 506). An example of a method of calculating the feature amount will be described in detail with reference to FIG. The obtained current feature amount is compared with the previous feature amount (the initial value is assumed to be the maximum possible feature amount) (step 507). If the current feature amount is larger, the next feature value is immediately obtained. The process proceeds to the assignment. If the current feature amount is smaller, the current order and the feature amount are stored (step 508), and then the process proceeds to the next assignment. In this way, the feature amount is calculated for each ordering of all the frames, the ordering in the smallest order is searched for, and the result is stored in the assignment order storage unit 43 (steps 504 and 509).

【0017】図6はステップ506の特徴量計算の詳細
フローチャートである。まず、コマを一つ決め、これに
隣接する各コマとの距離を計り、その最大値を求める
(ステップ602,603)。コマ間の距離は、各コマ
に付けられた番号の差、コマとコマとを結ぶリンク上に
付けられた重み付けの値などに基づいて定義する。現在
の計算結果と前の計算結果を比較して大きい方を保存し
ながら(ステップ604,605)、各コマについてこ
れらの距離の最大値を計算し、最も大きいものをこの順
序づけの特徴量として採用する(ステップ601,60
6)。
FIG. 6 is a detailed flowchart of the feature value calculation in step 506. First, one frame is determined, the distance to each frame adjacent thereto is measured, and the maximum value is obtained (steps 602 and 603). The distance between the frames is defined based on the difference between the numbers assigned to the frames, the value of the weight assigned to the link connecting the frames, and the like. By comparing the current calculation result with the previous calculation result and storing the larger one (steps 604 and 605), the maximum value of these distances is calculated for each frame, and the largest value is adopted as the feature quantity of this ordering. (Steps 601, 60
6).

【0018】ジョブ選択装置4の割当て順序決定部42
において、以上の処理手順にしたがって得られた割当て
順序は、通常スケジュール作成においてのやり直しとし
て行われるバックトラック処理の回数を、最も少なくす
るものである。
The assignment order determination unit 42 of the job selection device 4
In the above, the assignment order obtained according to the above-described processing procedure minimizes the number of backtracking processes performed as a re-execution in normal schedule creation.

【0019】例えば図7の(a)と(b)は、6個のコ
マA、B、C、D、E、Fに関する制約条件をグラフで
表現したものである。ここで、制約条件の重み付けはす
べて等しいとしている。図7(a)では、コマ間の距離
を番号の差の絶体値として定義し、出来るだけ小さい特
徴量になるように順序づけを行ったものである。一方、
図7(b)は各コマに対して無作為に順序づけをしたも
のである。数字が割当て順序を示す。
For example, FIGS. 7 (a) and 7 (b) are graphs showing the constraints on six frames A, B, C, D, E and F. Here, it is assumed that the weights of the constraint conditions are all equal. In FIG. 7A, the distance between the frames is defined as the absolute value of the difference between the numbers, and the ordering is performed so that the feature amount becomes as small as possible. on the other hand,
FIG. 7B shows a random order for each frame. The numbers indicate the assignment order.

【0020】図7の(a)と(b)の如く順序づけをし
たコマに対して、割当て決定装置6でのリソース割当て
に伴うバックトラック処理の様子を示したのが、それぞ
れ図8の(a)と(b)である。ここでは、すべてのコ
マに対するリソースはそれぞれ2個ずつであるとしてい
る。数字は割当て順序、「×」は割当てに失敗したこと
を示す。また、太線は実際に割当てが行われたこと、細
線は割当てを行わなくて済んだこと、点線はまだ割当て
を検討していないことを示す。
FIGS. 8A and 8B show the backtracking process accompanying the resource allocation in the allocation determining device 6 for the frames ordered as shown in FIGS. 7A and 7B, respectively. ) And (b). Here, it is assumed that there are two resources for each frame. The numbers indicate the allocation order, and "x" indicates that the allocation has failed. The bold line indicates that the assignment has actually been performed, the thin line indicates that the assignment has not been performed, and the dotted line indicates that the assignment has not yet been considered.

【0021】図8(a)および(b)の例は、コマCと
コマDとの間に制約条件があるため、コマCにあるリソ
ースを割当てたことの影響でコマDに割当てるべきリソ
ースがなくなってしまい、バックトラック処理が起きた
状況を示している。この場合、図8(a)ではコマCへ
の割当てのやり直しが行われるまでに3回のバックトラ
ック処理で済んでいるが、図8(b)では15回も行わ
れており、無駄な割当て処理が多くなっている。
In the example of FIGS. 8A and 8B, since there is a constraint between the frame C and the frame D, the resources to be allocated to the frame D are affected by the allocation of the resources to the frame C. This shows a situation in which the backtracking process has occurred and backtracking has occurred. In this case, in FIG. 8A, three backtracking processes are completed before redistribution to the frame C is performed. However, in FIG. Processing is increasing.

【0022】[0022]

【発明の効果】以上の説明から明らかなように、本発明
によれば、電子計算機により複数のジョブと複数のリソ
ースとの間の割当てを制約条件に従って行う自動スケジ
ューリングにおいて、スケジューリング単位となるコマ
へリソースを割当てる際、複数のコマに対する複数の制
約条件間の関係を考慮し、あるコマに対するリソース割
当てを、制約条件で強く結びつけられている隣り合った
コマと出来るだけ近いタイミングで行われるような順序
づけを計算して、割当てのやり直しが少なくなるような
順序を採用していることにより、バックトラック処理の
回数が大幅に少なくなり、スケジュール作成の高速化が
可能になる。
As it is apparent from the foregoing description, according to the present invention, in the automatic Sukeji <br/> Yuringu performed in accordance with the assignment constraints between the plurality of jobs and a plurality of resources by computer, scheduling When allocating resources to a unit frame, consider the relationship between multiple constraints on multiple frames, and allocate resources to a frame at a timing as close as possible to adjacent frames that are strongly linked by the constraints. By calculating the order to be performed and adopting an order that reduces the number of reassignments, the number of backtracking processes is significantly reduced, and the schedule can be created at a higher speed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のスケジュール作成方法を実現する情報
処理システムの一実施例の構成図である。
FIG. 1 is a configuration diagram of an embodiment of an information processing system for realizing a schedule creation method of the present invention.

【図2】ジョブの具体例を示す図である。FIG. 2 is a diagram illustrating a specific example of a job.

【図3】リソースの具体例を示す図である。FIG. 3 is a diagram illustrating a specific example of a resource.

【図4】制約条件の具体例を示す図である。FIG. 4 is a diagram showing a specific example of a constraint condition.

【図5】ジョブ選択装置における割当て順序決定処理手
順のフローチャートである。
FIG. 5 is a flowchart of an assignment order determination processing procedure in the job selection device.

【図6】割当て順序決定部における特徴量計算手順の詳
細フローチャートである。
FIG. 6 is a detailed flowchart of a feature amount calculation procedure in an assignment order determination unit.

【図7】制約条件のグラフ表現の具体例を示す図で、
(a)は本発明による割当て順序を各ノードに付けたも
のであり、(b)は無作為な順序を各ノードに付けたも
のである。
FIG. 7 is a diagram showing a specific example of a graph expression of a constraint condition.
(A) assigns the assignment order according to the present invention to each node, and (b) assigns a random order to each node.

【図8】リソース割当て時のバックトラック処理発生状
況を示す図で、(a)および(b)はそれぞれ図7
(a)および(b)に示された順序で割当てを行ったと
きのものである。
FIGS. 8A and 8B are diagrams showing a backtrack processing occurrence state at the time of resource allocation, wherein FIGS.
This is when assignment is performed in the order shown in (a) and (b).

【符号の説明】[Explanation of symbols]

1 ジョブ記憶装置 2 リソース記憶装置 3 制約条件記憶装置 4 ジョブ選択装置 41 スケジュール単位展開部 42 割当て順序決定部 43 割当て順序記憶部 5 リソース選択装置 6 割当て決定装置 7 割当て状況記憶装置 REFERENCE SIGNS LIST 1 job storage device 2 resource storage device 3 constraint condition storage device 4 job selection device 41 schedule unit expansion unit 42 allocation order determination unit 43 allocation order storage unit 5 resource selection device 6 allocation determination device 7 allocation status storage device

フロントページの続き (72)発明者 岡本 一弘 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株 式会社内 (72)発明者 近藤 麻里子 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株 式会社内 (56)参考文献 特開 昭63−214874(JP,A) 特開 昭63−163667(JP,A) 特開 平2−29867(JP,A) 特開 平3−113669(JP,A) 特開 平3−228175(JP,A) RICHARD A.SPRAGUE ET AL,「スケジューリングにお けるバックトラッキング」 情報処理学 会全国大会、VOL.35、NO.2 (1987年)、PP.1649−1650 (58)調査した分野(Int.Cl.6,DB名) G06F 17/60 G06F 17/00 JICSTファイル(JOIS)Continued on the front page (72) Inventor Kazuhiro Okamoto 6-81 Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa Prefecture Inside Hitachi Software Engineering Co., Ltd. (72) Inventor Mariko Kondo 6-81-Oue-cho, Naka-ku, Yokohama-shi, Hitachi Software Engineering Co., Ltd. (56) References JP-A-63-214874 (JP, A) JP-A-63-163667 (JP, A) JP-A-2-29867 (JP, A) JP-A-3-113669 (JP, A) JP-A-3-228175 (JP, A) RICHARD A. SPRAGUE ET AL, "Backtracking in Scheduling" Information Processing Society of Japan, VOL. 35, NO. 2 (1987), PP. 1649-1650 (58) Field surveyed (Int. Cl. 6 , DB name) G06F 17/60 G06F 17/00 JICST file (JOIS)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 電子計算機を用いて、複数のジョブと複
数のリソースとの間の割当てを制約条件に従って行いス
ケジュールを自動的に作成する処理方法において、 ジョブをスケジュール単位となるコマに展開するステッ
プと、 コマをノードとし、二つのコマの間に制約条件が課せら
れている場合に当該ノード間にリンクを張って、コマ間
の制約条件の関連を表現したグラフを生成するステップ
と、 各コマに対するリソース割当て順序の全ての組み合わせ
を求め(以下、各々の組合せをリソース割当て順序候補
と称す)、各リソース割当て順序候補について、前記グ
ラフに基づいて各コマ間の距離を計算して、その最大値
を当該リソース割当て順序候補の特徴量とし、該特徴量
が最小のリソース割当て順序候補をリソース割当て順序
と決定するステップと、 前記決定されたリソース割当て順序に従って各コマにリ
ソースを割当てるステップと、 を有することを特徴とするスケジュール自動作成処理方
法。
In a processing method for automatically creating a schedule by allocating a plurality of jobs and a plurality of resources according to constraints using an electronic computer, a step of expanding the jobs into frames serving as schedule units Generating a graph that expresses the relationship between the constraint conditions between the frames by linking between the nodes when constraints are imposed between the two frames, and All combinations of the resource allocation order with respect to are calculated (hereinafter, each combination is referred to as a resource allocation order candidate), and for each resource allocation order candidate, the distance between each frame is calculated based on the graph, and the maximum value is calculated. Is the feature amount of the resource assignment order candidate, and the resource assignment order candidate with the smallest feature amount is determined as the resource assignment order. Step and, schedule automatic creation processing method characterized by comprising the steps of: allocating resources to each frame according to the resource allocation order in which the determined.
JP16943591A 1991-06-14 1991-06-14 Schedule automatic creation processing method Expired - Fee Related JP2747130B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16943591A JP2747130B2 (en) 1991-06-14 1991-06-14 Schedule automatic creation processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16943591A JP2747130B2 (en) 1991-06-14 1991-06-14 Schedule automatic creation processing method

Publications (2)

Publication Number Publication Date
JPH04367973A JPH04367973A (en) 1992-12-21
JP2747130B2 true JP2747130B2 (en) 1998-05-06

Family

ID=15886551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16943591A Expired - Fee Related JP2747130B2 (en) 1991-06-14 1991-06-14 Schedule automatic creation processing method

Country Status (1)

Country Link
JP (1) JP2747130B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63163667A (en) * 1986-12-26 1988-07-07 Toshiba Corp Deciding and supporting system for assignment
JPS63214874A (en) * 1987-03-04 1988-09-07 Toshiba Corp System for assignment decision aid
JPH0229867A (en) * 1988-07-20 1990-01-31 Nec Corp Design execution control system
JPH03113669A (en) * 1989-09-28 1991-05-15 Nippon Telegr & Teleph Corp <Ntt> Process planning device
JPH03228175A (en) * 1990-02-02 1991-10-09 Nippon Telegr & Teleph Corp <Ntt> Schedule generating device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RICHARD A.SPRAGUE ET AL,「スケジューリングにおけるバックトラッキング」 情報処理学会全国大会、VOL.35、NO.2 (1987年)、PP.1649−1650

Also Published As

Publication number Publication date
JPH04367973A (en) 1992-12-21

Similar Documents

Publication Publication Date Title
Fohler Joint scheduling of distributed complex periodic and hard aperiodic tasks in statically scheduled systems
JP2870117B2 (en) Optimal plan creation method
US7783973B2 (en) Change approvals for computing systems
JP2745794B2 (en) Document processing device
JPH07262273A (en) Method for allocation and scheduling of resource
US20140089932A1 (en) Concurrency identification for processing of multistage workflows
van der Aalst et al. Framework for business process redesign
JP6799313B2 (en) Business policy construction support system, business policy construction support method and program
JP2747130B2 (en) Schedule automatic creation processing method
Lin Scheduling efficiency on correlated parallel machine scheduling problems
US8589944B2 (en) Method and system for task mapping to iteratively improve task assignment in a heterogeneous computing system
CN115061811A (en) Resource scheduling method, device, equipment and storage medium
JP4307984B2 (en) Production plan creation method and program
Shieh et al. On-line vehicle routing with time windows: optimization-based heuristics approach for freight demands requested in real-time
JP3727832B2 (en) Production schedule creation device and recording medium recording production schedule creation program in production schedule creation device
US7159012B2 (en) Computational data processing system and computational process implemented by means of such a system
JP3114149B2 (en) Schedule automatic creation processing method
CN112363819A (en) Big data task dynamic scheduling method and device and computing equipment
CN111950869A (en) Iterative solution method and system for improving initial solution of scheduling problem of space measurement and control network
JP2731079B2 (en) Schedule creation device
JP2008226044A (en) Alternate skill scheduling system, scheduling method and program
Hernandez et al. Reliable DAG scheduling on grids with rewinding and migration
JP2705649B2 (en) Work assignment method
CN114912775B (en) Teleoperation planning method and teleoperation planning system for granular management action duration
JP3034580B2 (en) How to create a schedule

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees