JPH10149347A - Resource allocation method and device therefor - Google Patents

Resource allocation method and device therefor

Info

Publication number
JPH10149347A
JPH10149347A JP30971896A JP30971896A JPH10149347A JP H10149347 A JPH10149347 A JP H10149347A JP 30971896 A JP30971896 A JP 30971896A JP 30971896 A JP30971896 A JP 30971896A JP H10149347 A JPH10149347 A JP H10149347A
Authority
JP
Japan
Prior art keywords
plan
node
nodes
resource allocation
relationship
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
JP30971896A
Other languages
Japanese (ja)
Inventor
Masaru Araki
大 荒木
Katsumi Narimatsu
克己 成松
Tetsuro Moriya
哲朗 守屋
Haruhiko Toyama
春彦 外山
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP30971896A priority Critical patent/JPH10149347A/en
Publication of JPH10149347A publication Critical patent/JPH10149347A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To make a resource allocation plan at a high speed by preparing a step where the identifier of each node is changed and given between the nodes to which the same resources cannot be allocated among those nodes corresponding to each job to have different identifiers among the nodes. SOLUTION: A graph conversion means 11 produces the graph data 3 showing the relation between jobs to which the same resources cannot be allocated based on the job data 1 and the resource data 2. A searching range change means 12 registers or changes a part where the color sorting i.e., the allocation of resources is performed as a searching range in the data 3. A graph condensing means 13 condenses the redundant part of a graph according to the characteristic of a problem. An initial color sorting means 14 sets a color at each node of the graph as an initial state. A graph color sorting means 15 changes the color of each node so as to avoid the adjacent nodes of the same color. A plan conversion means 16 converts the color sorting result of the data 3 into a resource allocation plan. A plan change means 17 manually changes a plan according to the characteristic of a problem.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、与えられた作業群
に対して、それぞれの作業を実行するために必要な設備
・要員・資材などの資源の割り当て計画を作成あるいは
修正するための資源割り当て方法及び資源割り当て装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a resource allocation for creating or modifying a resource allocation plan for a given work group, such as equipment, personnel, and materials, required to execute each work. The present invention relates to a method and a resource allocation device.

【0002】[0002]

【従来の技術】資源割り当て装置とは、与えられた作業
群に対して、各々の作業を実行するために必要な設備・
要員・資材などの資源の割り当て計画を作成あるいは修
正する計算機システムである。資源割り当て計画は、資
源の数、作業との相性、などのさまざまな制約条件を満
足し、かつ、ある目的関数を最大化あるいは最小化する
もっとも良い組み合わせであることが求められる。
2. Description of the Related Art A resource allocating apparatus is a facility and a facility necessary for executing each work for a given work group.
This is a computer system that creates or modifies the allocation plan of resources such as personnel and materials. The resource allocation plan is required to satisfy various constraints such as the number of resources and compatibility with work, and to be the best combination for maximizing or minimizing a certain objective function.

【0003】資源割り当て計画問題の利用例としては、
鉄道・バス・運送会社における乗務員運用計画や車両運
用計画の問題、あるいは時間割り作成問題などがある。
例えば、鉄道会社における車両運用問題では、作業とは
列車の運行であり、出発駅・開始時刻と終着駅・到着時
刻の組で作業データが与えられる。また、資源は鉄道会
社が所有する車両のことであり、その車両数が決まって
いる。資源割り当て計画とは、限られた数の車両を使っ
て各々の列車の運行を遂行するために、どの車両がどの
運行を担当するかを決める。すなわち、各々の運行に対
して、その運行で使用する車両を割り当てることに相当
する。
As an example of using the resource allocation planning problem,
There are problems such as crew operation plans and vehicle operation plans in railway, bus, and transportation companies, and timetable creation problems.
For example, in a vehicle operation problem in a railway company, work is operation of a train, and work data is given by a set of a departure station / start time, an end station / arrival time. The resources are vehicles owned by a railway company, and the number of vehicles is determined. The resource allocation plan determines which vehicle is in charge of each operation in order to perform the operation of each train using a limited number of vehicles. In other words, this corresponds to assigning a vehicle to be used in each operation to each operation.

【0004】資源(ここでは車両)を割り当てる際の典
型的な制約条件は、 ・作業時間が重なっている作業に同じ資源を割り当てる
ことはできない である。この条件は、車両運用計画の問題のみならず、
一般的に資源割り当て計画問題に典型的な制約条件であ
る。これ以外に、車両運用計画問題に特有な制約条件と
しては、 ・前の作業(運行)が終わる場所と次の作業(運行)の
始まる場所が異なるような2つの作業に同じ資源(車
両)を割り当てることはできない ・一定期間ごとに資源(車両)は検査を行う。この期間
中は通行に該当する作業にその資源を割り当てることは
できない がある。
[0004] Typical constraints when allocating resources (here vehicles) are:-It is not possible to allocate the same resource to tasks that have overlapping work times. This condition is not only a matter of vehicle operation planning,
In general, this is a typical constraint for resource allocation planning problems. Other constraints specific to the vehicle operation planning problem include the following:-The same resource (vehicle) is used for two operations where the previous operation (operation) ends and the next operation (operation) starts at different places. Cannot be assigned ・ Resources (vehicles) are inspected at regular intervals. During this time, the resources may not be allocated to the work that corresponds to the traffic.

【0005】このような資源割り当て計画を作るため
に、グラフカラーリングの手法を利用できることが知ら
れている。グラフカラーリングとは、ノードとそれらを
結ぶ線で表現されたグラフ上で、隣接するノードが必ず
別の色になるように各ノードに色をつける手法であり、
オペレーションズ・リサーチの分野で地図の色分け問題
として広く研究例が存在する。
It is known that a graph coloring technique can be used to create such a resource allocation plan. Graph coloring is a method of coloring each node so that adjacent nodes always have different colors on a graph expressed by nodes and lines connecting them.
In the field of operations research, there is a wide range of research examples on map color coding.

【0006】資源割り当て計画問題をグラフカラーリン
グの手法で解くためには、まず与えられた作業をグラフ
のノードとみなす。そして、同一の資源を割り当てるこ
とができない作業に対応するノードの間を線で結ぶ。こ
のようにして作成したグラフに対して、隣接するノード
が同じ色にならないように色分けを行う。
In order to solve the resource allocation planning problem by the method of graph coloring, first, a given work is regarded as a node of a graph. Then, a line is connected between nodes corresponding to tasks for which the same resource cannot be allocated. The graph created in this way is color-coded so that adjacent nodes do not have the same color.

【0007】グラフカラーリングの手法としては、最小
の色数にグラフを塗り分けるアルゴリズムと、指定した
色数に塗り分けるアルゴリズムの双方が知られている。
色の数は資源の数に対応する。資源の数があらかじめ決
まっている場合はその数で色分けを行い、資源の数を出
来るだけ少なくしたい場合は色の数を出来るだけ少なく
なるように色分けを行う。この選択は対象とする利用分
野の性質により異なる。 −般的なグラフカラーリング
のアルゴリズムでは、まずステップ1として初期解とし
て各ノードに色を適当に割り当てる。つぎに、ステップ
2として制約違反が起こっているノード、すなわち隣接
するノードが同じ色になっている枝を多く持つノード
を、そのノードの色をできるだけ隣接するノードとは異
なる色に変更する。このステップ2の操作を繰り返すこ
とによって、隣接するノード同士がすベて異なる色にな
る色分けを探索する。
[0007] As a method of graph coloring, both an algorithm for coloring a graph to the minimum number of colors and an algorithm for coloring a graph to a specified number of colors are known.
The number of colors corresponds to the number of resources. When the number of resources is determined in advance, color coding is performed based on the number. When it is desired to reduce the number of resources as much as possible, color coding is performed so that the number of colors is reduced as much as possible. This choice depends on the nature of the intended field of application. In a general graph coloring algorithm, first, as a first step, a color is appropriately assigned to each node as an initial solution. Next, in step 2, the node in which the constraint violation has occurred, that is, the node having many branches where the adjacent node has the same color is changed to a color as different as possible from the adjacent node. By repeating the operation of step 2, a search is made for color classification in which adjacent nodes are all different colors.

【0008】こうして得られたグラフの色分け結果は、
同一の色のノードに対しては同じ資源を割り当てるとい
う形に読み取ることによって、資源割り当て計画結果を
得ることができる。
[0008] The color-coded result of the graph obtained in this way is
By reading in the form of allocating the same resource to nodes of the same color, a resource allocation plan result can be obtained.

【0009】グラフカラーリングを用いた資源割り当て
計画の既存例としては試験の時間割作成問題を扱った例
がある(A.Salazar,R.V.Oakford:A Graph Formulation
of aShool Scheduling Algorithm,Communications of t
he ACM,vol17,pp696-698 (1974))。これらの例では、
試験の科目を作業とみなし、試験を行う時限を資源とみ
なす。そして、同じ生徒が受ける試験科目はおなじ時限
に行えないという制約条件をノード間の辺で表現したグ
ラフを作成する。このグラフを最も少ない色数nで色分
けすると、同じ色が割り付いた試験科目を同じ時限で行
うことで、n時限ですベての試験を行えることがわか
る。
As an existing example of a resource allocation plan using graph coloring, there is an example dealing with a test timetable creation problem (A. Salazar, RVOakford: A Graph Formulation).
of aShool Scheduling Algorithm, Communications of t
he ACM, vol17, pp696-698 (1974)). In these examples,
The subject of the examination is regarded as work, and the time limit for conducting the examination is regarded as resources. Then, a graph is created in which the constraint condition that the same subject cannot be taken in the same time period is expressed by the edge between the nodes. If this graph is color-coded by the smallest number of colors n, it can be understood that all tests can be performed in n time periods by performing the test subjects assigned the same color in the same time period.

【0010】[0010]

【発明が解決しようとする課題】ところで、従来のグラ
フカラーリングを用いた資源割り当て装置では次の問題
点がある。
However, the conventional resource allocation device using graph coloring has the following problems.

【0011】第一は、グラフの構造が密になったとき、
すなわち入力された作業の数(グラフのノードの数)
と、制約条件(ノード間を結ぶ辺の数)が増えてきたと
きに、既存のグラフカラーリングの手法では、色分けが
非常に困難になる点である。
First, when the structure of the graph becomes dense,
That is, the number of input tasks (number of nodes in the graph)
When the constraint conditions (the number of sides connecting the nodes) increase, the existing graph coloring method makes it very difficult to classify the colors.

