JPH01114979A - Scheduling method - Google Patents

Scheduling method

Info

Publication number
JPH01114979A
JPH01114979A JP62274089A JP27408987A JPH01114979A JP H01114979 A JPH01114979 A JP H01114979A JP 62274089 A JP62274089 A JP 62274089A JP 27408987 A JP27408987 A JP 27408987A JP H01114979 A JPH01114979 A JP H01114979A
Authority
JP
Japan
Prior art keywords
state
scheduling
condition
swap
solution
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.)
Pending
Application number
JP62274089A
Other languages
Japanese (ja)
Inventor
Kiminori Sato
公則 佐藤
Hirotaka Hara
裕貴 原
Fumio Honda
文雄 本田
Hitoshi Matsumoto
均 松本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62274089A priority Critical patent/JPH01114979A/en
Publication of JPH01114979A publication Critical patent/JPH01114979A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To obtain a proper scheduling solution within a practically short time by using required restricting conditions or the like as input data and sequentially improving a proper initial state for job assignment to obtain the state of the solution. CONSTITUTION:In case of executing scheduling based upon an input, a specified restricting condition is eased and the set of properly selected jobs is assigned to respective machines to form 1 the initial state. When the restricted condition is completely satisfied after checking the state, the solution of scheduling is outputted 6. When the condition is not satisfied, a partial set to be replaced is retrieved 3 as a swapping candidate in different machines. When the improvement of an evaluation value obtained by executing the replacement of the swapping candidate is decided, the current state is updated 5 to a new state. The retrieval and replacement of swapping candidates are repeatedly executed until the new state reaches the scheduling solution.

Description

【発明の詳細な説明】 〔概 要〕 機械にジョブを所要の制約条件を満足するように割り当
てるスケジューリング問題を解くための計算機処理に関
し、 妥当なスケジューリング解を、実用的な処理時間で求め
ることができるスケジューリング処理方法を目的とし、 機械を表す条件、ジョブを表す条件、及び制約条件を入
力として、該ジョブを該機械に割り当てた状態を該制約
条件を満足するように生成する処理において、該状態の
評価値及び判定条件を設け、該制約条件のすべてを必ず
しも満足しない該状態を初期の状態として生成し、該状
態が該制約条件のすべてを満足している場合に、該状態
をスケジューリング解として出力し、該状態が該制約条
件のすべては満足していない場合には、該状態について
の該ジョブの割当の部分であって、異なる該機械の間で
交換可能な該部分をスワップ候補として検索し、該スワ
ップ候補の該交換を実行した結果の該評価値が、該交換
を実行する前の該評価値より改善されることを、該判定
条件に基づいて判定した場合に、該交換を実行して新た
な該状態を生成し、該新たな状態が前記スケジューリン
グ解になるまで、該スワップ候補の検索と、該交換の実
行を反復するように構成する。
[Detailed Description of the Invention] [Summary] Regarding computer processing for solving a scheduling problem in which jobs are assigned to machines so as to satisfy required constraints, it is possible to obtain a reasonable scheduling solution in a practical processing time. The purpose of the present invention is to provide a scheduling processing method in which a condition representing a machine, a condition representing a job, and a constraint condition are input, and a state in which the job is assigned to the machine is generated so as to satisfy the constraint condition. An evaluation value and a judgment condition are set, a state that does not necessarily satisfy all of the constraints is generated as an initial state, and when the state satisfies all of the constraints, the state is used as a scheduling solution. output, and if the state does not satisfy all of the constraint conditions, search for a part of the job assignment for the state that can be exchanged between different machines as a swap candidate. and execute the exchange if it is determined based on the determination condition that the evaluation value as a result of executing the exchange of the swap candidate is improved from the evaluation value before executing the exchange. and generates a new state, and repeats the search for the swap candidate and the execution of the swap until the new state becomes the scheduling solution.

〔産業上の利用分野〕[Industrial application field]

