JP2746351B2 - Job / resource allocation optimization device - Google Patents

Job / resource allocation optimization device

Info

Publication number
JP2746351B2
JP2746351B2 JP21613991A JP21613991A JP2746351B2 JP 2746351 B2 JP2746351 B2 JP 2746351B2 JP 21613991 A JP21613991 A JP 21613991A JP 21613991 A JP21613991 A JP 21613991A JP 2746351 B2 JP2746351 B2 JP 2746351B2
Authority
JP
Japan
Prior art keywords
job
difficulty
assignment
jobs
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
JP21613991A
Other languages
Japanese (ja)
Other versions
JPH0540766A (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 JP21613991A priority Critical patent/JP2746351B2/en
Publication of JPH0540766A publication Critical patent/JPH0540766A/en
Application granted granted Critical
Publication of JP2746351B2 publication Critical patent/JP2746351B2/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/30Computing systems specially adapted for manufacturing

Landscapes

  • General Factory Administration (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電子計算機による複数
のジョブと複数のリソース間の割当ての最適化処理装置
に係り、例えば人間の交代制勤務のスケジュール作成を
効率的に行う場合に有効なジョブ・リソース割当て最適
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for optimizing the assignment between a plurality of jobs and a plurality of resources by a computer , for example, to efficiently create a schedule of shift work for humans. The present invention relates to an effective job resource allocation optimizing device .

【0002】[0002]

【従来の技術】複数のジョブと複数のリソースとの間の
割当てを一定の制約条件の下で行うことは、例えば、交
代制勤務の割当て、機械保守計画作成、輸送用配車計画
作成、生産計画作成、航空機クール配置など、多種多様
な分野で日常的に行われている作業である。
2. Description of the Related Art Assignment between a plurality of jobs and a plurality of resources under certain constraints includes, for example, assignment of shift work, creation of a machine maintenance plan, creation of a transport dispatch plan, and production plan. This is a routine work in a wide variety of fields, such as creation and aircraft layout.

【0003】従来、このような割当て作成は専ら人手に
より、専門家のノウハウを用いて行われていたが、近年
コンピュータ技術の発達に伴って自動化が進められるよ
うになってきた。このコンピュータで割当てを行う方式
としては、線型計画法など数理計画法によるアプローチ
と知識工学的アプローチがある。前者は、制約条件が等
式や不等式で記述できる場合など制約条件の形式が整っ
た場合にのみ有効である。しかしながら、現実の問題で
は、より複雑な形式で制約条件が記述される場合が多
い。従って、後者のアプローチをベースにしヒューリス
ティックを加えた手法の方がより適用範囲が広い。
Conventionally, such assignment creation has been performed exclusively by hand using expert know-how. However, in recent years, automation has been advanced with the development of computer technology. As a method of performing the assignment by the computer, there are an approach based on a mathematical programming such as a linear programming 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 method based on the latter approach has a wider range of application.

【0004】図4は知識工学的アプローチによる従来の
割当て処理手順を示したものである。 (1)複数のジョブを各ジョブの優先順位にソートして
格納する。(ステップ101) (2)リソースの割当てを未実施のジョブがあるかチエ
ックし、あれば該ジョブを一つ取り出す。(ステップ1
02,103) (3)もし、割当て未実施のジョブが無ければ処理を終
了する。 (4)(2)で取り出したジョブに割当て可能なリソー
スがあるかチエックし、あれば該リソースを一つ選出す
る。(ステップ104,105) (5)(4)で割当て可能なリソースが無ければ、その
ジョブへのリソース割当ては失敗として、(2)の処理
に戻り、次の未割当てジョブの選定を行う。 (6)ステップ105で取り出したリソースがステップ
103で選出したジョブの制約条件を満足するかをチエ
ックする。(ステップ106) (7)ステップ106のチエックでリソースがジョブの
制約条件を満たしていなければ、別のリソースを取出
し、再度ステップ106の制約条件チェックを行う。 (8)取出したリソースが制約条件を満足していれば、
そのジョブとリソースの割当てを記録する。(ステップ
107) (9)(8)のあと、ステップ102に戻り、未割当て
のジョブが無くなるまで処理を繰り返す。
FIG . 4 shows a conventional assignment processing procedure based on a knowledge engineering approach. (1) A plurality of jobs are sorted and stored according to the priority of each job. (Step 101) (2) Check if there is a job for which resource allocation has not been performed, and if there is, check out one of the jobs. (Step 1
02, 103) (3) If there is no unassigned job, the process is terminated. (4) Check if there is a resource that can be allocated to the job extracted in (2), and if so, select one of the resources. (Steps 104 and 105) (5) If there is no resource that can be allocated in (4), the resource allocation to the job is determined to have failed, and the process returns to (2) to select the next unallocated job. (6) It is checked whether the resource extracted in step 105 satisfies the constraint condition of the job selected in step 103. (Step 106) (7) If the resource does not satisfy the constraint condition of the job in the check of Step 106, another resource is taken out and the constraint condition check of Step 106 is performed again. (8) If the extracted resource satisfies the constraint,
Record the job and resource assignments. (Step 107) After (9) and (8), return to step 102 and repeat the process until there are no unassigned jobs.

【0005】この様な割当てを行う場合、どのジョブか
ら割当てを行うかの順序が割当ての効率化に大きな影響
を及ぼす。この順序が不適切な場合には、一度決定した
スケジュールをご破算にして、再度割当てをやり直すバ
ックトラック処理が頻発することになる。このような問
題を従来は、主に次のような方法によって解決を図って
いた。 (1)各ジョブの割当ての困難さを予め求め、この困難
さの大きなジョブから順に割当てを行う。 (2)各ジョブの割当ての困難さを、1つのジョブの割
当てが決定する毎に再計算する。
[0005] In such an assignment, the order in which jobs are assigned has a great effect on the efficiency of the assignment. If this order is inappropriate, the backtracking process in which the once determined schedule is broken down and the allocation is performed again frequently occurs. Conventionally, such a problem has been mainly solved by the following method. (1) The difficulty of assignment of each job is determined in advance, and assignment is performed in order from the job with the greatest difficulty. (2) Recalculate the difficulty of assigning each job each time the assignment of one job is determined.

【0006】なお、これらに関連のある公知例として
は、例えば特開昭63−163669号公報「割当て決
定方式」が挙げられる。
[0006] As a known example related to these, there is, for example, Japanese Patent Application Laid-Open No. 63-163669 "assignment determination method".

【0007】[0007]

【発明が解決しようとする課題】各種のスケジュール作
成では、時間的に隣接したジョブの間に、リソース割当
てに関する各種の制約条件が課せられることが多い。例
えば、交代制勤務の人員配置では、連続して同一の人に
夜勤を割当てることが出来ないという制約条件が課せら
れることが多い。また、生産工程のスケジュール作成で
も、リソースである機械装置も連続して実行できるジョ
ブの種類に制約の有ることがある。
In the preparation of various schedules, various restrictions on resource allocation are often imposed between jobs that are temporally adjacent to each other. For example, in the case of staffing of shift work, there is often a constraint that night shift cannot be assigned to the same person continuously. Further, even in the production process schedule creation, there may be a restriction on the types of jobs that can be continuously executed by the machine as a resource.

【0008】前記の従来方式では、各ジョブに対する割
当てを、最も割当ての困難なジョブを優先するために、
時間的に連続したジョブに続けて割当てが行われない場
合があり、時間的に連続したジョブに課せられる制約を
充分に満足した割当てを実現できない。例えば、図5の
例について従来方式を適用すると、各ジョブに対するリ
ソースの割当て順序は ジョブ2→ジョブ12→ジョブ3→ジョブ11→ジョブ4→ となり、良いスケジュール割当てが実現できない。即
ち、このような完全な飛び飛びの順でジョブへのリソー
ス割当てを実行した場合、スケジュール作成結果は不連
続性が高く、利用が困難である。
In the above-mentioned conventional method, the assignment to each job is made in order to give priority to the job which is most difficult to assign.
In some cases, assignment is not performed after a temporally continuous job, and it is not possible to realize an assignment that sufficiently satisfies the constraints imposed on temporally continuous jobs. For example, when the conventional method is applied to the example of FIG. 5, the resource allocation order for each job is as follows: job 2 → job 12 → job 3 → job 11 → job 4 →, and good schedule allocation cannot be realized. That is, when the resources are allocated to the jobs in such a complete intermittent order, the schedule creation result has high discontinuity and is difficult to use.

【0009】これを欠点を避けるため、いくつかの連続
したジョブをグループ化して割当てを行うと、時間的に
連続したジョブに課せられる制約条件は達成されるが、
割当ての困難な部分が後回しにされるため、割当ての失
敗や再試行が発生しやすくなる。
To avoid this drawback, when several consecutive jobs are grouped and assigned, the constraints imposed on temporally successive jobs are achieved,
Since the difficult part of the assignment is postponed, assignment failures and retries are likely to occur.

【0010】本発明の目的は、電子計算機を用いて複数
のジョブと複数のリソースの割当てを自動化するにあた
り、割当ての困難な部分が後回しにされることなく、時
間的に連続したジョブにに課せられる制約条件の様に局
所性の高い制約条件をジョブの選定順序決定に反映する
ことで、割当て精度の向上を図り、割当ての失敗を減少
せしめるジョブ・リソース割当て最適化装置を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to automatically assign a plurality of jobs and a plurality of resources by using a computer , and to impose on a job which is temporally continuous without delaying a portion difficult to assign. It is an object of the present invention to provide a job / resource allocation optimizing apparatus which improves allocation accuracy and reduces allocation failures by reflecting a highly localized restriction condition such as a restriction condition to be applied to the determination of a job selection order. .

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、複数のジョブと複数のリソースとの間の
割当を制約条件に従って決定するに際して、ジョブに対
してリソースを割当てる順序を、各ジョブへのリソース
割当ての困難さならびに時間的に隣接したジョブの割当
てを優先して行うようにしたものがある。
In order to achieve the above object, the present invention provides a method for determining the assignment between a plurality of jobs and a plurality of resources according to a constraint condition. In some cases, priority is given to the difficulty in allocating resources to each job and the allocation of jobs that are temporally adjacent to each other.

【0012】[0012]

【作用】本発明では、次のような手順で複数のジョブと
複数のリソースの割当てを決定する。 (1)各ジョブに対して、割当ての困難さを表す数値を
求める。 (2)困難さを表す数値の最も高いジョブを選択する。 (3)困難さの最も高いジョブに時間的に隣接した周辺
のジョブを選択する。 (4)この選択された周辺のジョブの中で、困難さの最
も高いジョブに時間的に 近い順番でジョブへのリソース
割当てを実行する。 (5)残されたジョブに対して、更に(2)の処理から
繰り返す。
According to the present invention, the assignment of a plurality of jobs and a plurality of resources is determined by the following procedure. (1) For each job, find a numerical value indicating the difficulty of assignment. (2) Select the job with the highest numerical value indicating difficulty. (3) Select a peripheral job temporally adjacent to the job having the highest difficulty. (4) Among the selected peripheral jobs, the most difficult
Resource allocation to the job in the order close to the job with the highest time . (5) Repeat the process from (2) for the remaining jobs.

【0013】本発明を用いることで、複数ジョブを複数
リソースに割当てるに当って、割当ての最も困難なジョ
ブの優先と同時に、時間的に隣接する、その近傍のジョ
ブも順次割当てが進められるため、スケジュール結果は
局所的な各種の制約条件を満たすことが可能となる。
By using the present invention, when allocating a plurality of jobs to a plurality of resources, the job which is most difficult to be assigned is prioritized, and at the same time, jobs which are temporally adjacent to each other are sequentially assigned. The schedule result can satisfy various local constraints.

【0014】[0014]

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

【0015】図1は本発明の一実施例のシステム構成図
である。本システムは、ジョブ記憶部1、リソース記憶
部2、制約情報記憶部3、ジョブ選択装置4、リソース
選択装置5、割当て決定装置6及び割当て状況格納装置
7で構成され、ジョブ選択装置4は、更に割当て困難度
算出部41、割当て順序決定部42及び割当て困難度記
録部43からなる。
FIG. 1 is a system configuration diagram of an embodiment of the present invention. The system includes a job storage unit 1, a resource storage unit 2, a constraint information storage unit 3, a job selection device 4, a resource selection device 5, an assignment determination device 6, and an assignment status storage device 7. It further comprises an assignment difficulty calculation section 41, an assignment order determination section 42, and an assignment difficulty recording section 43.

【0016】ジョブ記憶部1には、図2に示すように、
ジョブの実行時間の順に並べられた各ジョブに対する情
報が格納されている。例えば、ジョブ番号1には、ジョ
ブ名がAで、1日午前中に資格Bの要員4名を必要とす
る、場所Bでの作業Cのような情報が格納されている。
リソース記憶部2には、各リソースの情報が格納されて
いる。例えばリソースに関する情報は、図3に示すよう
に、リソースAは資格B,Cを所有し、利用可能場所の
制約としてA,E,F、利用可能時間に関する制約の無
いことが格納されている。さらに、制約情報記憶部3に
は、ジョブとリソースの割当てを行う場合の各種制約情
報(図3に示す以外の制約条件)が必要に応じて格納さ
れている。
As shown in FIG. 2, the job storage unit 1
Information on each job arranged in the order of job execution time is stored. For example, the job number 1 stores information such as the work C in the place B, which has the job name A and requires four qualified B personnel in the morning of the first day.
The resource storage unit 2 stores information on each resource. For example, as shown in FIG. 3, information on resources stores that resource A has qualifications B and C, and that there are no restrictions on available locations A, E, F and available time as restrictions on available places. Further, the constraint information storage unit 3 stores various constraint information (restriction conditions other than those shown in FIG. 3) when allocating jobs and resources as necessary.

【0017】図1の動作概要は以下の通りである。ま
ず、ジョブ選択装置4において、割当て困難度算出部
1がジョブ記憶部1の各ジョブの情報から、各ジョブに
ついての、リソース割当て困難度を算出する。割当て困
難度には各種の計算方法があるが、例えば、(a)ジョ
ブに割当て可能なリソース数の少ないジョブほど困難度
を高くする、(b)ジョブに課せられている制約条件数
が多いジョブほど困難度を高くする、(c)あらかじめ
優先順位を定め、該優先順位の高いジョブほど困難度を
高くする、などの基準により困難度を数値化することが
できる。割当て困難度記録部43は、この割当て困難度
算出部41で算出された各ジョブの割当て困難度を、ジ
ョブの実行時間の順に記録する。図5はジョブと割当て
困難さの対応の具体例を示したものである。この割当て
困難度記録部43に記録された各ジョブの割当て困難度
に基づいて、割当て順序決定部42がジョブの選択順序
を決定し、一つずつ順番に選択する。この割当て順序決
定部42での処理が本発明にかかわるもので、これにつ
いては後述する。一方、リソース選択装置5はリソース
記憶部2からリソースを読出し、一つずつ順番に選択し
ていく。割当て決定装置6は、ジョブ選択装置4の割当
て順序決定部42及びリソース選択装置5で選択された
ジョブとリソースが制約情報記憶部3に格納された制約
条件に違反しないかを調べ、制約条件に全て合致する場
合には割当てを行い、その割当て結果を割当て状況格納
装置7に格納する。もし合致しない場合には、割当て決
定装置6はリソース選択装置5の選択する別のリソース
を用いて再度制約条件のチェックを行う。
The operation outline of FIG. 1 is as follows. First, in the job selection device 4, the assignment difficulty calculation unit 4
1 calculates the resource allocation difficulty for each job from the information of each job in the job storage unit 1. There are various calculation methods for the assignment difficulty. For example, (a) a job with a smaller number of resources that can be assigned to the job has a higher difficulty level, and (b) a job with a greater number of constraints imposed on the job. (C) Priorities are determined in advance, and the higher the priority of the job, the higher the difficulty. The assignment difficulty recording unit 43 records the assignment difficulty of each job calculated by the assignment difficulty calculation unit 41 in the order of job execution time. FIG. 5 shows a specific example of the correspondence between jobs and assignment difficulty. On the basis of the assignment difficulty of each job recorded in the assignment difficulty recording unit 43, the assignment order determination unit 42 determines the job selection order and selects the jobs one by one. The processing in the allocation order determining unit 42 relates to the present invention, and will be described later. On the other hand, the resource selection device 5 reads the resources from the resource storage unit 2 and selects them one by one in order. The assignment determining device 6 checks whether the job and the resource selected by the assignment order determining unit 42 and the resource selecting device 5 of the job selecting device 4 do not violate the constraints stored in the constraint information storage unit 3, and determines If all match, allocation is performed, and the allocation result is stored in the allocation status storage device 7. If they do not match, the allocation determination device 6 checks the constraint again using another resource selected by the resource selection device 5.

【0018】次に、本発明にかかわる割当て順序決定部
42での処理について詳述する。割当て順序決定部42
は、割当て困難度記録部43に記録された各ジョブの割
当て困難度をもとに、困難さの最も高いジョブ、およ
び、それに時間的に隣接した周辺のジョブから順番に選
択していく。このようなジョブ選択方法としては、様々
な方法が考えられるが、ここでは、一例として、次の二
つの方法について述べる。第1の方法は最も困難さの高
いジョブから順に、該ジョブから一定距離(一定範囲)
内のジョブを選択する方法であり、第2の方法は最も困
難さの高いジョブから順に、該ジョブをピークとする一
まとまりの山単位で、該山を包含する各ジョブを選択す
る方法である。
Next, the processing in the assignment order determining unit 42 according to the present invention will be described in detail. Assignment order determination unit 42
Is based on the assignment difficulty of each job recorded in the assignment difficulty recording unit 43, and sequentially selects the job having the highest difficulty and the peripheral jobs temporally adjacent thereto. Various methods can be considered as such a job selection method. Here, the following two methods will be described as examples. In the first method, a job is assigned a certain distance (a certain range) from the job with the highest difficulty in order.
The second method is a method of selecting each job including the mountain in a group of mountains having the job as a peak in order from the job having the highest difficulty. .

【0019】図6は第1の方法を説明するための図であ
る。この場合の選択順序の一例を示すと、ジョブ5→ジ
ョブ4→ジョブ6→ジョブ3→ジョブ7→ジョブ2→ジ
ョブ8→ジョブ18→ジョブ19→ジョブ17→ジョブ
20→ジョブ16→ジョブ21→ジョブ15→…とな
る。これは、一番目のピークのジョブ5の近傍では、該
ジョブ5を中心に時間的に隣接したジョブから、しかも
時間的に早い方のジョブから交互に選択し、次の二番目
のピークのジョブ18の近傍では、該ジョブ18を中心
に同様に時間的に隣接したジョブから、しかも時間的に
遅い方のジョブから交互に選択したものである。
FIG. 6 is a diagram for explaining the first method. An example of a selection order in this case is as follows: job 5 → job 4 → job 6 → job 3 → job 7 → job 2 → job 8 → job 18 → job 19 → job 17 → job 20 → job 16 → job 21 → Job 15 → ... This is because, in the vicinity of the first peak job 5, the jobs that are temporally adjacent to the first job 5 and alternately from the earlier job are alternately selected, and the next second peak job is selected. In the vicinity of 18, the job 18 is similarly selected alternately from the temporally adjacent jobs centered on the job 18 and from the temporally later job.

【0020】図7は第2の方法を説明するための図で、
この場合の選択順序の一例を示すと、ジョブ5→ジョブ
4→ジョブ3→ジョブ2→ジョブ1→ジョブ6→ジョブ
7→ジョブ8→ジョブ9→ジョブ10→ジョブ18→ジ
ョブ17→ジョブ16ジョブ15→ジョブ14→ジョブ
19→ジョブ20→ジョブ21→ジョブ22→ジョブ2
3→…となる。これは、一番目のピークのジョブ5およ
び次の二番目のピークのジョブ18を中心とする山と
も、まず、該山の左側のジョブをピークのジョブから近
い順に選択し、次に右側のジョブを同様にピークのジョ
ブから近い順に選択したものである。
FIG. 7 is a diagram for explaining the second method.
An example of the selection order in this case is as follows: job 5 → job 4 → job 3 → job 2 → job 1 → job 6 → job 7 → job 8 → job 9 → job 10 → job 18 → job 17 → job 16 job 15 → Job 14 → Job 19 → Job 20 → Job 21 → Job 22 → Job 2
3 → ... This means that the job centered on the first peak job 5 and the next second peak job 18 is first selected from the job on the left side of the mountain in the order of closest to the peak job, and then the job on the right side is selected. Are similarly selected in the order from the closest to the peak job.

【0021】図8に、第1の方法による場合の割当て順
序決定部42の動作フロー図を示す。
FIG. 8 is a flowchart showing the operation of the assignment order determining unit 42 in the case of the first method.

【0022】まず、選択結果のジョブチェイン(これに
は割当て順序決定部42内のレジスタなどを使用する)
を初期化のために空にする(ステップ201)。次に、
割当て困難度記録部43内に未選択のジョブが無いかチ
ェックする(ステップ202)。初期状態では全てのジ
ョブは未選択の状態にある。そこで、この状態で最も困
難度の高いジョブを一つ選択し、選択結果のジョブチェ
インの最後尾に追加する(ステップ203)。ここで、
この選択したジョブをAとする。最初の選択では、この
ジョブAがチェインの先頭になる(図6の例では、ジョ
ブ5がこれに相当する)。次に、割当て困難度記録部4
3内の該ジョブAを未選択の状態から選択済みの状態に
替える(ステップ204)。その後、割当て困難度記録
部43内のジョブについて、上記ジョブAから一定の範
囲内にある未選択状態のジョブを、ジョブAから時間的
に近い順に選択してチェインの最後尾に追加し、この選
択したジョブを未選択の状態から選択済みの状態に替え
る処理を繰返し行う(ステップ205〜208のルー
プ)。
First, the job chain of the selection result (for this, a register or the like in the assignment order determining unit 42 is used)
Is emptied for initialization (step 201). next,
It is checked whether there is any unselected job in the assignment difficulty recording unit 43 (step 202). In the initial state, all jobs are in an unselected state. Therefore, in this state, one job having the highest difficulty level is selected and added to the end of the selected job chain (step 203). here,
The selected job is assumed to be A. In the first selection, this job A is at the head of the chain (in the example of FIG. 6, job 5 corresponds to this). Next, the assignment difficulty recording unit 4
The job A in No. 3 is changed from an unselected state to a selected state (step 204). Thereafter, with respect to the jobs in the assignment difficulty recording unit 43, unselected jobs within a certain range from the job A are selected in the order of time closest to the job A and added to the end of the chain. The process of changing the selected job from the unselected state to the selected state is repeatedly performed (loop of steps 205 to 208).

【0023】こうして、ジョブAから一定の範囲内で未
選択のジョブが無くなると、ステップ202に戻り、割
当て困難度記録部43内に未選択のジョブが残っている
場合、この未選択ジョブの中で最も割当ての困難なジョ
ブ(困難度最大のジョブ)を選択して、同様の処理を繰
り返す。
In this way, when there is no unselected job within a certain range from job A, the process returns to step 202, and if there is any unselected job remaining in the assignment difficulty recording unit 43, To select the job that is the most difficult to assign (the job with the greatest difficulty) and repeat the same processing.

【0024】図9に、第2の方法による場合の割当て順
序決定部42の動作フロー図を示す。
FIG. 9 is a flowchart showing the operation of the assignment order determining unit 42 in the case of the second method.

【0025】まず、割当て順序決定部42内の選択結果
ジョブチェインを初期化のために空にする(ステップ3
01)。次に、割当て困難度記録部43内で未選択のジ
ョブが無いかチェックするが(ステップ302)、初期
状態では全てのジョブが未選択の状態にある。この未選
択のジョブの中で困難度最大のジョブを一つ選択する
(ステップ303)。ここで、この選択されたジョブを
Aとする。このジョブAを選択結果ジョブチェインの最
後尾に追加し(ステップ304)、割当て困難度記録部
43内の該ジョブAを未選択の状態から選択済みの状態
に替える(ステップ305)。図7の例では、ジョブ5
がジョブAに相当する。
First, the selection result job chain in the assignment order determination unit 42 is emptied for initialization (step 3).
01). Next, it is checked whether there are any unselected jobs in the assignment difficulty recording unit 43 (step 302). In the initial state, all jobs are in an unselected state. One job having the greatest difficulty is selected from the unselected jobs (step 303). Here, this selected job is assumed to be A. This job A is added to the end of the selection result job chain (step 304), and the job A in the assignment difficulty recording unit 43 is changed from an unselected state to a selected state (step 305). In the example of FIG.
Corresponds to job A.

【0026】次に、選択した最も優先度の高いジョブA
をI、その一つ前のジョブをJとし(ステップ30
6)、Jを次に選択すべきか否か決定する。即ち、ジョ
ブJが未選択状態で、かつ、(Iの困難度)−(Jの困
難度)が正ならば、ジョブJを選択してチェインの最後
尾に追加し、割当て困難度記録部43内の該ジョブJを
選択済みの状態に替える(ステップ307〜309)。
次に、I=I−1,J=J−1として(ステップ31
0)、着目するジョブを一つ前方に移動し、ステップ3
07から処理を繰返す。このようにして、ステップ30
7の条件が成立する間、ステップ307〜310の処理
を繰返し実行することにより、ジョブAをピークとする
山の左側のジョブがジョブAから近い順に選択されるこ
とになる。
Next, the selected job A having the highest priority
Is I and the previous job is J (step 30).
6), determine if J should be selected next. That is, if the job J is unselected and (I difficulty)-(J difficulty) is positive, the job J is selected and added to the end of the chain, and the assignment difficulty recording unit 43 Is changed to a selected state (steps 307 to 309).
Next, I = I-1, J = J-1 (step 31)
0), move the target job forward by one, and
The process is repeated from 07. Thus, step 30
By repeating the processing of steps 307 to 310 while the condition of No. 7 is satisfied, the jobs on the left side of the mountain having the peak of job A are selected in order from the closest to job A.