【0012】一般に、資源割り当て装置に対する入力デ
ータである作業と資源割り当てにおける制約条件から作
成されたグラフ内には、完全部分グラフ(色の数と同じ
数のノードが互いにすべて接続を持っている構造)が数
多く含まれることが多い。この完全部分グラフの部分を
既存のカラーリングアルゴリズムで色分けを行うと、カ
ラーリングがある程度進行した状態では、隣接するノー
ドに他のすべての色が割りついている状況が発生する。
このときに、上記ステップ2で適切な色を選ぶ手続きが
ほぼ不可能になり、最終的にステップ2が無限に繰り返
されてカラーリングが終了しない状態に陥る。
In general, a graph created from work as input data to a resource allocation device and constraints on resource allocation includes a complete subgraph (a structure in which nodes of the same number as the number of colors have all connections to each other). ) Is often included. If the coloring of the complete subgraph is performed by the existing coloring algorithm, a situation occurs in which all other colors are assigned to adjacent nodes when coloring has progressed to some extent.
At this time, the procedure of selecting an appropriate color in step 2 becomes almost impossible, and eventually step 2 is repeated indefinitely, resulting in a state where coloring is not completed.

【0013】第二は、資源割り当て計画の最適化が行え
ない点である。つまり、グラフカラーリングの手法は、
グラフを最も少ない色数で塗り分ける、あるいは、指定
した色の数に塗り分けることはできるが、塗りわけ結果
は一通りしか得ることができない。通常は、塗りわけ結
果は複数の組み合わせが存在するはずであり、各資源が
担当する作業の平準化、各資源が得意とする作業をでき
るだけ割り当てるなど、利用者が欲する目的関数を最大
あるいは最小にする塗りわけの組み合わせを探索する必
要が生じる。
Second, the resource allocation plan cannot be optimized. In other words, the method of graph coloring is
The graph can be painted with the least number of colors or with the specified number of colors, but only one result can be obtained. Normally, there should be multiple combinations of coloring results, and the objective function desired by the user should be maximized or minimized, such as leveling the work assigned to each resource and allocating as much of the task that each resource is good at. It is necessary to search for a combination of different coloring.

【0014】たとえば、乗務員運用計画を例に考える
と、各乗務員が行う作業の総量ができるだけ均一になる
運用計画が求められる。こういった最適化は、前述の
「作業時間が重なっている作業に同じ資源を割り当てる
ことはできない」のような制約条件としてはグラフには
表現できない内容であり、グラフカラーリングを直接利
用した資源割り当て装置では行えない。
For example, taking a crew operation plan as an example, an operation plan that makes the total amount of work performed by each crew as uniform as possible is required. Such optimization is a content that cannot be expressed in a graph as a constraint such as the above-mentioned “the same resource cannot be allocated to work where the work time overlaps”, and resources that directly use graph coloring This cannot be done with the assignment device.

【0015】第三は、状況対応型のスケジューリングで
ある「資源の再割り当て計画」に用いることができない
点である。資源の再割り当て計画とは、過去に作成した
資源割り当て計画が実施の段階で部分的に変更されたと
きに、与えられた制約条件を満足するように、かつ、出
来るだけ少ない変更で、計画の他の部分を修正すること
である。このように、できるだけ小さい計画修正により
不測事態に対応することが従来のグラフカラーリングを
用いた資源割り当て装置では行えない。
Third, it cannot be used for "resource reassignment planning" which is a situation-responsive scheduling. A resource reallocation plan is a plan that, when a resource allocation plan created in the past is partially changed at the stage of implementation, to satisfy the given constraints and with as few changes as possible. The other part is to modify. As described above, it is not possible to cope with the contingency by modifying the plan as small as possible with the conventional resource allocation apparatus using the graph coloring.

【0016】資源の再割り当て計画の利用例は「車両運
用計画の修正」である。これは、予定されていた車両運
用計画が、事故や運転支障によって変更が生じたとき
に、変更発生日以降の運用計画を見直す問題である。一
般に、支障発生日以降の計画を完全に作り直すのではな
く、できるだけ早い日数で元の運用計画に戻るように計
画修正を行う。これは、車両検査の都合が主な理由であ
り、走行距離数に応じた検査計画の予定を車両ごとにあ
らかじめ長期間にわたって作っており、これを変更する
ことが難しいからである。
An example of using the resource reallocation plan is "modification of vehicle operation plan". This is a problem in that, when a planned vehicle operation plan is changed due to an accident or driving trouble, the operation plan after the date of the change is reviewed. In general, instead of completely recreating the plan after the trouble occurrence date, the plan is revised so as to return to the original operation plan as soon as possible. This is mainly because of the convenience of vehicle inspection, because an inspection plan according to the number of mileage is scheduled for each vehicle in advance for a long period of time, and it is difficult to change this.

【0017】本発明の目的は、入力された作業の数と制
約条件が増えてきたときにグラフ色分けに要する負担を
軽減し、資源割り当て計画の作成を高速化することがで
きる資源割り当て方法及び資源割り当て装置を提供する
ことにある。
An object of the present invention is to provide a resource allocation method and a resource which can reduce the load required for graph coloring when the number of input operations and constraints increase, and can speed up the creation of a resource allocation plan. To provide an assignment device.

【0018】本発明の更に別の目的は、評価値が良い計
画を効率良く探索し、資源割り当て計画の最適化を実現
できる資源割り当て方法及び資源割り当て装置を提供す
ることにある。
Still another object of the present invention is to provide a resource allocating method and a resource allocating apparatus capable of efficiently searching for a plan having a good evaluation value and realizing optimization of the resource allocating plan.

【0019】本発明の更に別の目的は、状況対応型のス
ケジューリングである資源の再割り当て計画を行うこと
ができる資源割り当て方法及び資源割り当て装置を提供
することにある。
Still another object of the present invention is to provide a resource allocating method and a resource allocating apparatus capable of performing a resource reallocation plan which is a situation-responsive scheduling.

【0020】[0020]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1、7記載の発明は、複数の作業に対して
それぞれ繰り返し使われる資源を割り当てる際に、前記
各作業に対応するノード間のうち同じ資源を使うことが
できないノード間に第1の関係を持たせ、同じ資源を割
り当てることが明らかなノード間を1つのノードとみな
す第2の関係を持たせ、前記第2の関係を持たせた後の
各ノードに対し、資源の数に応じた数の種類の識別子を
付与し、前記第1の関係をもったノード間が異なる識別
子となるように、各ノードの識別子を変更している。
In order to achieve the above object, according to the first and seventh aspects of the present invention, when allocating resources to be used repeatedly for a plurality of tasks, each of the tasks corresponds to each task. A first relationship is set between nodes that cannot use the same resource among the nodes, and a second relationship is set such that nodes clearly assigned to the same resource are regarded as one node. Each node after having the relationship is given a number of types of identifiers according to the number of resources, and the identifier of each node is changed so that the nodes having the first relationship have different identifiers. Has changed.

【0021】すなわち、請求項1、7記載の発明では、
例えば同一の資源を割り当てることが既知である作業に
対応するノード同士をまとめることによりグラフの縮約
を行うことで、グラフの構造が密になったとき、すなわ
ち入力された作業の数(グラフのノードの数)と制約条
件(ノード間を結ぶ辺の数)が増えてきたときにグラフ
色分けに要する負担を軽減し、資源割り当て計画の作成
を高速化することができる。
That is, according to the first and seventh aspects of the present invention,
For example, by performing graph reduction by grouping nodes corresponding to tasks for which it is known that the same resource is allocated, when the graph structure becomes dense, that is, the number of input tasks (the number of tasks in the graph) When the number of nodes and the number of constraints (the number of sides connecting nodes) increase, the load required for graph coloring can be reduced, and the creation of a resource allocation plan can be accelerated.

【0022】請求項2、8記載の本発明は、更に、請求
項1、7記載の発明において、前記第1の関係をもった
ノード間が異なる識別子となるように、各ノードの識別
子を変更した後に、当該資源割り当て計画の評価を行
い、前記資源割り当て計画の評価を複数求め、評価値の
良い資源割り当て計画を探索している。
According to the present invention as set forth in claims 2 and 8, the identifiers of the nodes are changed so that the nodes having the first relationship have different identifiers. Then, the resource allocation plan is evaluated, a plurality of evaluations of the resource allocation plan are obtained, and a resource allocation plan having a good evaluation value is searched.

【0023】これにより、複数の評価値を得ることがで
きるので、評価値が良い計画を探索でき、資源割り当て
計画の最適化が実現される。
As a result, since a plurality of evaluation values can be obtained, a plan having a good evaluation value can be searched, and optimization of a resource allocation plan is realized.

【0024】請求項3、9記載の本発明は、複数の作業
に対してそれぞれ繰り返し使われる資源を割り当てる際
に、前記各作業に対応するノード間のうち同じ資源を使
うことができないノード間に第1の関係を持たせる第1
のステップ(手段)と、前記第1の関係を持たせた後の
各ノードに対し、資源の数に応じた数の種類の識別子を
適当に付与する第2のステップ(手段)と、前記第1の
関係をもったノード間が異なる識別子となるように、各
ノードの識別子を変更する第3のステップ(手段)と、
当該資源割り当て計画の評価を行う第4のステップ(手
段)と、前記第2のステップに戻り、第1の関係を持た
せた後の各ノードに対し、資源の数に応じた数の種類の
識別子を再度適当に付与し、第3及び第4のステップを
再実行させる第5のステップ(手段)とを具備する。
According to the third and ninth aspects of the present invention, when assigning a resource to be used repeatedly to a plurality of tasks, the same resource among nodes which cannot use the same resource among the nodes corresponding to the tasks is assigned. First to have a first relationship
A second step (means) of appropriately assigning a number of types of identifiers according to the number of resources to each of the nodes after the first relationship is established; A third step (means) of changing the identifier of each node so that the nodes having the relationship of 1 have different identifiers;
A fourth step (means) for evaluating the resource allocation plan; and returning to the second step, for each node having the first relationship, the number of types corresponding to the number of resources is determined. A fifth step (means) of appropriately assigning an identifier again and re-executing the third and fourth steps.

【0025】請求項3、9記載の本発明では、複数の評
価値を得ることができ、しかもそれを効率良く算出でき
るステップで行っているので、評価値が良い計画を効率
良く探索し、資源割り当て計画の最適化を実現できる。
According to the third and ninth aspects of the present invention, since a plurality of evaluation values can be obtained and the steps can be calculated efficiently, a plan having a good evaluation value is efficiently searched for, Optimization of the allocation plan can be realized.