本発明は、機械にジョブを所要の制約条件を満足するよ
うに割り当てるスケジューリング問題を解く計算機処理
のスケジューリング処理方法に関する。
The present invention relates to a computer-processed scheduling processing method for solving a scheduling problem of allocating jobs to machines so as to satisfy required constraints.

こ\で機械とは、ジョブによって一定時間拘束されるべ
き対象であって、多くの場合は割り当てられたジョブを
実行する対象であり、例えばトラックにより所要の地点
間で貨物を輸送する仕事をジョブとした場合に、貨物を
運搬するトラック等が機械である。
In this case, a machine is an object that must be bound for a certain period of time by a job, and in most cases is an object that executes an assigned job. In this case, a truck or the like that transports cargo is a machine.

〔従来の技術と発明が解決しようとする問題点〕例えば
、n個所の営業所とm台のトラックが与えられ、それら
の営業所間に所要数の便を実現するような、トラックの
運行計画を行うスケジューリング問題の処理を考える。
[Problems to be solved by the prior art and the invention] For example, given n business offices and m trucks, a truck operation plan that realizes the required number of flights between these business offices. Consider the processing of a scheduling problem that involves

その場合に、営業所の地理的関係(営業所を結ぶ経路、
その間の運行の所要時間等)、各営業所ごとの営、某所
における荷積み、荷下ろしその他の所要時間、営業所の
営業時間、営業所ごとの荷の到着及び積出等の時刻の要
求その他が制約条件として与えられる。
In that case, the geographical relationship of the business offices (routes connecting the business offices,
(e.g., the time required for the operation, etc.), the operation of each office, the time required for loading, unloading, etc. at a certain location, business hours of the office, requests for the arrival and unloading times of cargo, etc. for each office, etc. is given as a constraint.

この問題の解は、例えば各トラックT1、T2、・−に
ついての、営業所Aを何時に出発して、営業所Bへ何時
に到着し、そこで何分間作業をした後、営業所Bを何時
に出発して営業所Cへ向かうというような1日のスケジ
ュールであり、そのような解を前記の制約条件を満足す
るように求めなければならない。
The solution to this problem is, for example, at what time does each truck T1, T2, etc. leave office A, arrive at office B, and leave office B after working there for how many minutes? The schedule for one day is such that the driver departs from office C and heads to office C, and such a solution must be found so as to satisfy the above-mentioned constraints.

このようなスケジューリング問題は、一般に前記トラッ
クを「機械」とし、前記の営業所AからBへの運行等を
、その機械で処理される「ジョブ」として、機械にジョ
ブを割り当てる問題として捉えることができる。
In general, such a scheduling problem can be viewed as a problem in which the truck is considered a "machine" and the operation from office A to B is a "job" to be processed by that machine, and the job is assigned to the machine. can.

このような問題を解く場合に、問題を数式化して数学的
に解を求める、いわゆるオペレーションリサーチ等の解
析的手法があるが、前記のような現実の問題では、問題
を大幅に単純化しない限りそれを数式化することが極め
て困難であるために、適用できない場合が多く存在する
To solve such problems, there are analytical methods such as so-called operation research that convert the problem into a formula and find the solution mathematically, but in real-life problems like the one mentioned above, unless the problem is greatly simplified, Since it is extremely difficult to express it mathematically, there are many cases where it cannot be applied.

又、数式化が可能な場合であっても、制約条件の変更が
あると、一般に数式の構成から再検討を要することにな
り、事態の変化に対応することが困難な場合が多い。
Furthermore, even if formulating is possible, if constraints change, the structure of the formula generally needs to be reconsidered, and it is often difficult to respond to changes in the situation.

そこで、そのような解析的手法をやめて、機械に対する
ジョブの割当を生成して、それが要求及び制約条件を満
足するかチエツクすることを、ジョブ割当のあらゆる組
合わせを網羅するように逐次進めて、条件を満足するも
のが得られれば、その割当を解とする手法が考えられる
が、この方法によれば、機械及びジョブの数の増加と共
に、異なる割当状態の数は急速に膨大となり、いわゆる
組合わせ論的爆発を生じて、現実的な処理時間で解に到
達することが不可能になる。
Therefore, such analytical methods are abandoned, and job assignments for machines are generated and checked to see if they satisfy the requirements and constraints, successively covering all combinations of job assignments. , if one that satisfies the conditions can be obtained, a method can be considered in which that assignment is used as a solution, but with this method, as the number of machines and jobs increases, the number of different assignment states will rapidly become enormous, and the so-called This results in a combinatorial explosion, making it impossible to reach a solution in a realistic processing time.

本発明は、前記後者のような非解析的なアプローチにお
いて、妥当なスケジューリング解を、実用的な処理時間
で得られるようにしたスケジューリング処理方法を目的
とする。
An object of the present invention is to provide a scheduling processing method that enables a reasonable scheduling solution to be obtained in a practical processing time in a non-analytical approach such as the latter.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、本発明の構成を示す処理の流れ図である。 FIG. 1 is a process flowchart showing the configuration of the present invention.

図は機械を表す条件、ジョブを表す条件、及び制約条件
を入力として、該制約条件を満足するように該ジョブを
該機械に割り当てた状態を示すスケジューリング解を生
成する処理の流れを示し、1〜6は処理ステップである
The figure shows the flow of processing for generating a scheduling solution indicating a state in which the job is assigned to the machine so as to satisfy the constraint conditions by inputting conditions representing a machine, conditions representing a job, and constraint conditions. -6 are processing steps.

〔作 用〕[For production]

機械を表す条件、ジップを表す条件、及び制約条件を入
力データとし、機械に対するジップの割当の状態を評価
するための評価値の定義と判定条件を与えられてスケジ
ューリング処理を開始し、処理ステップ1で、緩和した
制約条件のもとに、各機械に対する全ジップの割当を示
す状態を適当に生成し、初期の状態とする。
A condition representing a machine, a condition representing a zip, and a constraint condition are used as input data, and a definition of an evaluation value and a judgment condition for evaluating the status of zip allocation to the machine are given, and the scheduling process is started, and processing step 1 is performed. Then, under the relaxed constraint conditions, a state indicating the allocation of all zips to each machine is appropriately generated and set as an initial state.

処理ステップ2では、状態が制約条件をすべて満足して
いるかチエツクし、制約条件のすべてを満足している場
合には、処理ステップ6でその状態によってスケジュー
リング解を作成して出力する。
In processing step 2, it is checked whether the state satisfies all of the constraint conditions, and if all of the constraint conditions are satisfied, in processing step 6, a scheduling solution is created and output based on the state.

状態が該制約条件のすべては満足していない場合には、
処理ステップ3でその状態について、ジョブ割当の一部
分であって、異なる機械の間で交換可能な部分を検索し
てスワップ候補とし、処理ステップ4でそのスワップ候
補の交換を実行した場合に前記の状態の評価値が、現評
価値より改善されるかを判定条件に従ってチエツクする
If the state does not satisfy all of the constraints,
Regarding the state in processing step 3, if a part of the job assignment that can be exchanged between different machines is searched and set as a swap candidate, and in processing step 4 the swap candidate is exchanged, the above state Check whether the evaluation value is improved from the current evaluation value according to the judgment conditions.

交換によって評価値が改善されると判定した場合には、
処理ステップ5で交換を実行して新たな状態を生成した
後、処理ステップ2に戻って制約条件のチエツクから繰
り返す。
If it is determined that the evaluation value will be improved by exchange,
After performing the exchange and generating a new state in process step 5, the process returns to process step 2 and repeats from checking the constraint conditions.

又、評価値が改善されない場合には、処理ステップ3に
戻って別のスワップ候補の検索を行い、このようにして
新たな状態がスケジューリング解になるまで以上の処理
を反復する。
If the evaluation value is not improved, the process returns to step 3 to search for another swap candidate, and repeats the above process until the new state becomes the scheduling solution.

この処理方法により、適当なジョブ割当初期状態を、逐
次改善して状態を解に近づけるので、テストを要する状
態の数が制限されて、実用的な比較的短い処理時間で少
なくとも1つの解を得ることが可能になる。又制約条件
は処理手順とは分離されたデータとして与えられるので
、制約条件の追加、変更、削除への対応が容易である。
This processing method gradually improves the initial state of appropriate job assignments and brings the state closer to the solution, thereby limiting the number of states that need to be tested and obtaining at least one solution in a relatively short practical processing time. becomes possible. Furthermore, since constraints are provided as data separate from processing procedures, it is easy to add, change, or delete constraints.

〔実施例〕〔Example〕

スケジューリング問題として、例えば、機械を表す条件
としてm台のトラックが指定され、それによってn個所
の営業所間について、「営業所Pから営業所Qへの便」
というようなジョブを割り当てる問題が入力される。
As a scheduling problem, for example, m trucks are specified as a condition representing a machine, and then "flights from office P to office Q" are determined between n offices.
A problem for assigning jobs is input.

スケジューリング上の制約条件として、トラックの初期
配置、営業所の地理的関係(営業所を結ぶ経路、その間
の移動所要時間等)、各営業所ごとの荷積み、荷下ろし
その他のために費やされる所要時間、営業所の営業時間
(即ち便の出発、到着時刻のリミット)、営業所ごとの
荷の到着及び積出等の時刻の要求その他が指定される。
Scheduling constraints include the initial location of trucks, the geographical relationship of offices (routes connecting offices, time required for travel between offices, etc.), and the amount of time spent on loading, unloading, etc. for each office. The time, business hours of the office (that is, limits on departure and arrival times of flights), requirements for arrival and unloading times of cargo, etc. for each office are specified.

又ジップの割当状態の評価値を求める評価関数の定義、
その評価値の改善方向を判定するための判定条件が設定
される。
In addition, the definition of an evaluation function that calculates the evaluation value of the zip allocation state,
Judgment conditions for determining the direction of improvement of the evaluation value are set.

即ち評価値としては、例えば各便の超過時間を採ること
が定義され、判定条件として、例えばこの評価値を、−
様に減少させるような方向へ状態を移行するように設定
した条件が与えられる。
That is, as an evaluation value, for example, the excess time of each flight is defined, and as a judgment condition, for example, this evaluation value is defined as -
Conditions are set to shift the state in a direction that reduces the amount of energy.

こ\で、状態は例えば次に示すように、各機械に対して
割り当てた順序づけられたジョブの集合で表される。即
ち、例えば 機械1=(ジョブ1.ジョブ3.−・−・・−)機械2
=(ジョブ4.ジョブ5 、−−−−−−−−−・)機
械m= (ジップ2.ジップ7、・−−−−−−−−−
・)のようになる。
Here, the status is represented by a set of ordered jobs assigned to each machine, as shown below, for example. That is, for example, machine 1 = (job 1. job 3. -・-・・-) machine 2
= (Job 4. Job 5, --------------・) Machine m = (Zip 2. Zip 7, ----------------------
·)become that way.

以上のような入力に基づいてスケジューリングを行う場
合に、第1図の処理ステップ1では、入力データを処理
に便利な所定の内部表現に展開する等の初期設定処理を
行ったのち、初期の状態を生成する。その際容易に状態
を生成できるように、指定の制約条件を大幅に緩和し、
例えば前記条件の営業所間の経路のみを考慮して、適当
に選んだジョブの集合を、各機械に順次割り当てて初期
の状態とする。
When scheduling is performed based on the above inputs, in processing step 1 in Figure 1, initialization processing such as expanding input data into a predetermined internal representation convenient for processing is performed, and then the initial state is generate. In order to easily generate the state, we have significantly relaxed the specified constraints,
For example, considering only the routes between offices under the above conditions, a set of appropriately selected jobs is sequentially assigned to each machine and set as an initial state.

処理ステップ2は、状態を制約条件に基づいてチエツク
し、制約条件をすべて満足していれば、その状態を1つ
のスケジューリング解とし、処理ステップ6で所定の形
式の解とと7で出力する。
Processing step 2 checks the state based on constraint conditions, and if all the constraint conditions are satisfied, the state is set as one scheduling solution, and processing step 6 outputs a solution in a predetermined format.

但し、このようにして解とした状態についても、以下に
述べる処理を更に続けることによって、−般にもう一つ
の、評価値の上でより改善された解を得ることができる
ので、必要な場合には、処理ステップ6から処理ステッ
プ3に戻って処理を続けるバス(図に破線で示す)を設
ける。
However, even for the state solved in this way, by further continuing the processing described below, it is generally possible to obtain another solution that is more improved based on the evaluation value, so if necessary, A bus (indicated by a broken line in the figure) is provided for returning from processing step 6 to processing step 3 and continuing the processing.

処理ステップ2で、状態が制約条件をすべては満足しな
いと判定すると処理ステップ3に進み、その状態のジョ
ブ割当から、異なる機械に割り当てられているジョブの
部分集合で、相互に交換可能な部分集合を検索してスワ
ップ候補とする。
If it is determined in processing step 2 that the state does not satisfy all of the constraints, the process proceeds to processing step 3, and from the job assignment of that state, subsets of jobs that are assigned to different machines and are mutually interchangeable are determined. Search for and select it as a swap candidate.

交換可能の部分集合には、前記の例で言えば、例えば異
なる2つの機械に割り当てられているジョブで、出発営
業所を同じくするジョブ以降に並ぶ1以上の全ジョブか
らなる各ジョブの列、或いは出発営業所を同じくするジ
ョブから、到着営業所を同じくするジョブまでの各ジョ
ブの列その他がある。
In the above example, the interchangeable subset includes, for example, a row of jobs that are assigned to two different machines and that consist of one or more jobs that line up after jobs that have the same starting office; Alternatively, there may be a line for each job, from jobs that have the same departure office to jobs that have the same arrival office.

又、一方の部分集合が空な場合を含めて、単に成る機械
に割り当てられているジョブ又はジョブの列を、他の機
械に移動する場合もスワップ候補になる。
In addition, a job or a sequence of jobs assigned to a single machine, including a case where one subset is empty, is also a swap candidate when it is moved to another machine.

スワップ候補が検索されると、処理ステップ4では、そ
の候補のジョブ部分集合を、該当の機械間で交換して得
られる状態について、評価値を求め、それが交換前の現
状態の評価値より改善されるかを、判定条件に基づいて
判定する。
When a swap candidate is searched, in processing step 4, an evaluation value is calculated for the state obtained by exchanging the job subset of the candidate between the corresponding machines, and it is calculated from the evaluation value of the current state before the exchange. It is determined whether the improvement is achieved based on the determination conditions.

その結果、改善されないと判定した場合には処理ステッ
プ3に戻り、検索したスワップ候補を取り消して、別の
スワップ候補を検索する。
As a result, if it is determined that there is no improvement, the process returns to step 3, cancels the searched swap candidate, and searches for another swap candidate.

改善される場合には、処理ステップ5においてスワップ
候補のジョブ列の交換を実行して、状態を新しい状態に
更新した後、処理ステップ2に戻って断状態が解になっ
ているかチエ’7りする。
If it is improved, execute swapping of the swap candidate job sequence in processing step 5, update the state to the new state, and then return to processing step 2 to check whether the disconnected state is resolved. do.

このようにして、適切な評価値及び判定条件のもとに、
スワップ候補の交換を反復することにより、状態を逐次
改善して解に接近することができる。
In this way, based on appropriate evaluation values and judgment conditions,
By repeatedly exchanging swap candidates, it is possible to gradually improve the state and approach a solution.

次に前記のスケジューリング問題の簡単化した例につい
て、具体的なデータ例によって処理を説明する。
Next, processing for a simplified example of the above-mentioned scheduling problem will be explained using specific data examples.

第2図(a)はトラックによる便であるジョブを指定す
る入力データ、(b)はそれを線図で説明した図である
。又、第2図(C)のように、このジョブを実行する機
械であるトラック3台(T1.T2.T3)が配置され
ているものとする。
FIG. 2(a) is input data specifying a job to be delivered by truck, and FIG. 2(b) is a diagram explaining the input data using a diagram. Further, as shown in FIG. 2(C), it is assumed that three trucks (T1, T2, and T3), which are machines that execute this job, are arranged.

この場合の制約条件は次のとおりとする。The constraint conditions in this case are as follows.

(a)トラックの初期配置(前記第2図(C))(b)
経路及び所要時間として、 営業所A−B、B−C,C−DSD−A。
(a) Initial arrangement of tracks (see Figure 2 (C) above) (b)
The route and required time are Offices A-B, B-C, and C-DSD-A.

A−C間に、すべて50分を要する。It takes 50 minutes between A and C.

(C1各トラツクに割り当てる便の所要時間は、200
分以下になること。
(The required flight time allocated to each C1 track is 200
minutes or less.

(d)全トラックを運行すること。(d) Operate all trucks.

(e)トラックの配備地点は営業所A、BSCとする。(e) The truck deployment point will be Sales Office A, BSC.

又、各トランクに割り当てた便の総研要時間の200分
を越える時間の値が評価値として定義され、判定条件と
して次の条件が指定される。
Further, the value of the time exceeding 200 minutes of the total research required time of the flight assigned to each trunk is defined as the evaluation value, and the following condition is specified as the judgment condition.

即ち、スワップ候補の現評価値の一方をe、他方を82
とし、交換実行後の新評価値をそれぞれne。
That is, one of the current evaluation values of the swap candidates is e, and the other is 82.
and the new evaluation value after the exchange is ne.

及びnezとして、 ■maに(e++ez)>IIIax(ne+、net
)又は■(e+=net)  (ex>net)又は■
(ez=net)  (e、>ne、)を満足するとき
、状態が改善されるとする。
and nez, ■ma(e++ez)>IIIax(ne+, net
) or ■ (e+=net) (ex>net) or ■
It is assumed that the condition is improved when (ez=net) (e, > ne,) is satisfied.

こ\でスワップ候補におけるジョブの部分集合の交換は
、出発点と到着点が同一のバスを構成するジョブの列に
ついて行うループスワップ(第3図(a))と、成る出
発点以降の全バスを構成するジョブの列について行うテ
ールスワップの2種類とし、このような条件のバスで出
発点を同じくするバスを2つの異なるジョブ集合から検
索して、スワップ候補とする。
In this case, the exchange of a subset of jobs in swap candidates is performed by a loop swap (Figure 3 (a)) performed for a sequence of jobs that constitute a bus with the same departure and arrival points, and by a loop swap performed for a sequence of jobs that constitute a bus with the same departure and arrival points. There are two types of tail swaps that are performed on the sequence of jobs constituting , and buses with these conditions that have the same starting point are searched from two different job sets and used as swap candidates.

以上を条件として、スケジューリングを行うために、例
えば先ず経路の順序のみを考慮して、全便をトラックT
1に割り当てた状態(第4図(a))を初期状態として
生成する。
Under the above conditions, in order to perform scheduling, for example, first consider only the route order, and all flights are
The state assigned to 1 (FIG. 4(a)) is generated as the initial state.

こ−でジョブ割当の無いトランクT2及びT3には、そ
れぞれ営業所BからB及びCからCのダミーの便割当が
あるものと見ることができる。
In this way, it can be seen that the trunks T2 and T3, which have no job assignments, have dummy flight assignments from office B to office B and office office C to office C, respectively.

そこでTlと12間のスワップ候補として、図に網かけ
を施して示す部分のループスワップをとりあげるとする
と、現在の評価値は、T1について50×12−200
で400 、 T2について−200であり、このスワ
ップを行った場合(第4図中))には、T1について0
、T2について200となるので、前記判定条件の■に
より改善が得られると判定し、交換を実行して第4図(
b)の状態を得る。
Therefore, if we take the loop swap shown in the shaded area in the figure as a swap candidate between Tl and 12, the current evaluation value is 50 x 12-200 for T1.
400 for T2, and -200 for T2, and if this swap is performed (in Figure 4), then 0 for T1.
, 200 for T2, it is determined that an improvement can be obtained according to the above-mentioned determination condition (■), and the exchange is performed to obtain the result shown in FIG.
Obtain the state b).

灰に、評価値の間隔の大きいT2と13の間のスワップ
候補を検索し、第4図(b)の状態で網かけの部分のテ
ールスワップをとりあげるとすると、このスワップ候補
の交換を実行した結果(第4図(C))の評価値は、T
2、T3何れについてもOとなるので、判定条件■によ
って改善が得られると判定し、交換を実行して第4図(
C)の状、Bを得る。この状態は制約条件をすべて満足
するので、スケジューリング解となる。
If we search for swap candidates between T2 and 13, where the interval between evaluation values is large, and pick up the tail swap in the shaded area in the state shown in Figure 4(b), we will execute the exchange of this swap candidate. The evaluation value of the result (Figure 4 (C)) is T
Since both T2 and T3 are O, it is judged that an improvement can be obtained according to the judgment condition
Condition C) and Condition B are obtained. Since this state satisfies all the constraints, it becomes a scheduling solution.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように本発明によれば、機械に
ジョブを所要の制約条件を満足するように割り当てるス
ケジューリング問題の計算機処理において、所要の制約
条件等を入力データとして、ジョブ割当の適当な初期状
態を、逐次改善して解の状態を得るので、テストを要す
る状態の数が制限されて、実用的な比較的短い処理時間
で妥当なスケジューリング解を求めることが可能になり
、又制約条件の変更に対応が容易であるという著しい工
業的効果がある。
As is clear from the above description, according to the present invention, in computer processing of a scheduling problem in which jobs are assigned to machines so as to satisfy required constraint conditions, necessary constraint conditions, etc. are used as input data, and appropriate job assignment is performed. Since the initial state is successively improved to obtain the solution state, the number of states that need to be tested is limited, making it possible to obtain a reasonable scheduling solution in a relatively short practical processing time, and also to solve the problem of constraint conditions. It has a remarkable industrial effect in that it is easy to adapt to changes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成を示す処理の流れ図、第2図はス
ケジューリング問題例の説明図、第3図はスワップ候補
の説明図、 第4図はスケジューリング処理例の説明図である。 図において、 く口          〈口          〈
口          や繊    @    @  
  城