【0027】ステップ307の条件が成立しなくなった
なら、I=A,J=A+1として(ステップ311)、
ジョブAの後方のジョブについて上記ステップ307〜
310に対応する処理を行う。即ち、ジョブAの一つ後
方のジョブJが未選択状態で、かつ、(Iの困難度)−
(Jの困難度)が正ならば、ジョブJを選択してチェイ
ンの最後尾に追加し、割当て困難度記録部43内の該ジ
ョブJを選択済みの状態に替える(ステップ312〜3
14)。次に、I=J+1,J=J+1として(ステッ
プ315)、着目するジョブを一つ後方に移動し、ステ
ップ312から処理を繰返す。このようにしてステップ
312の条件が成立する間、ステップ312〜314の
処理を繰返し実行することにより、ジョブAをピークと
する山の右側のジョブがジョブAから近い順に選択され
ることになる。
If the condition of step 307 is no longer satisfied, I = A, J = A + 1 (step 311),
Steps 307 to 307 for the job following job A
A process corresponding to 310 is performed. That is, the job J immediately after the job A is in the unselected state, and (the degree of difficulty of I) −
If the (J difficulty level) is positive, the job J is selected and added to the end of the chain, and the job J in the assignment difficulty level recording unit 43 is changed to the selected state (steps 312 to 312).
14). Next, assuming that I = J + 1 and J = J + 1 (step 315), the target job is moved backward by one, and the processing is repeated from step 312. By repeating the processing of steps 312 to 314 while the condition of step 312 is satisfied in this manner, the jobs on the right side of the mountain having the peak of job A are selected in order from the closest to job A.