【0026】請求項4、10記載の本発明は、複数の作
業に対してそれぞれ繰り返し使われる資源を割り当てる
際に、前記各作業に対応するノード間のうち同じ資源を
使うことができないノード間に第1の関係を持たせる第
1のステップ(手段)と、前記第1の関係を持たせた後
の各ノードに対し、資源の数に応じた数の種類の識別子
を付与する第2のステップ(手段)と、前記第1の関係
をもったノード間が異なる識別子となるように、各ノー
ドの識別子を変更する第3のステップ(手段)と、当該
資源割り当て計画の評価を行う第4のステップ(手段)
と、前記第2のステップにおいて識別子が付与されたノ
ードのうち任意のノードについて識別子の種類を変更
し、第3及び第4のステップを再実行させる第5のステ
ップ(手段)とを具備する。
According to a fourth aspect of the present invention, when assigning a resource to be used repeatedly to a plurality of tasks, the nodes among the nodes corresponding to the tasks cannot use the same resource. A first step (means) for providing a first relationship, and a second step of providing each node having the first relationship with a number of types of identifiers corresponding to the number of resources. (Means), a third step (means) of changing the identifier of each node so that the nodes having the first relationship have different identifiers, and a fourth step of evaluating the resource allocation plan. Step (means)
And a fifth step (means) of changing the type of the identifier for an arbitrary node among the nodes to which the identifier has been assigned in the second step, and re-executing the third and fourth steps.

【0027】請求項4、10記載の本発明では、上記と
同様に、複数の評価値を得ることができ、しかもそれを
効率良く算出できるステップで行っているので、評価値
が良い計画を効率良く探索し、資源割り当て計画の最適
化を実現できる。
According to the present invention, a plurality of evaluation values can be obtained and the calculation can be efficiently performed in the same manner as described above. The search can be performed well and the resource allocation plan can be optimized.

【0028】請求項5、11記載の本発明は、複数の作
業に対してそれぞれ繰り返し使われる資源を割り当てる
際に、前記各作業に対応するノード間のうち同じ資源を
使うことができないノード間に第1の関係を持たせ、前
記第1の関係を持たせた後のノードのうち計画を修正す
べき範囲のノードを特定し、前記計画を修正すべき範囲
の各ノードに対し、資源の数に応じた数の種類の識別子
を付与し、前記計画を修正すべき範囲のノード間が異な
る識別子となるように、各ノードの識別子を変更してい
る。
According to the fifth and eleventh aspects of the present invention, when assigning a resource that is repeatedly used to a plurality of tasks, the same resource cannot be used among nodes corresponding to the tasks. A node having a first relationship, a node in a range in which the plan is to be modified among the nodes having the first relationship is identified, and the number of resources is determined for each node in the range in which the plan is to be modified. , And the identifiers of the respective nodes are changed so that the nodes in the range in which the plan is to be modified have different identifiers.

【0029】請求項5、11記載の本発明では、例えば
徐々に修正すべき範囲を変更しながら、上記処理を繰り
返し実行することによって、状況対応型のスケジューリ
ングである資源の再割り当て計画を行うことができる。
According to the fifth and eleventh aspects of the present invention, for example, the above-described processing is repeatedly executed while gradually changing the range to be corrected, thereby performing a resource reallocation plan which is a situation-responsive scheduling. Can be.

【0030】請求項6、12記載の本発明は、更に、請
求項5、11記載の発明において、前記計画を修正すべ
き範囲のノード間が異なる識別子となるように、各ノー
ドの識別子を変更した後に、当該資源割り当て計画の評
価を行い、前記資源割り当て計画の評価を複数求め、評
価値の良い資源割り当て計画を探索している。
According to the present invention described in claims 6 and 12, the identifiers of the respective nodes are changed so that the nodes in the range in which the plan is to be modified have different identifiers. Then, the resource allocation plan is evaluated, a plurality of evaluations of the resource allocation plan are obtained, and a resource allocation plan having a good evaluation value is searched.

【0031】これにより、複数の評価値を得ることがで
きるので、評価値が良い計画を探索でき、資源割り当て
計画の最適化が実現される。
As a result, a plurality of evaluation values can be obtained, so that a plan with a good evaluation value can be searched, and optimization of a resource allocation plan is realized.

【0032】なお、本発明の方法等で作成した資源割り
当て計画を利用者に提示する計画表示機能と、利用者が
資源計画割り当て計画を変更す編集機能を備えた計画変
更手段を有するように構成しても良い。これにより、作
成された計画に対して利用者が自由に編集を加えること
ができるようになり、利用者の利便にあわせた運用を行
うことができる。
It should be noted that the system has a plan display function for presenting the resource allocation plan created by the method of the present invention to the user and a plan changing means having an editing function for the user to change the resource plan allocation plan. You may. As a result, the user can freely edit the created plan, and the operation can be performed according to the convenience of the user.

【0033】また、利用者が計画を編集したときに、同
一の資源を割り当てることができない作業に対応するノ
ードの間を線で結んだグラフの上で条件違反の有無を判
定して利用者に通知するようにしてもよい。
Further, when the user edits the plan, the presence or absence of a condition violation is determined on the graph connecting the nodes corresponding to the tasks for which the same resources cannot be allocated by lines, and You may make it notify.

【0034】更に、グラフ色分けの手法を使用して資源
割り当てを行った結果に対して、さらに手続き的な修正
手順あるいは書き換えルールを用いて計画修正を自動的
に行う手段を備えるように構成してもよい。これによ
り、生成される計画の質を向上させることができる。
Further, the system is provided with means for automatically performing a plan correction using a procedural correction procedure or a rewrite rule with respect to a result of resource allocation using the graph coloring technique. Is also good. Thereby, the quality of the generated plan can be improved.

【0035】また、本発明は、記録媒体にも適用するこ
とが可能である。
The present invention can also be applied to a recording medium.

【0036】すなわち、複数の作業に対してそれぞれ繰
り返し使われる資源を割り当てる際に、前記各作業に対
応するノード間のうち同じ資源を割り当てることができ
ないノード間に第1の関係を持たせるステップと、同じ
資源を割り当てることができるノード間を1つのノード
とみなす第2の関係を持たせるステップと、前記第2の
関係を持たせた後の各ノードに対し、資源の数に応じた
数の種類の識別子を付与するステップと、前記第1の関
係をもったノード間が異なる識別子となるように、各ノ
ードの識別子を変更するステップとを具備することを特
徴とする、記録媒体を提供可能である。この場合に、前
記第1の関係をもったノード間が異なる識別子となるよ
うに、各ノードの識別子を変更した後に、当該資源割り
当て計画の評価を行うステップと、前記資源割り当て計
画の評価を複数求め、評価値の良い資源割り当て計画を
探索するステップとをさらに具備することを特徴とす
る、録媒体を提供可能である。
That is, when assigning a resource that is repeatedly used to each of a plurality of tasks, a first relationship is established between nodes corresponding to the respective tasks and to which the same resource cannot be assigned. Providing a second relationship that regards nodes to which the same resource can be allocated as one node; and providing each node having the second relationship with a number corresponding to the number of resources. Providing a recording medium, comprising: a step of assigning an identifier of a type; and a step of changing an identifier of each node so that nodes having the first relationship have different identifiers. It is. In this case, after changing the identifier of each node so that the nodes having the first relationship have different identifiers, evaluating the resource allocation plan; And searching for a resource allocation plan with a good evaluation value.

【0037】複数の作業に対してそれぞれ繰り返し使わ
れる資源を割り当てる際に、前記各作業に対応するノー
ド間のうち同じ資源を割り当てることができないノード
間に第1の関係を持たせる第1のステップと、前記第1
の関係を持たせた後の各ノードに対し、資源の数に応じ
た数の種類の識別子を適当に付与する第2のステップ
と、前記第1の関係をもったノード間が異なる識別子と
なるように、各ノードの識別子を変更する第3のステッ
プと、当該資源割り当て計画の評価を行う第4のステッ
プと、前記第2のステップに戻り、第1の関係を持たせ
た後の各ノードに対し、資源の数に応じた数の種類の識
別子を再度適当に付与し、第3及び第4のステップを再
実行させる第5のステップとを具備することを特徴とす
る、記録媒体を提供可能である。
When allocating resources to be used repeatedly to a plurality of tasks, a first step of providing a first relationship between nodes that cannot be assigned the same resource among nodes corresponding to the tasks. And the first
A second step of appropriately assigning the number of types of identifiers corresponding to the number of resources to each of the nodes having the above relationship, and different identifiers between the nodes having the first relationship. As described above, the third step of changing the identifier of each node, the fourth step of evaluating the resource allocation plan, and returning to the second step, each of the nodes after having the first relationship. And a fifth step of appropriately re-assigning a number of types of identifiers corresponding to the number of resources to re-execute the third and fourth steps. It is possible.

【0038】複数の作業に対してそれぞれ繰り返し使わ
れる資源を割り当てる際に、前記各作業に対応するノー
ド間のうち同じ資源を割り当てることができないノード
間に第1の関係を持たせる第1のステップと、前記第1
の関係を持たせた後の各ノードに対し、資源の数に応じ
た数の種類の識別子を付与する第2のステップと、前記
第1の関係をもったノード間が異なる識別子となるよう
に、各ノードの識別子を変更する第3のステップと、当
該資源割り当て計画の評価を行う第4のステップと、前
記第2のステップにおいて識別子が付与されたノードの
うち任意のノードについて識別子の種類を変更し、第3
及び第4のステップを再実行させる第5のステップとを
具備することを特徴とする、記録媒体を提供可能であ
る。
When allocating resources to be used repeatedly to a plurality of tasks, a first step of providing a first relationship between nodes to which the same resource cannot be assigned among nodes corresponding to the tasks. And the first
A second step of assigning the number of types of identifiers corresponding to the number of resources to each of the nodes having the relationship of the above, so that the nodes having the first relationship have different identifiers. A third step of changing the identifier of each node, a fourth step of evaluating the resource allocation plan, and changing the type of the identifier for an arbitrary node among the nodes to which the identifier has been assigned in the second step. Change the third
And a fifth step of re-executing the fourth step.