FIG. 1 is a flowchart of processing showing the configuration of the present invention, FIG. 2 is an explanatory diagram of an example of a scheduling problem, FIG. 3 is an explanatory diagram of swap candidates, and FIG. 4 is an explanatory diagram of an example of scheduling processing. In the figure, kuguchi 〈口〈
Mouth and texture @ @
castle

Claims (1)

【特許請求の範囲】 機械を表す条件、ジョブを表す条件、及び制約条件を入
力として、該ジョブを該機械に割り当てた状態を該制約
条件を満足するように生成する処理において、 該状態の評価値及び判定条件を設け、 該制約条件のすべてを必ずしも満足しない該状態を初期
の状態として生成し(1)、 該状態が該制約条件のすべてを満足している場合に、該
状態をスケジューリング解として出力し(2、6)、 該状態が該制約条件のすべては満足していない場合には
、該状態についての該ジョブの割当の部分であって、異
なる該機械の間で交換可能な該部分をスワップ候補とし
て検索し(2、3)、該スワップ候補の該交換を実行し
た結果の該評価値が、該交換を実行する前の該評価値よ
り改善されることを、該判定条件に基づいて判定した場
合に、該交換を実行して新たな該状態を生成し(4、5
)、 該新たな状態が前記スケジューリング解になるまで、該
スワップ候補の検索と、該交換の実行を反復するように
構成されていることを特徴とするスケジューリング処理
方法。
[Claims] In a process of inputting a condition representing a machine, a condition representing a job, and a constraint condition, and generating a state in which the job is assigned to the machine so as to satisfy the constraint condition, an evaluation of the state is performed. A value and a judgment condition are set, a state that does not necessarily satisfy all of the constraints is generated as an initial state (1), and when the state satisfies all of the constraints, the state is used as a scheduling solution. (2, 6), and if the state does not satisfy all of the constraints, the state is part of the job's assignment for the state and is interchangeable between different machines. The part is searched as a swap candidate (2, 3), and the judgment condition is that the evaluation value as a result of executing the swap of the swap candidate is improved from the evaluation value before executing the swap. If it is determined based on this, the exchange is executed to generate a new state (4, 5
), a scheduling processing method comprising: repeating the search for the swap candidate and the execution of the swap until the new state becomes the scheduling solution.
JP62274089A 1987-10-29 1987-10-29 Scheduling method Pending JPH01114979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62274089A JPH01114979A (en) 1987-10-29 1987-10-29 Scheduling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62274089A JPH01114979A (en) 1987-10-29 1987-10-29 Scheduling method