【0028】ステップ312の条件が成立しなくなった
なら、ステップ302に戻り、割当て困難度記録部43
内に未選択のジョブが残っている場合、この未選択ジョ
ブの中で最も割当ての困難なジョブを選択して、同様の
処理を繰返す。
If the condition of step 312 is no longer satisfied, the flow returns to step 302, and the assignment difficulty recording section 43
If there are any unselected jobs remaining in the list, the job that is most difficult to be assigned among the unselected jobs is selected, and the same processing is repeated.

【0029】以上、本発明の一実施例について説明した
が、要はジョブに対してリソースを割当てる順序が、各
ジョブへのリソース割当ての困難さならびに時間的に隣
接したジョブの割当てを優先して決定できればよく、そ
の実現方法は、実施例で説明した方法に限らない。
The embodiment of the present invention has been described above. The point is that the order of allocating resources to jobs is determined by the priority of the difficulty of allocating resources to each job and the allocation of temporally adjacent jobs. It is sufficient that the method can be determined, and the method of realizing the method is not limited to the method described in the embodiment.

【0030】以上説明したように、本発明によれば、複
数ジョブと複数リソースの割当てを行う場合に、困難度
の高いジョブとそれに時間的に隣接したジョブを優先し
て割当てるため、割当て困難度の高いジョブ優先の効果
として割当ての失敗を回避できると共に、飛び飛びの順
でジョブへのリソース割当てが回避でき、連続性の高い
スケジュールなどを作成できる効果がある。
As described above, according to the present invention, when a plurality of jobs and a plurality of resources are allocated, a job having a high degree of difficulty and a job temporally adjacent thereto are preferentially allocated. As an effect of job priority with high priority, failure of allocation can be avoided, resource allocation to jobs in a discrete order can be avoided, and a schedule with high continuity can be created.

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