【0039】複数の作業に対してそれぞれ繰り返し使わ
れる資源を割り当てる際に、前記各作業に対応するノー
ド間のうち同じ資源を割り当てることができないノード
間に第1の関係を持たせるテップと、前記第1の関係を
持たせた後のノードのうち計画を修正すべき範囲のノー
ドを特定するステップと、前記計画を修正すべき範囲の
各ノードに対し、資源の数に応じた数の種類の識別子を
付与するステップと、前記計画を修正すべき範囲のノー
ド間が異なる識別子となるように、各ノードの識別子を
変更するステップとを具備することを特徴とする、記録
媒体を提供可能である。この場合、前記計画を修正すべ
き範囲のノード間が異なる識別子となるように、各ノー
ドの識別子を変更した後に、当該資源割り当て計画の評
価を行うステップと、前記資源割り当て計画の評価を複
数求め、評価値の良い資源割り当て計画を探索するステ
ップとをさらに具備することを特徴とする、記録媒体を
提供可能である。
A step of assigning a first relationship between nodes which cannot be assigned the same resource among nodes corresponding to each of the tasks when assigning resources to be used repeatedly for a plurality of tasks; Identifying the nodes in the range in which the plan is to be modified among the nodes after the first relation is established; and providing, for each node in the range in which the plan is to be modified, a number of types corresponding to the number of resources It is possible to provide a recording medium characterized by comprising a step of assigning an identifier and a step of changing the identifier of each node so that the nodes in the range in which the plan is to be modified are different identifiers. . In this case, after changing the identifier of each node so that the nodes in the range in which the plan is to be corrected have different identifiers, evaluating the resource allocation plan; and determining a plurality of evaluations of the resource allocation plan. And a step of searching for a resource allocation plan having a good evaluation value.

【0040】[0040]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づき詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0041】図1は一実施形態に係る資源割り当て計画
装置の構成を示すブロック図である。本実施形態に係る
装置は例えばコンピュータ上に実現されるもので、この
装置の各機能は、計算機プログラムとして格納された所
定の手順でコンピュータを動作させることによって実現
されている。しかし、専用装置とすることも可能であ
る。 図1に示す資源割り当て計画装置は、作業データ
1と資源データ2から、同一資源を割り当てることが不
可能な作業の関係を表現したグラフデータ3を作成する
グラフ変換手段11と、グラフデータ3の中で色分けす
なわち資源の割り当てを行う部分を探索範囲として登録
あるいは変更する探索範囲変更手段12と、問題の特性
に応じてグラフの冗長部分を縮約するグラフ縮約手段1
3と、グラフの各ノードに初期状態としての色を設定す
る初期色分け手段14と、隣接するノードが同一色にな
らないように各ノードの色を変更するグラフ色分け手段
15と、グラフデータ3の色分け結果を資源割り当て計
画に変換する計画変換手段16と、問題の特性に応じた
ヒューリスティックあるいは手動により計画を変更する
計画変更手段17と、作成された資源割り当て計画の評
価を行う計画評価手段18とを有する。
FIG. 1 is a block diagram showing a configuration of a resource allocation planning device according to one embodiment. The device according to the present embodiment is realized, for example, on a computer, and each function of the device is realized by operating the computer according to a predetermined procedure stored as a computer program. However, it is also possible to use a dedicated device. The resource allocation planning device shown in FIG. 1 includes a graph conversion unit 11 that creates, from work data 1 and resource data 2, graph data 3 that expresses the relationship of work in which the same resource cannot be allocated, A search range changing unit 12 for registering or changing a portion where color classification, that is, resource allocation is performed as a search range, and a graph reducing unit 1 for reducing a redundant portion of a graph according to a characteristic of a problem.
3, an initial color classifying unit 14 for setting a color as an initial state for each node of the graph, a graph color classifying unit 15 for changing the color of each node so that adjacent nodes do not become the same color, and a color classification of the graph data 3. Plan conversion means 16 for converting the result into a resource allocation plan, plan change means 17 for changing the plan heuristically or manually according to the problem characteristics, and plan evaluation means 18 for evaluating the created resource allocation plan. Have.

【0042】ここで、本装置が列車の車両割り当てを行
う場合を例とする。しかし、本装置は勿論他のシステム
にも適用可能である。
Here, a case is described in which the present apparatus assigns a train to a train. However, the present apparatus is of course applicable to other systems.

【0043】本装置では、作業とは列車の運行であり、
出発駅・開始時刻と終着駅・到着時刻の組で作業データ
が与えられる。また、資源は鉄道会社が所有する車両編
成のことであり、その編成数が決まっている。
In the present device, the work is the operation of the train,
Work data is given by a set of departure station / start time and end station / arrival time. The resources are the rolling stocks owned by the railway company, and the number of rolling stocks is determined.

【0044】装置の目的は、どの車両編成がどの運行を
担当するかを決める、すなわち、各々の運行に対して、
その運行で使用する車両を割り当てることである。ま
た、資源割り当て最適化の条件として、できるかぎり各
車両に割り当てる作業時間、すなわち走行時間を平準化
することとする。
The purpose of the device is to determine which trains are responsible for which operations, ie for each operation,
The assignment of vehicles to be used in the operation. As a condition for optimizing the resource allocation, the work time allocated to each vehicle, that is, the running time, is to be leveled as much as possible.

【0045】資源割り当て計画の作成は、図2に示す手
順で行われる。
The creation of the resource allocation plan is performed according to the procedure shown in FIG.

【0046】また、図3に本例における作業データを示
す。図3には4日間に計16の作業があることを示す。
例えば21日は21−1、21−2、21−3、21−
4の4つの作業がある。図3では、一つの線が一つの作
業を示し、線の描画位置が作業の実行すベき時間帯を示
す。また、線の両端の記号は作業を開始する場所と終了
する場所を示す。すなわち、作業21−1はAを21日
の午前中に出発して昼頃にAに戻る作業である。作業2
1−2は21日の昼過ぎにAを出発して夜にBで終了す
る作業である。作業21−3は21日の朝にBを出発し
夜にAで終了する作業である。作業21−4は21日の
昼過ぎにAを出発し夜にAに戻る作業である。
FIG. 3 shows work data in this example. FIG. 3 shows that there are a total of 16 operations in four days.
For example, on the 21st, 21-1, 21-2, 21-3, 21-
There are four tasks: In FIG. 3, one line indicates one operation, and the drawing position of the line indicates a time period during which the operation should be performed. In addition, symbols at both ends of the line indicate a place where work is started and a place where work is finished. That is, the work 21-1 is a work that leaves A in the morning of the 21st and returns to A around noon. Work 2
1-2 is a task to depart from A after noon on the 21st and end at B at night. Operation 21-3 is an operation to depart from B on the morning of the 21st and end at A at night. The work 21-4 is a work to leave A just after noon on the 21st and return to A at night.

【0047】また、図4に本例における資源データを示
す。図4では#1、#2、#3の3つの車両編成がある
ことが示される。
FIG. 4 shows resource data in this example. FIG. 4 shows that there are three rolling-stock sets # 1, # 2, and # 3.

【0048】以下、図2のフローチャート並びに図3お
よび図4のデータを用いて、本装置による21日から2
4日までの資源割り当て計画作成の具体的手順を示す。
Hereinafter, using the flow chart of FIG. 2 and the data of FIG. 3 and FIG.
The specific procedure for creating a resource allocation plan up to 4 days is shown.

【0049】まず、図3の作業データをグラフデータに
変換する(ステップ21)。これには、まず図3の作業
データの一つ一つの作業を頂点で表す。この結果を図5
に示す。すなわち、線で表現された各作業データをそれ
ぞれノード(頂点)で表す。次に、同じ資源(車両編
成)を使うことができない2つの頂点(作業)を線で結
ぶ。例えば、車両運用計画においては、「同じ時刻に走
っている組み合わせ」と「出発地と終着地の都合で同じ
資源を使えない組み合わせ」が同じ資源を使うことがで
きない。したがってこれらの関係にある頂点を線で結
ぶ。結果として、図6のグラフが得られる。なお、この
ように同一資源の割り当てが不可能になる作業の組み合
わせの条件は、本装置を利用する問題の特性により自由
に構成できる。
First, the work data of FIG. 3 is converted into graph data (step 21). For this, first, each work in the work data of FIG. 3 is represented by a vertex. This result is shown in FIG.
Shown in That is, each piece of work data represented by a line is represented by a node (vertex). Next, two vertices (operations) that cannot use the same resource (car formation) are connected by a line. For example, in the vehicle operation plan, the "combination running at the same time" and the "combination in which the same resource cannot be used due to the departure point and the end point" cannot use the same resource. Therefore, these vertices are connected by a line. As a result, the graph of FIG. 6 is obtained. The condition of the combination of the work in which the assignment of the same resource becomes impossible as described above can be freely configured according to the characteristics of the problem using the present apparatus.

【0050】ここで、図6の点線で囲まれた部分につい
て説明する。21−2と22−1は日をまたがる隣接す
る運用でかつ、21−2の終了場所Bと22−1の開始
場所Αが異なるために同一の資源(車両)は割り当て不
可である。21−2と21−3は同一の時間帯の運用で
あるので同一資源(車両)は割り当て不可である。
Here, a portion surrounded by a dotted line in FIG. 6 will be described. The same resources (vehicles) cannot be allocated to 21-2 and 22-1 because they are adjacent operations across days and the end location B of 21-2 and the start location Α of 22-1 are different. Since 21-2 and 21-3 operate in the same time zone, the same resource (vehicle) cannot be allocated.

【0051】次に、このグラフを縮約する(ステップ2
2)。すなわち、同じ資源(車両)を割り当てることが
明らかな運用については一つのノードにまとめる。例え
ば、車両運用計画においては、開始場所と終了場所の関
係から、他の編成への割り当てができない運用同士がこ
れに該当する。例えば、運用21−2は終了場所がBで
あり、翌日の22日にBを出発する運用は22−3しか
ない。したがって、21−2と22−3は必ず同じ車両
編成を割り当てる必要がある。そこで、この2つのノー
ドは一つのノードにまとめる。このようにして、21−
2と22−3、22−2と23−3、23−2と24−
3のまとめを行った結果が図7である。なお、このよう
にノードをまとめる条件は、本装置を利用する問題の特
性により自由に構成できる。
Next, this graph is contracted (step 2).
2). That is, operations that are clearly assigned the same resource (vehicle) are collected into one node. For example, in a vehicle operation plan, operations that cannot be assigned to other formations correspond to this because of the relationship between the start location and the end location. For example, in operation 21-2, the end location is B, and there is only operation 22-3 that departs from B on the 22nd of the next day. Therefore, it is necessary that 21-2 and 22-3 always assign the same vehicle formation. Therefore, these two nodes are combined into one node. Thus, 21-
2 and 22-3, 22-2 and 23-3, 23-2 and 24-
FIG. 7 shows the result of summarizing No. 3. The conditions for grouping the nodes can be freely configured depending on the characteristics of the problem using the present apparatus.