Publications (1)

Publication Number Publication Date
JPH01114979A true JPH01114979A (en) 1989-05-08

Family

ID=17536827

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62274089A Pending JPH01114979A (en) 1987-10-29 1987-10-29 Scheduling method

Country Status (1)

Country Link
JP (1) JPH01114979A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358272A (en) * 1989-07-27 1991-03-13 Nec Corp Controller for event occurring time band
US5176120A (en) * 1990-05-29 1993-01-05 Toyota Jidosha Kabushiki Kaisha Fuel injector

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358272A (en) * 1989-07-27 1991-03-13 Nec Corp Controller for event occurring time band
US5176120A (en) * 1990-05-29 1993-01-05 Toyota Jidosha Kabushiki Kaisha Fuel injector

Similar Documents

Publication Publication Date Title
Glover et al. Generalized networks: A fundamental computer-based planning tool
Neufeld et al. A comprehensive review of flowshop group scheduling literature
CN105550225B (en) Index structuring method, querying method and device
JP6345873B2 (en) Method and apparatus for building a demand metamodel for high-speed trains
Orloff Routing a fleet of M vehicles to/from a central facility
Lobo et al. An effective lower bound on Lmax in a worker-constrained job shop
CN111177847A (en) Civil aircraft configuration management method and device
US20180365605A1 (en) Supply chain simulation system and supply chain simulation method
CN110245852B (en) Supply chain logistics network efficiency evaluation analysis method based on hybrid simulation
US5974355A (en) Automatic time series pattern creating method
JPH10301604A (en) Material required amount calculating device and material required amount calculating method
CN110264392A (en) A kind of strongly connected graph detection method based on more GPU
CN109885580A (en) A kind of hot spot account batch updating method, apparatus, server and storage medium
JPH01114979A (en) Scheduling method
KR100634639B1 (en) The generation method of global ship structure and vibration analysis model using ship design information in initial design stage without CAD model
Shah et al. New modeling and performance evaluation of tool sharing control in FMS using colored Petri nets
CN116384606A (en) Scheduling optimization method and system based on cooperative distribution of vehicle unmanned aerial vehicle
JP2013010388A (en) Vehicle operation plan preparation device
CN109656267B (en) Parallel cooperative test method for flight control system
Demir et al. Process planning and scheduling with WNOPPT weighted due-date assignment where earliness, tardiness and due-dates are penalized
JP5041942B2 (en) Operation allocation apparatus, operation allocation method, and program
JPS6172333A (en) Merge processing system
WO1994001826A1 (en) Systems and methods for planning and simulation
JP4801525B2 (en) Optimal solution search system, server used therefor, optimal solution search program, and recording medium
Igawa et al. A design support method for automation system configuration using model-based simulation