【図1】本発明は一実施例のシステム構成図である。FIG. 1 is a system configuration diagram of an embodiment 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 processing flowchart of a conventional job / resource allocation.

【図5】ジョブとリソース割当て困難さとの対応の一例
を示す図である。
FIG. 5 is a diagram illustrating an example of correspondence between a job and difficulty in resource allocation.

【図6】本発明によるジョブ選択の第1の方法を説明す
る図である。
FIG. 6 is a diagram illustrating a first method of job selection according to the present invention.

【図7】本発明によるジョブ選択の第2の方法を説明す
る図である。
FIG. 7 is a diagram illustrating a second method of job selection according to the present invention.

【図8】図6の第1の方法に対応する処理フロー図であ
る。
FIG. 8 is a processing flowchart corresponding to the first method of FIG. 6;

【図9】図7の第2の方法に対応する処理フロー図であ
る。
FIG. 9 is a processing flowchart corresponding to the second method in FIG. 7;

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

1 ジョブ記憶部 2 リソース記憶部 3 甲約情報記憶部 4 ジョブ選択装置 41 割当て困難度算出部 42 割当て順序決定部 43 割当て困難度記録部 5 リソース選択装置 6 割当て決定装置 7 割当て状況格納装置 REFERENCE SIGNS LIST 1 job storage unit 2 resource storage unit 3 contract information storage unit 4 job selection device 41 assignment difficulty calculation unit 42 assignment order determination unit 43 assignment difficulty recording unit 5 resource selection device 6 assignment determination device 7 assignment status storage device

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 電子計算機を用いて、複数のジョブと複
数のリソースとの間の割当てを制約条件にしたがって行
うジョブ割当て最適化装置において、 各ジョブの実行時間順に並べられた各ジョブの情報を格
納するジョブ記憶部と、 前記ジョブに割り当てるためのリソースの情報を格納す
るリソース記憶部と、 前記ジョブ記憶部の情報から、各ジョブのリソース割当
て困難度を算出する割当て困難度算出部と、 前記割当て困難度算出部により、算出されたジョブ割当
て困難度をジョブの実行時間順に記録する割当て困難度
記録部と、 前記割当て困難度記録部に記録された各ジョブの割当て
困難度を解析し、まず、未選択のジョブから最も割当て
困難度の高いジョブを選択し、次に、該選択された最も
割当て困難度の高いジョブに対して時間的に近い順番に
所定範囲のジョブを選択する処理を、未選択のジョブが
なくなるまで繰り返して、リソースを割当てるジョブの
順序を決定する割当て順序決定部とを有することを特徴
とするジョブ・リソース割当て最適化装置。
1. A job allocation optimizing apparatus for allocating a plurality of jobs and a plurality of resources according to a constraint condition using an electronic computer. A job storage unit for storing; a resource storage unit for storing information of resources to be allocated to the jobs; an assignment difficulty calculation unit for calculating a resource assignment difficulty for each job from the information in the job storage unit; the assignment difficulty calculating unit, and the assigned difficulty recording unit that records the job assignment difficulty calculated execution time order of the job, the assignment difficulty of each job recorded in the allocation difficulty recording unit analyzes, first , Most assigned from unselected jobs
Select the job with the highest difficulty, and then select the most
For jobs with high assignment difficulty, in order of time
The process of selecting a predetermined range of jobs is
Repeat until there are no more jobs
A job order allocation optimizing device, comprising: an allocation order determining unit for determining an order.
【請求項2】 請求項1記載のジョブ・リソース割当て
最適化装置において、割当て順序決定部では、選択され
た最も割当て困難度の高いジョブから、時間的に連続す
る最も割当て困難度が低いジョブまでの範囲を決定し、
該決定された範囲内で前記最も割当て困難度が高いジョ
ブに対して、時間的に近い順にジョブを選択することを
特徴とするジョブ・リソース割当て最適化装置。
2. The job / resource allocation optimizing device according to claim 1, wherein the allocation order determining unit selects from the job having the highest assignment difficulty selected to the job successively having the lowest assignment difficulty. Determine the range of
A job / resource allocation optimizing apparatus, wherein a job having the highest degree of difficulty in allocation within the determined range is selected in the order of temporal proximity.
JP21613991A 1991-08-01 1991-08-01 Job / resource allocation optimization device Expired - Fee Related JP2746351B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21613991A JP2746351B2 (en) 1991-08-01 1991-08-01 Job / resource allocation optimization device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21613991A JP2746351B2 (en) 1991-08-01 1991-08-01 Job / resource allocation optimization device