【0052】次に、グラフデータの各頂点に資源(車
両)の数の色数で初期色分けを行う(ステップ24)。
この方法は例えば乱数によって行えばよい。黒、灰、白
の3色で図7の各ノードに適当に色をつけた結果が図8
である。
Next, initial color classification is performed on each vertex of the graph data by the number of colors of the resources (vehicles) (step 24).
This method may be performed using, for example, random numbers. FIG. 8 shows the result of appropriately coloring each node in FIG. 7 with three colors of black, gray, and white.
It is.

【0053】次に、グラフデータの隣接する頂点が同一
の色にならないように頂点の色の変更を行う(ステップ
25)。この方法は、さまざまな方法が知られており、
本装置の目的を逸しない範囲で自由に用いることができ
る。例えば、「An Application of the Life Span Meth
od to the Graph Coloring Problem、統計数理研究所共
同リポート53「最適化:モデリングとアルゴリズム
4」、105−137、(1994)」記載のLife Spa
n Methodでは、 V:={V,…,V}={グラフのノード全体} color(i):=ノードViに割り当てられた色 C(i,m):=ノードViに隣接するノードで、色m
が割り当てられているノードの個数。 bad-degree(i):=C(i,color(i))=ノードV
iに隣接する同じ色のノードの個数。 LS(i):=ノードViのライフスパン(iをインデ
ックスとする整数変数) LTΜ(i,m):=ノードViの色をmに変更した回
数。 とし、パラメータとして、 min-tabu-length :=正の整数定数 max-tabu-length :=min-tabu-length より大きい正の
整数定数 α :=正の定数 を与えたときに、k色の色(整数1,…,k)に色分け
をする手続きの一例は図9に示す通りである。
Next, the colors of the vertices are changed so that adjacent vertices of the graph data do not have the same color (step 25). There are various known methods,
The device can be used freely without departing from the purpose of the device. For example, "An Application of the Life Span Meth
Life Spa described in od to the Graph Coloring Problem, Statistical Mathematics Institute joint report 53, “Optimization: Modeling and Algorithm 4”, 105-137, (1994).
In the n Method, V: = {V 1 ,..., V n } = {the entire node of the graph} color (i): = color assigned to node Vi C (i, m): = node adjacent to node Vi And the color m
The number of nodes to which is assigned. bad-degree (i): = C (i, color (i)) = node V
Number of nodes of the same color adjacent to i. LS (i): = life span of node Vi (integer variable using i as an index) LTΜ (i, m): = number of times the color of node Vi has been changed to m. When the parameter min-tabu-length: = positive integer constant max-tabu-length: = positive integer constant larger than min-tabu-length α: = positive constant, the color of k color An example of a procedure for color-coding (integers 1,..., K) is as shown in FIG.

【0054】図9の手順により色分けを行った結果が図
10である。
FIG. 10 shows the result of performing the color classification according to the procedure of FIG.

【0055】次に、図10の色分け結果を基に色と資源
(車両編成)の対応づけを行い、資源割り当て計画(車
両運用計画)データを作成する(ステップ25)。図1
1に図10の結果から得られた資源割り当て計画(車両
運用計画)を示す。
Next, the colors are associated with the resources (vehicle formation) based on the color classification results in FIG. 10, and resource allocation plan (vehicle operation plan) data is created (step 25). FIG.
FIG. 1 shows a resource allocation plan (vehicle operation plan) obtained from the results of FIG.

【0056】次に、これまでの手順で作成された資源割
り当て計画の評価を行う(ステップ26)。本例では、
各車両に割り当てる作業時間の平準化が目的であるの
で、#1、#2、#3のそれぞれの車両編成に21日か
ら24日に割り当てられた作業の合計時間の分散値を計
画に対する評価値として算出する。本例では、この評価
値が小さい計画ほど、より好ましい資源割り当て計画
(車両運用計画)とみなせる。この評価値の算出方法
は、本装置を利用する問題の特性により自由に構成でき
る。
Next, the resource allocation plan created by the above procedure is evaluated (step 26). In this example,
Since the purpose is to equalize the work time allocated to each vehicle, the variance value of the total time of the work allocated to each of the vehicle formations # 1, # 2, and # 3 from the 21st to the 24th is the evaluation value for the plan. Is calculated as In this example, a plan with a smaller evaluation value can be regarded as a more preferable resource allocation plan (vehicle operation plan). The method of calculating the evaluation value can be freely configured depending on the characteristics of the problem using the present apparatus.

【0057】また、ステップ26では、ステップ23か
らステップ25を繰り返し実行する際に、最も良い評価
値を持つ資源割り当て計画を保持し、今回作成された計
画の評価値とを比較し、改善された場合は、保持してお
く計画を交換する。
In step 26, when step 23 to step 25 are repeatedly executed, the resource allocation plan having the best evaluation value is held and compared with the evaluation value of the plan created this time. If you want to keep, exchange plans.

【0058】次に、資源割り当て計画の作成を終了する
か継続するかの判断を行う(ステップ27)。終了を判
断する方法は、ステップ23からステップ26までの一
連の手順を指定回数繰り返したときに、評価値が希望の
値以下(あるいは以上)になったとき、または繰り返し
による評価値の改善が見られなくなったとき、といった
条件で判断する。この終了判断方法は、本装置を利用す
る問題の特性により自由に構成できる。
Next, it is determined whether the creation of the resource allocation plan is completed or continued (step 27). The end is determined by repeating the procedure from step 23 to step 26 a specified number of times, when the evaluation value falls below (or above) the desired value, or when the evaluation value is improved by repetition. Judgment is made based on conditions such as when it is no longer possible. This end determination method can be freely configured depending on the characteristics of the problem using the present apparatus.

【0059】ステップ27で資源割り当て計画の作成を
継続すると判断した場合は、ステップ23に戻る。ステ
ップ23では、グラフデータのノードの色をいったん消
して、乱数によって初期色分けを行う。ステップ24で
は新しい初期色分けの結果からグラフの色分けを行う。
一般に、隣接するノードがすべて別の色になるようなグ
ラフの色分けは複数通りが可能であるので、初期色分け
の結果に応じて、ステップ24は異なる結果を出す。
If it is determined in step 27 that the creation of the resource allocation plan is to be continued, the process returns to step 23. In step 23, the colors of the nodes in the graph data are once erased, and the initial colors are classified by random numbers. In step 24, the graph is color-coded based on the new initial color-coding results.
In general, there are a plurality of types of color coding of a graph in which all adjacent nodes are different colors, so that the step 24 produces a different result depending on the result of the initial color coding.

【0060】ステップ27において終了と判断したとき
にステップ26で保持されている資源割り当て計画が、
本装置の出力結果となる。
When it is determined in step 27 that the process has been completed, the resource allocation plan held in step 26 becomes
This is the output result of this device.

【0061】次に、本発明の他の実施形態を説明する。Next, another embodiment of the present invention will be described.

【0062】この実施形態では、資源割り当て計画の修
正を行っている。資源割り当て計画の修正とは、資源割
り当て計画が部分的に変更されたときに、与えられた制
約条件を満足するように、かつ、出来るだけ少ない変更
で、計画の他の部分を修正することである。
In this embodiment, the resource allocation plan is modified. Modification of a resource allocation plan is to modify other parts of the resource allocation plan so as to satisfy given constraints and with as few changes as possible when the plan is partially changed. is there.

【0063】以下では、列車の車両割り当ての修正を例
にする。この例も最初の例と同様に、作業とは列車の運
行であり、出発駅・開始時刻と終着駅・到着時刻の組で
作業データが与えられる。また、資源は鉄道会社が所有
する車両編成のことであり、その編成数が決まってい
る。
In the following, correction of the vehicle assignment of a train will be described as an example. In this example, similarly to the first example, the work is the operation of the train, and the work data is given by a set of the departure station / start time and the end station / arrival time. The resources are the rolling stocks owned by the railway company, and the number of rolling stocks is determined.

【0064】この装置の目的は、予定されていた車両運
用計画が、事故や運転支障によって変更が生じたとき
に、変更発生日以降の運用計画を見直すことである。ま
た、資源再割り当て最適化の条件が、できるだけ早い日
数で元の運用計画に戻るように計画修正を行うことであ
る。資源割り当て計画の作成は、図12に示す手順で行
われる。
The purpose of this device is to review the operation plan after the date of the change when the planned vehicle operation plan is changed due to an accident or driving trouble. The condition of the resource reallocation optimization is to modify the plan so that the operation plan returns to the original operation plan as soon as possible. The creation of the resource allocation plan is performed according to the procedure shown in FIG.

【0065】ここでは、入カデータとしては、最初の例
と同じ図3および図4のデータがそれぞれ作業データと
資源データとして与えられたとする。また、図13は修
正前のオリジナルの車両運用計画である。
Here, as input data, it is assumed that the same data in FIGS. 3 and 4 as the first example are given as work data and resource data, respectively. FIG. 13 shows an original vehicle operation plan before correction.

【0066】図13の運用計画においては、21日に事
故等が発生したために途中駅での車両交換などが発生
し、車両運用の変更が発生したと考える。この結果、2
1日の最終時点で、各編成が予定とは異なる配置になっ
たとする。この変更を図14の21日の欄に示す。
In the operation plan shown in FIG. 13, it is assumed that a vehicle replacement or the like at a station on the way occurs due to an accident or the like on the 21st and a change in vehicle operation occurs. As a result, 2
Assume that at the end of the day, the arrangements are arranged differently from the schedule. This change is shown in the 21st column of FIG.

【0067】図14の21日の運用実績に対して、22
日以降の運用計画では支障が発生する。たとえば、編成
#1は21日の夜はAで停泊するが、22日の予定が運
用22−3であり、この運用はBから出発する運用とな
っている。したがって、この部分には不具合がある。こ
のような不具合を解消するために、22日以降の運用計
画を修正する必要が生じる。
The operation result on the 21st in FIG.
Problems will occur in the operation plan after the day. For example, the formation # 1 is berthed at A on the night of the 21st, but the schedule on the 22nd is operation 22-3, and this operation is an operation starting from B. Therefore, there is a defect in this part. In order to solve such a problem, it is necessary to correct the operation plan after the 22nd.

【0068】以下、本装置による22日以降の車両運用
計画修正の具体的手順を示す。
Hereinafter, a specific procedure for correcting the vehicle operation plan after 22 days by the present apparatus will be described.

【0069】まず、図13の21日から24日までの作
業データをグラフデータに変換する(ステップ31)。
この手順は図2におけるステップ21と同じである。こ
の結果は図5である。
First, the work data from the 21st to the 24th in FIG. 13 is converted into graph data (step 31).
This procedure is the same as step 21 in FIG. FIG. 5 shows the result.

【0070】次に、計画修正の影響の及ぶ探索範囲の設
定を行う(ステップ32)。この探索範囲には、初期事
象、つまり車両運用(資源割り当て)が変更された作業
(実施例においては21日の運用)は必ず含める。ま
た、探索範囲は始めは狭く設定する。そして、以下のス
テップ33からステップ37の一連のステップで、この
探索範囲内だけで計画修正の収束が可能であるかを調べ
る。これに失敗した揚合は、成功するまで徐々に探索範
囲を広げる。
Next, a search range affected by the plan correction is set (step 32). This search range always includes the initial event, that is, the work in which the vehicle operation (resource allocation) is changed (the operation on the 21st in the embodiment). The search range is initially set to be narrow. Then, in the following series of steps 33 to 37, it is checked whether the convergence of the plan correction is possible only within this search range. If he fails to do so, he gradually expands his search range until he succeeds.

【0071】ここでは、運用変更が発生した日、すなわ
ち21日と翌日の22日を第1回目の探索範囲とし、ス
テップ33からステップ37の一連のステップで、この
探索範囲内だけで計画修正の収束が可能であるかを調
べ、失敗した場合は範囲を1日ずつ広げるとする。この
探索範囲の設定方法は、本装置を利用する問題の特性に
より自由に構成できる。
Here, the day on which the operation change occurred, that is, the 21st day and the 22nd day of the next day are set as the first search range, and in a series of steps from step 33 to step 37, the plan correction is performed only within this search range. It is checked whether convergence is possible, and if it fails, the range is extended one day at a time. This search range setting method can be freely configured depending on the characteristics of the problem using the present apparatus.

【0072】以下の説明では、目標日を24日に設定し
た探索、すなわち24日の運用が予定通りとなるような
計画修正ができるかどうかを探索することを考える。
In the following description, a search in which the target date is set to 24 days, that is, a search as to whether or not the plan can be corrected so that the operation on 24 days is as scheduled will be considered.

【0073】次に、同じ資源(車両)を割り当てること
が明らかな運用についてはノードをまとめる(ステップ
33)。これは、図2におけるステップ22と同様であ
る。次に、図3の作業データをグラフデータに変換する
(ステップ33)。これは、図2のステップ21と同様
である。これにより図6のグラフデータを得る。さら
に、運用変更の生じた日と目標日で同じ車両編成が割り
当てられているノードを一つにまとめる。例えば、図1
4において、21日の運用21−4には#2の編成が使
われ、24日の運用24−3に#2の編成が計画では割
り当てられているので、これらを同じノードにまとめ
る。このように、「21−3、24−1、24−2」
「21−4、24−3」「21−1、21−2、24−
4」がそれぞれ一つのノードにまとめることができる。
この結果を図15に示す。
Next, for operations that are clearly assigned the same resource (vehicle), the nodes are put together (step 33). This is similar to step 22 in FIG. Next, the work data of FIG. 3 is converted into graph data (step 33). This is similar to step 21 in FIG. Thereby, the graph data of FIG. 6 is obtained. Further, the nodes to which the same vehicle organization is assigned on the day when the operation change occurs and the target day are combined into one. For example, FIG.
In 4, the # 2 organization is used for the operation 21-4 on the 21st, and the # 2 organization is assigned to the operation 24-3 on the 24th in the plan. Thus, “21-3, 24-1, 24-2”
"21-4, 24-3""21-1, 21-2, 24-"
4 "can be collected into one node.
The result is shown in FIG.

【0074】次に、グラフデータの各頂点に資源(車
両)の数の色数で初期色分けを行う(ステップ35)。
この方法は、元の計画、すなわち、図14を使う。こう
することによって、オリジナルの計画に対して変更が行
われたところに関連する部分にのみ制約違反の解消操作
が行われることが期待でき、計画の修正を最小限に押さ
えることができる。
Next, initial color classification is performed on each vertex of the graph data by the number of colors of the resources (vehicles) (step 35).
This method uses the original plan, FIG. By doing so, it can be expected that the operation of resolving the constraint violation will be performed only on the portion related to the place where the change was made to the original plan, and the plan modification can be minimized.

【0075】図15のグラフデータに図14の計画を基
に色を割り当てた結果が図16である。
FIG. 16 shows the result of assigning colors to the graph data of FIG. 15 based on the plan of FIG.

【0076】次に、グラフデータの隣接する頂点が同一
の色にならないように頂点の色の変更を行う(ステップ
36)。この方法は、図2におけるステップ25と同じ
である。図9の手順により色分けを行った結果が図17
である。
Next, the colors of the vertices are changed so that the adjacent vertices of the graph data do not have the same color (step 36). This method is the same as step 25 in FIG. FIG. 17 shows the result of performing color coding according to the procedure of FIG.
It is.

【0077】図17の色分け結果を基に色と資源(車両
編成)の対応づけを行い、資源割り当て修正計画(車両
運用修正計画)データを作成する(ステップ36)。図
18に図17の結果から得られた資源割り当て修正計画
(車両運用修正計画)を示す。図18において紗がかか
った部分がオリジナルの計画に対して変更がある部分で
ある。
Based on the color classification results shown in FIG. 17, colors are associated with resources (vehicle formation), and resource allocation correction plan (vehicle operation correction plan) data is created (step 36). FIG. 18 shows a resource allocation correction plan (vehicle operation correction plan) obtained from the results of FIG. In FIG. 18, the shaded portion is the portion where the original plan is changed.

【0078】次に、資源割り当て修正計画の作成を終了
するか継続するかの判断を行う(ステップ37)。終了
を判断する方法は、ステップ36で色分けが成功したか
否かで判断する。ステップ36で色分けが失敗した場合
は、ステップ32に戻り、探索範囲を広げてからグラフ
の色分けを行う。ステップ36で色分けが成功した場合
は、ステップ36で得られた資源割り当て修正計画が、
本装置の出力結果となる。
Next, it is determined whether to end or continue the creation of the resource allocation correction plan (step 37). The method of determining the end is determined by whether or not the color coding is successful in step 36. If the color coding fails in step 36, the process returns to step 32, where the search range is expanded and then the graph is colored. If the color coding is successful in step 36, the resource allocation modification plan obtained in step 36 is
This is the output result of this device.

【0079】なお、本発明は、上記の実施例に限定され
るものではなく、その要旨を逸脱しない範囲で種々変形
して実施することができるものであるから、次に例示す
るような他の実施例をも包含するものである。
The present invention is not limited to the above-described embodiment, but can be implemented in various modifications without departing from the gist of the present invention. Examples are also included.

【0080】例えば、本発明の適用対象となる資源割り
当て計画および資源割り当て修正計画は、列車の車両運
用計画には限定されず、鉄道・バス・運送会社における
乗務員運用計画や車両運用計画の問題、あるいは時間割
り作成問題など、与えられた作業群に対して、各々の作
業を実行するために必要な設備・要員・資材などの資源
の割り当て計画を作成あるいは修正する計算機システム
に対して適用可能である。
For example, the resource allocation plan and the resource allocation correction plan to which the present invention is applied are not limited to the train operation plan of the train, but are not limited to the crew operation plan and the vehicle operation plan in the railway, bus, and transportation companies. Alternatively, it can be applied to a computer system that creates or corrects a resource allocation plan such as equipment, personnel, and materials necessary to execute each work for a given work group, such as a timetable creation problem. is there.

【0081】また、例えば、初期色分け手段では、第1
の実施形態においては乱数を用いて初期色分けを行い、
第2の実施形態においては修正前のオリジナルの計画を
初期色分けに用いたが、例えば、「遺伝的アルゴリズ
ム:日本ファジィ学会編、朝倉書店」記載の遺伝的アル
ゴリズムを用いることができる。この方法では、グラフ
データに含まれるノ一ドの一覧を文字列の個体として表
現し、この文字列で各ノ一ドへの初期色分けを表す。遺
伝的アルゴリズムを利用した初期色分け手段では、初期
色分け手段の内部に一定数の個体群を保持し、計画評価
手段が算出した評価値の高い個体が高い確率で生き残れ
るように再生を行い、個体間の交叉や突然変異の操作に
よって個体群の再生成を繰り返す。
For example, in the initial color classification means,
In the embodiment, initial color coding is performed using random numbers,
In the second embodiment, the original plan before correction is used for the initial color coding. However, for example, a genetic algorithm described in “Genetic algorithm: edited by Japan Fuzzy Society, Asakura Shoten” can be used. In this method, a list of nodes included in the graph data is represented as a character string individual, and the character string represents an initial color classification for each node. In the initial color classification means using a genetic algorithm, a certain number of populations are held inside the initial color classification means, and reproduction is performed so that individuals with high evaluation values calculated by the plan evaluation means can survive with high probability, and Regeneration of the population is repeated by the operation of crossover and mutation.

【0082】また、例えば、初期色分け手段では、利用
者から割り当てる資源についての希望があらかじめ存在
する作業については、該当するノ一ドに対してその資源
を割り当てた状態に色を塗り、グラフ色分け手段ではこ
れらのノ一ドの色は変更しないようにする。これによ
り、利用者が一部の資源割り当て計画を作り、残り部分
を本装置で作成することができる。
For example, in the initial color classification means, for a task in which a user has a request for a resource to be allocated in advance, a color is applied to a state in which the resource is allocated to a corresponding node, and the graph color classification means is used. Let's not change the color of these nodes. As a result, the user can make a part of the resource allocation plan and make the rest of the plan with the present apparatus.

【0083】また、例えば、グラフ色分け手段において
は、図9に示した色分けの手順中のステップ94におい
て乱数で交換する色を選択するようにしてもい。この場
合、この乱数の値によって色分け結果は異なるものが得
られるために、同一の初期状態から同一の色分け結果が
得られるとは限らない。従って、図2の手順のステップ
27の後でステップ24を実行することによって他の資
源割り当て計画を得ることができる。また、図12にお
いては、ステップ37の後にステップ35を実行して他
の資源割り付け修正計画を得ることもできる。
Further, for example, the graph color classification means may select a color to be exchanged with a random number in step 94 in the color classification procedure shown in FIG. In this case, since a different color classification result is obtained depending on the value of the random number, the same color classification result is not always obtained from the same initial state. Therefore, another resource allocation plan can be obtained by performing step 24 after step 27 of the procedure of FIG. In FIG. 12, step 35 can be executed after step 37 to obtain another resource allocation correction plan.