Publications (2)

Publication Number Publication Date
JPH0540766A JPH0540766A (en) 1993-02-19
JP2746351B2 true JP2746351B2 (en) 1998-05-06

Family

ID=16683885

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21613991A Expired - Fee Related JP2746351B2 (en) 1991-08-01 1991-08-01 Job / resource allocation optimization device

Country Status (1)

Country Link
JP (1) JP2746351B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3373506B1 (en) * 2001-09-07 2003-02-04 日本航空株式会社 Personnel assignment system and personnel assignment program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63163669A (en) * 1986-12-26 1988-07-07 Toshiba Corp Deciding system for assignment
JPS63163667A (en) * 1986-12-26 1988-07-07 Toshiba Corp Deciding and supporting system for assignment
JPS63163668A (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

Also Published As

Publication number Publication date
JPH0540766A (en) 1993-02-19

Similar Documents

Publication Publication Date Title
JP4571819B2 (en) Predictive and preemptive planning and scheduling for systems and methods with different job priorities
US5524077A (en) Scheduling method and system
JP2870117B2 (en) Optimal plan creation method
Chen et al. General multiprocessor task scheduling
US7610212B2 (en) System and method for determining a demand promise date based on a supply available date
US5890134A (en) Scheduling optimizer
Hoitomt et al. Scheduling jobs with simple precedence constraints on parallel machines
JPH07262273A (en) Method for allocation and scheduling of resource
JPH0869383A (en) Method for scheduling of continuous task restricted only by delay type
Ulusoy et al. Simultaneous scheduling of machines and automated guided vehicles
Johnston et al. Analyzing a heuristic strategy for constraint satisfaction and scheduling
EP0992868A2 (en) Device and method for calculating required quantity of material
JP2746351B2 (en) Job / resource allocation optimization device
Lee et al. Operation sequence and tool selection in flexible manufacturing systems under dynamic tool allocation
JP3727832B2 (en) Production schedule creation device and recording medium recording production schedule creation program in production schedule creation device
JP3114149B2 (en) Schedule automatic creation processing method
JP2008226044A (en) Alternate skill scheduling system, scheduling method and program
JP2000040099A (en) Device and method for preparing schedule, selecting method for job and recording medium recording software of schedule preparation
JPH09244706A (en) Method and device for plan correction
JP2002055710A (en) Process chart editing system
JP2731079B2 (en) Schedule creation device
Lei A state-dependent approach to supervisory control of robots
JP2747130B2 (en) Schedule automatic creation processing method
Breitinger et al. Improving search for job-shop scheduling with CLP (FD)
EP0273742A2 (en) System and method of determining assignment between jobs and resources

Legal Events

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