【0084】また、計画変換手段によりグラフデータを
資源割り当て計画あるいは資源割り当て修正計画に変更
した後で、明らかに追加修正を行った方が良い部分の計
画変更を行うための計画変更手段と手順を追加してもよ
い。この手段は、利用者に資源割り当て計画を提示し
て、利用者が自由に手修正を行える表示装置および計画
変更装置を追加する。あるいは、あらかじめ利用者が設
定した計画修正規則を用いて計画の修正を行う。
Further, after the graph data is changed to the resource allocation plan or the resource allocation correction plan by the plan conversion means, the plan changing means and the procedure for changing the plan of the portion where it is apparently necessary to perform additional correction are described. May be added. This means presents a resource allocation plan to the user, and adds a display device and a plan changing device that allow the user to make manual corrections freely. Alternatively, the plan is modified using a plan modification rule set by the user in advance.

【0085】また、上記の計画変更手段は計画変更手段
によってグラフデータを資源割り当て計画に変更する前
に置いてもよい。この場合は、例えば、計画変更手段が
利用者に資源割り当て計画を提示して利用者が自由に手
修正を行える表示装置および計画変更装置を備えている
場合に、利用者が行った手修正が資源割り当ての条件の
違反になっていないかをグラフデータ上で隣接するノ一
ドが同一の色に変更されていないかをチェックすること
によって検証し、必要時に利用者に警告を発する機能を
追加することができる。
The above-mentioned plan changing means may be placed before the graph changing means changes the graph data to the resource allocation plan. In this case, for example, when the plan changing unit is provided with a display device and a plan changing device that can present the resource allocation plan to the user and allow the user to make manual corrections, the manual correction performed by the user is not Added a function to check whether adjacent nodes on the graph data have been changed to the same color on the graph data to see if they violate the conditions of resource allocation, and issue a warning to the user when necessary. can do.

【0086】[0086]

【発明の効果】以上のように、本発明によれば、入力さ
れた作業の数(グラフのノードの数)と制約条件(ノー
ド間を結ぶ辺の数)が増えてきたときにグラフ色分けに
要する負担を軽減し、資源割り当て計画の作成を高速化
することができる(請求項1、7)。
As described above, according to the present invention, when the number of input tasks (the number of nodes of the graph) and the constraint conditions (the number of sides connecting the nodes) increase, the graph is classified into different colors. The required burden can be reduced, and the creation of the resource allocation plan can be accelerated (claims 1 and 7).

【0087】また、評価値が良い計画を探索でき、資源
割り当て計画の最適化が実現される(請求項2、6、
8、12)。
Further, a plan having a good evaluation value can be searched, and optimization of a resource allocation plan is realized.
8, 12).

【0088】更に、評価値が良い計画を効率良く探索
し、資源割り当て計画の最適化を実現できる(請求項
3、4、9、10)。
Furthermore, it is possible to efficiently search for a plan having a good evaluation value and to optimize a resource allocation plan.

【0089】また、状況対応型のスケジューリングであ
る資源の再割り当て計画を行うことができる(請求項
5、11)。
Further, it is possible to perform a resource reallocation plan which is a situation-responsive scheduling (claims 5 and 11).

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

【図1】本発明の一実施形態に係る資源割り当て計画装
置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a resource allocation planning device according to an embodiment of the present invention.

【図2】図1に示した資源割り当て計画装置の動作を示
すフローチャートである。
FIG. 2 is a flowchart showing the operation of the resource allocation planning device shown in FIG.

【図3】一実施形態に係る作業データの一例を示す図で
ある。
FIG. 3 is a diagram illustrating an example of work data according to an embodiment.

【図4】一実施形態に係る資源データの一例を示す図で
ある。
FIG. 4 is a diagram illustrating an example of resource data according to an embodiment.

【図5】一実施形態に係るグラフを示す図である。FIG. 5 is a diagram showing a graph according to one embodiment.

【図6】一実施形態に係るグラフを示す図である。FIG. 6 is a diagram showing a graph according to one embodiment.

【図7】一実施形態に係るグラフを示す図である。FIG. 7 is a diagram showing a graph according to one embodiment.

【図8】一実施形態に係るグラフを示す図である。FIG. 8 is a diagram showing a graph according to one embodiment.

【図9】一実施形態に係る色分けをする手続きの一例を
示すフローチャートである。
FIG. 9 is a flowchart illustrating an example of a procedure for performing color classification according to an embodiment.

【図10】一実施形態に係るグラフを示す図である。FIG. 10 is a diagram showing a graph according to one embodiment.

【図11】一実施形態に係る資源割り当て計画(車両運
用計画)の一例を示す図である。
FIG. 11 is a diagram showing an example of a resource allocation plan (vehicle operation plan) according to one embodiment.

【図12】他の実施形態に係る資源割り当て計画装置の
動作を示すフローチャートである。
FIG. 12 is a flowchart illustrating an operation of a resource allocation planning device according to another embodiment.

【図13】他の実施形態に係る運用計画の一例を示す図
である。
FIG. 13 is a diagram illustrating an example of an operation plan according to another embodiment.

【図14】他の実施形態に係る運用計画の一例を示す図
である。
FIG. 14 is a diagram illustrating an example of an operation plan according to another embodiment.

【図15】他の実施形態に係るグラフを示す図である。FIG. 15 is a diagram showing a graph according to another embodiment.

【図16】他の実施形態に係るグラフを示す図である。FIG. 16 is a diagram showing a graph according to another embodiment.

【図17】他の実施形態に係るグラフを示す図である。FIG. 17 is a diagram showing a graph according to another embodiment.

【図18】他の実施形態に係る資源割り当て計画(車両
運用計画)の一例を示す図である。
FIG. 18 is a diagram illustrating an example of a resource allocation plan (vehicle operation plan) according to another embodiment.

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

1 作業データ 2 資源データ 3 グラフデータ 11 グラフ変換手段 12 探索範囲変更手段 13 グラフ縮約手段 14 初期色分け手段 15 グラフ色分け手段 16 計画変換手段 17 計画変更手段 18 計画評価手段 REFERENCE SIGNS LIST 1 work data 2 resource data 3 graph data 11 graph conversion means 12 search range change means 13 graph reduction means 14 initial color classification means 15 graph color classification means 16 plan conversion means 17 plan change means 18 plan evaluation means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 外山 春彦 神奈川県川崎市幸区柳町70番地 株式会社 東芝柳町工場内 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Haruhiko Toyama 70 Yanagicho, Saiwai-ku, Kawasaki-shi, Kanagawa Prefecture

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる方法であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせるス
テップと、 同じ資源を割り当てることができるノード間を1つのノ
ードとみなす第2の関係を持たせるステップと、 前記第2の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を付与するステップと、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更するステップとを具備
することを特徴とする資源割り当て方法。
1. A method for allocating resources that are repeatedly used for a plurality of tasks, wherein a first relationship is provided between nodes corresponding to the tasks, to which nodes the same resource cannot be assigned. And a step of providing a second relationship that regards nodes to which the same resource can be allocated as one node. The method according to the number of resources for each node after the second relationship is provided. A resource allocation method, comprising: assigning a number of types of identifiers; and changing an identifier of each node so that nodes having the first relationship have different identifiers.
【請求項2】 前記第1の関係をもったノード間が異な
る識別子となるように、各ノードの識別子を変更した後
に、当該資源割り当て計画の評価を行うステップと、 前記資源割り当て計画の評価を複数求め、評価値の良い
資源割り当て計画を探索するステップとをさらに具備す
ることを特徴とする請求項1記載の資源割り当て方法。
A step of evaluating the resource allocation plan after changing the identifier of each node so that the nodes having the first relationship have different identifiers; 2. The resource allocation method according to claim 1, further comprising a step of searching for a plurality of resource allocation plans having a good evaluation value.
【請求項3】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる方法であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる第
1のステップと、 前記第1の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を適当に付与する第2のス
テップと、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更する第3のステップ
と、 当該資源割り当て計画の評価を行う第4のステップと、 前記第2のステップに戻り、第1の関係を持たせた後の
各ノードに対し、資源の数に応じた数の種類の識別子を
再度適当に付与し、第3及び第4のステップを再実行さ
せる第5のステップとを具備することを特徴とする資源
割り当て方法。
3. A method for allocating resources that are repeatedly used for a plurality of tasks, wherein a node having the same resource among nodes corresponding to the tasks has a first relationship. A first step, a second step of appropriately assigning a number of types of identifiers according to the number of resources to each of the nodes after the first relation is provided, A third step of changing the identifier of each node so that different nodes have different identifiers; a fourth step of evaluating the resource allocation plan; and returning to the second step, A fifth step of appropriately re-assigning a number of types of identifiers corresponding to the number of resources to each of the nodes having the relationship, and causing the third and fourth steps to be re-executed. Resources characterized by Ri applied method.
【請求項4】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる方法であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる第
1のステップと、 前記第1の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を付与する第2のステップ
と、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更する第3のステップ
と、 当該資源割り当て計画の評価を行う第4のステップと、 前記第2のステップにおいて識別子が付与されたノード
のうち任意のノードについて識別子の種類を変更し、第
3及び第4のステップを再実行させる第5のステップと
を具備することを特徴とする資源割り当て方法。
4. A method of allocating resources that are repeatedly used for a plurality of tasks, wherein a first relationship is provided between nodes corresponding to the tasks and to which the same resource cannot be assigned. A first step, a second step of giving each node after the first relation the number of types of identifiers corresponding to the number of resources, and the first relation. A third step of changing the identifier of each node so that the nodes have different identifiers; a fourth step of evaluating the resource allocation plan; and a step of evaluating the node to which the identifier is assigned in the second step. And a fifth step of changing the type of the identifier for an arbitrary node and re-executing the third and fourth steps.
【請求項5】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる方法であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせるス
テップと、 前記第1の関係を持たせた後のノードのうち計画を修正
すべき範囲のノードを特定するステップと、 前記計画を修正すべき範囲の各ノードに対し、資源の数
に応じた数の種類の識別子を付与するステップと、 前記計画を修正すべき範囲のノード間が異なる識別子と
なるように、各ノードの識別子を変更するステップとを
具備することを特徴とする資源割り当て方法。
5. A method for allocating resources that are repeatedly used to a plurality of tasks, wherein a first relationship is provided between nodes corresponding to the tasks, to which nodes the same resource cannot be assigned. A step of specifying a node in a range in which the plan is to be corrected among the nodes after the first relation is provided; and for each node in the range in which the plan is to be corrected, A resource allocation method comprising: assigning a number of types of identifiers; and changing an identifier of each node so that nodes in a range in which the plan is to be modified have different identifiers.
【請求項6】 前記計画を修正すべき範囲のノード間が
異なる識別子となるように、各ノードの識別子を変更し
た後に、当該資源割り当て計画の評価を行うステップ
と、 前記資源割り当て計画の評価を複数求め、評価値の良い
資源割り当て計画を探索するステップとをさらに具備す
ることを特徴とする請求項5記載の資源割り当て方法。
6. A step of evaluating the resource allocation plan after changing the identifier of each node so that the nodes in the range in which the plan is to be modified have different identifiers. 6. The resource allocation method according to claim 5, further comprising the step of searching for a plurality of resource allocation plans having good evaluation values.
【請求項7】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる装置であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる手
段と、 同じ資源を割り当てることができるノード間を1つのノ
ードとみなす第2の関係を持たせる手段と、 前記第2の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を付与する手段と、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更する手段とを具備する
ことを特徴とする資源割り当て装置。
7. An apparatus for allocating resources to be used repeatedly for a plurality of tasks, wherein a node having the same resource among nodes corresponding to the tasks has a first relationship. Means, means for giving a second relationship between nodes to which the same resource can be assigned as one node, and each node having the second relationship has a number corresponding to the number of resources. A resource allocation apparatus comprising: means for assigning a number of types of identifiers; and means for changing the identifier of each node so that the nodes having the first relationship have different identifiers.
【請求項8】 前記第1の関係をもったノード間が異な
る識別子となるように、各ノードの識別子を変更した後
に、当該資源割り当て計画の評価を行う手段と、 前記
資源割り当て計画の評価を複数求め、評価値の良い資源
割り当て計画を探索する手段とをさらに具備することを
特徴とする請求項7記載の資源割り当て装置。
8. A means for evaluating the resource allocation plan after changing the identifier of each node so that the nodes having the first relationship have different identifiers, and evaluating the resource allocation plan. 8. The resource allocation apparatus according to claim 7, further comprising: means for searching for a plurality of resource allocation plans having good evaluation values.
【請求項9】 複数の作業に対してそれぞれ繰り返し使
われる資源を割り当てる装置であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる第
1の手段と、 前記第1の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を適当に付与する第2の手
段と、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更する第3の手段と、 当該資源割り当て計画の評価を行う第4の手段と、 前記第2の手段に戻り、第1の関係を持たせた後の各ノ
ードに対し、資源の数に応じた数の種類の識別子を再度
適当に付与し、第3及び第4の手段を再実行させる第5
の手段とを具備することを特徴とする資源割り当て装
置。
9. An apparatus for allocating resources that are repeatedly used for a plurality of tasks, wherein a node having the same resource among nodes corresponding to the tasks has a first relationship. A first means, a second means for appropriately assigning a number of types of identifiers according to the number of resources to each of the nodes having the first relation, and the first relation Third means for changing the identifier of each node so that different nodes have different identifiers; fourth means for evaluating the resource allocation plan; and returning to the second means, the first means To each node after having the relationship, a number of types of identifiers corresponding to the number of resources are appropriately re-assigned, and the fifth and the fourth means are re-executed.
And a resource allocation device.
【請求項10】 複数の作業に対してそれぞれ繰り返し
使われる資源を割り当てる装置であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる第
1の手段と、 前記第1の関係を持たせた後の各ノードに対し、資源の
数に応じた数の種類の識別子を付与する第2の手段と、 前記第1の関係をもったノード間が異なる識別子となる
ように、各ノードの識別子を変更する第3の手段と、 当該資源割り当て計画の評価を行う第4の手段と、 前記第2の手段において識別子が付与されたノードのう
ち任意のノードについて識別子の種類を変更し、第3及
び第4の手段を再実行させる第5の手段とを具備するこ
とを特徴とする資源割り当て装置。
10. An apparatus for allocating resources that are repeatedly used for a plurality of tasks, wherein a node having the same resource among nodes corresponding to the tasks has a first relationship. A first means, a second means for assigning a number of types of identifiers according to the number of resources to each node after the first relation is provided, and the first relation is provided. A third means for changing the identifier of each node so that the nodes have different identifiers; a fourth means for evaluating the resource allocation plan; and a node for which the identifier is assigned in the second means. And a fifth means for changing the type of the identifier for an arbitrary node and re-executing the third and fourth means.
【請求項11】 複数の作業に対してそれぞれ繰り返し
使われる資源を割り当てる装置であって、 前記各作業に対応するノード間のうち同じ資源を割り当
てることができないノード間に第1の関係を持たせる手
段と、 前記第1の関係を持たせた後のノードのうち計画を修正
すべき範囲のノードを特定する手段と、 前記計画を修正すべき範囲の各ノードに対し、資源の数
に応じた数の種類の識別子を付与する手段と、 前記計画を修正すべき範囲のノード間が異なる識別子と
なるように、各ノードの識別子を変更する手段とを具備
することを特徴とする資源割り当て装置。
11. An apparatus for allocating resources to be repeatedly used for a plurality of tasks, wherein a node having the same resource among nodes corresponding to the tasks has a first relationship. Means for specifying a node in a range in which the plan is to be corrected among the nodes having the first relationship, and for each node in the range in which the plan is to be corrected, according to the number of resources. A resource allocation apparatus, comprising: means for assigning a number of types of identifiers; and means for changing the identifier of each node so that the nodes in the range in which the plan is to be modified are different identifiers.
【請求項12】 前記計画を修正すべき範囲のノード間
が異なる識別子となるように、各ノードの識別子を変更
した後に、当該資源割り当て計画の評価を行う手段と、 前記資源割り当て計画の評価を複数求め、評価値の良い
資源割り当て計画を探索する手段とをさらに具備するこ
とを特徴とする請求項11記載の資源割り当て装置。
12. A means for evaluating the resource allocation plan after changing the identifier of each node so that the nodes in the range in which the plan is to be modified have different identifiers. 12. The resource allocation apparatus according to claim 11, further comprising: means for searching for a plurality of resource allocation plans having a good evaluation value.
JP30971896A 1996-11-20 1996-11-20 Resource allocation method and device therefor Pending JPH10149347A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30971896A JPH10149347A (en) 1996-11-20 1996-11-20 Resource allocation method and device therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30971896A JPH10149347A (en) 1996-11-20 1996-11-20 Resource allocation method and device therefor

Publications (1)

Publication Number Publication Date
JPH10149347A true JPH10149347A (en) 1998-06-02

Family

ID=17996467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30971896A Pending JPH10149347A (en) 1996-11-20 1996-11-20 Resource allocation method and device therefor

Country Status (1)

Country Link
JP (1) JPH10149347A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009107443A (en) * 2007-10-29 2009-05-21 Toshiba Corp Vehicle operation schedule preparation device and method
US7558422B2 (en) 2003-02-14 2009-07-07 Fuji Xerox Co., Ltd. Document processing apparatus
WO2009110616A1 (en) * 2008-03-07 2009-09-11 日本電気株式会社 Virtual machine package generation system, virtual machine package generation method, and virtual machine package generation program
JP2011240727A (en) * 2010-05-14 2011-12-01 Mitsubishi Electric Corp Vehicle operation plan preparation device and vehicle operation plan correction method
CN107172676A (en) * 2017-04-20 2017-09-15 浙江工业大学 A kind of route selection method for wireless sensor network based on node redundancy degree and graph coloring algorithm

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7558422B2 (en) 2003-02-14 2009-07-07 Fuji Xerox Co., Ltd. Document processing apparatus
JP2009107443A (en) * 2007-10-29 2009-05-21 Toshiba Corp Vehicle operation schedule preparation device and method
WO2009110616A1 (en) * 2008-03-07 2009-09-11 日本電気株式会社 Virtual machine package generation system, virtual machine package generation method, and virtual machine package generation program
US8615761B2 (en) 2008-03-07 2013-12-24 Nec Corporation Virtual machine package generation system, virtual machine package generation method, and virtual machine package generation program
JP5598762B2 (en) * 2008-03-07 2014-10-01 日本電気株式会社 Virtual machine package generation system, virtual machine package generation method, and virtual machine package generation program
JP2011240727A (en) * 2010-05-14 2011-12-01 Mitsubishi Electric Corp Vehicle operation plan preparation device and vehicle operation plan correction method
CN107172676A (en) * 2017-04-20 2017-09-15 浙江工业大学 A kind of route selection method for wireless sensor network based on node redundancy degree and graph coloring algorithm
CN107172676B (en) * 2017-04-20 2020-05-05 浙江工业大学 Wireless sensor network routing method based on node redundancy and graph coloring algorithm

Similar Documents

Publication Publication Date Title
Haghani et al. Bus maintenance systems and maintenance scheduling: model formulations and solutions
US6961682B2 (en) Yard performance model based on task flow modeling
US8392233B2 (en) Rolling stock scheduling apparatus and method
Cheung et al. Railway track possession assignment using constraint satisfaction
US20130318002A1 (en) Resource management plan creation device and resource management plan creation method
Hooghiemstra et al. The use of simulation in the planning of the dutch railway services
JP4113594B2 (en) Riding route creation support device
US5974355A (en) Automatic time series pattern creating method
JPH10149347A (en) Resource allocation method and device therefor
JP2005530243A (en) How to load flight schedule changes
JP4632169B2 (en) Allocation support device and program for operation schedule
JP3347265B2 (en) Crew operation plan support system
JP2013011975A (en) Train crew operation plan creation system
JPH09244706A (en) Method and device for plan correction
Bodin et al. Scheduling and estimation techniques for transportation planning
CN115081802B (en) Method and device for generating passenger task set, corresponding electronic equipment and storage medium
JP7074708B2 (en) Information processing equipment, information processing methods, programs and storage media
Pickens et al. Transportation planning for urban school systems
JP2006079440A (en) Apparatus for preparing crew operation control plan
JP6603540B2 (en) Vehicle operation business support device
AU2005203382B2 (en) A railyard performance model based on task flow modeling
Zimmermann et al. Supporting planning and operation time control in transportation systems
JP2002264813A (en) Managing plan forming device
JPH0969122A (en) Method and system for preparing operation plan of running equipment and material
JPH07200689A (en) Operation schedule planning device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060530

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060728

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060912