JPH0367334A - Limitation relaxing inference system for expert constructing tool - Google Patents

Limitation relaxing inference system for expert constructing tool

Info

Publication number
JPH0367334A
JPH0367334A JP20284989A JP20284989A JPH0367334A JP H0367334 A JPH0367334 A JP H0367334A JP 20284989 A JP20284989 A JP 20284989A JP 20284989 A JP20284989 A JP 20284989A JP H0367334 A JPH0367334 A JP H0367334A
Authority
JP
Japan
Prior art keywords
limitation
constraint
rule
rules
inference
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
JP20284989A
Other languages
Japanese (ja)
Inventor
Keiichi Kataoka
圭一 片岡
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP20284989A priority Critical patent/JPH0367334A/en
Publication of JPH0367334A publication Critical patent/JPH0367334A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To carry out a limitation relaxing inference with use of a simple program by defining previously the limitation intensity for each limitation rule and omitting the application of the limitation rules in the order of lower limitation intensities. CONSTITUTION:A production planning expert system 1 consists of a limitation rule group 2 decided previously, a product order group 3, and an inference part 4 which assigns the production plans of products based on the group 2. The group 2 includes three limitation rules with the limitation intensity defined to each rule, e.g., the limitation intensities 1 - 3 are defined in the order of higher intensities. Then the rules of intensities 1 - 3 are applied and the production of a product Y is impossible under the conditions of these rules. In such a case, the part 4 omits the application of the rule 3. Then the part 4 omits the rules 2 and 1 in sequence until a solution is obtained for production of the product Y. In such a constitution, a limitation relaxing inference is attained with use of a simple program and with execution of the limitation relaxing inferences.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、エキスパート構築ツールの制約緩和推論方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a constraint relaxation inference method for expert construction tools.

〔従来の技術〕[Conventional technology]

従来の制約緩和推論方式の例について説明する。 An example of a conventional constraint relaxation inference method will be explained.

まず、次の二つのルールを適用して、解の候補集合の中
から一つの解を求めるものとする。
First, it is assumed that one solution is found from a set of candidate solutions by applying the following two rules.

ルールド・・A1条件では要素Aを持つものが解である
Ruled: In the A1 condition, the one with element A is the solution.

ルール2・・・B1条件では要素Bを持つものが解であ
る。
Rule 2...In the B1 condition, a solution is one that has element B.

ここで、この二つのルールを適用して解が求まらないと
き、ルール2の適用を外すような緩和手法を用いる場合
、 ルール1:IF  x≧3  AND  条件AITH
EN  解=要素Aを保有する。
Here, when a solution cannot be found by applying these two rules, when using a relaxation method that removes the application of Rule 2, Rule 1: IF x≧3 AND Condition AITH
EN Solution=hold element A.

ルール2:IF  X≧2  AND  条件A2TH
EN  解=要素Bを保有する。
Rule 2: IF X≧2 AND condition A2TH
EN Solution = retain element B.

以上のように記述する。そして、まずX=2を設定し、
両方のルールを適用可能とする。ここで解が求まらない
場合は、X=3を設定し、ルール1のみを適用の対象と
するような制御を実行する。
It is described as above. Then, first set X=2,
Make both rules applicable. If a solution cannot be found here, set X=3 and perform control such that only rule 1 is applied.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来の方式では、制約ルール
の中に必らず制約強度をチエツクする条件が必要であり
、更にこれを制御するルールも必要である。そのため、
プログラムが複雑であるばかりでなく、その修正工数が
多くなり、またミスも多くなる欠点があった。
However, in such a conventional method, a condition for checking the constraint strength is necessarily required in the constraint rule, and a rule for controlling this is also required. Therefore,
Not only is the program complex, but it also requires a lot of man-hours to modify, and there are also many mistakes.

本発明は、このような事情に鑑みなされたもので、その
目的は簡単に制約を緩和できるようにしたエキスパート
システム構築ツールの制約緩和推論方式を提供すること
にある。
The present invention was made in view of these circumstances, and its purpose is to provide a constraint relaxation inference method for an expert system construction tool that allows constraints to be easily relaxed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上記課題を解決するため、予め定められた制約
ルール毎に制約強度を定義し、前期制約ルールを全て適
用して解が求まらない場合に、解が発見できるまで前期
制約強度の弱い順に制約ルールの適用を外していくこと
によって、制約緩和の推論を行うことを特徴とする。
In order to solve the above problems, the present invention defines a constraint strength for each predetermined constraint rule, and when a solution cannot be found by applying all the previous constraint rules, the previous constraint strength is increased until a solution is found. It is characterized by performing inference for relaxing constraints by removing the application of constraint rules in descending order of weakness.

〔作 用〕[For production]

本発明では、予め定められた制約ルール毎に制約強度を
定義し、各制約ルールにランク付けをしておく。そして
、まず全ての制約ルールを適用して解が求まらない場合
に、前記ランク付けされた制約ルールの適用を制約強度
の弱い順に外していく。この制約ルールの適用外しは、
解が求まるまで順次行われる。
In the present invention, constraint strength is defined for each predetermined constraint rule, and each constraint rule is ranked. Then, if a solution cannot be found by applying all of the constraint rules, the ranked constraint rules are removed in descending order of constraint strength. Exemption from this constraint rule is
This is done sequentially until a solution is found.

〔実施例〕〔Example〕

以下、本発明の実施例を図面を参照して詳細に説明する
。第1図は本発明のエキスパートシステム構築ツールの
制約緩和推論方式の一実施例を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the constraint relaxation inference method of the expert system construction tool of the present invention.

第1図において、生産計画エキスパートシステム1は、
エキスパートシステム構築ツールを使用して構築したも
のである。この生産計画エキスパートシステム1は、予
め定められた制約ルール群2、製品の割り付はオーダ群
3、及び製品の生産計画を制約ルール群2に基いて割り
付ける推論部4から構成される。
In FIG. 1, the production planning expert system 1 is
It was constructed using an expert system construction tool. This production planning expert system 1 is comprised of a predetermined constraint rule group 2, an order group 3 for allocating products, and an inference unit 4 that allocates a product production plan based on the constraint rule group 2.

制約ルール群2は、本実施例では次の3つの制約ルール
であって、各制約ルール毎に制約強度が定義されている
In this embodiment, the constraint rule group 2 includes the following three constraint rules, and the constraint strength is defined for each constraint rule.

制約ルール1:製品の納期を守る。(制約強度=3) 制約ルール2:特殊部品Aがある製品はマシンイまたは
口で製造する。(制約 強度=2) 制約ルール3:製品Xの次に製品Yは製造しない。(制
約強度=1) 制約強度は、1〜3まで定義し、数が多いほど制約は強
いものとする。従って、ルール3が最も制約が弱く、ル
ール1が最も制約は強くなる。割付オーダ群2には、本
実施例では製品Yがあり、その製品条件としては、納期
は12月20日、特殊部品Aを使用、製造期間は4日で
ある。
Constraint rule 1: Observe product delivery deadlines. (Constraint strength = 3) Constraint rule 2: Products with special parts A are manufactured by machine or mouth. (Constraint strength = 2) Constraint rule 3: Product Y will not be manufactured next to product X. (Constraint strength = 1) The constraint strength is defined from 1 to 3, and the greater the number, the stronger the constraint. Therefore, rule 3 has the weakest restriction, and rule 1 has the strongest restriction. In this embodiment, assigned order group 2 includes product Y, and the product conditions are that the delivery date is December 20th, special part A is used, and the manufacturing period is 4 days.

ここで、その製品Yの割り付は方式について説明すると
、まず推論部4は制約ルール群2の3つの制約ルールを
適用して生産計画を割り付けようとする。この場合、第
2図に生産計画のガンチャートを示すように、制約ルー
ルの全てを満足するような日程は成り立たず、この条件
下では製品Yの生産はできない。
Here, the method for allocating the product Y will be explained. First, the inference unit 4 tries to allocate the production plan by applying the three constraint rules of the constraint rule group 2. In this case, as shown in the Gann chart of the production plan in FIG. 2, a schedule that satisfies all of the constraint rules cannot be established, and product Y cannot be produced under this condition.

そこで、推論部4は制約ルールの適用を制約強度の弱い
順から外していく。まず、推論部4は最も制約強度の弱
い制約ルール3の適用を外し、製品Yを生産計画に割り
付ける。具体的には、制約ルール3である「製品Xの次
に製品Yは製造しない」という制約の適用を外す。この
適用を外すことにより、第2図に斜線で示すように、マ
シン口の製品Xと製品りの間の12月17日〜12月2
0日までに製品Yを割り付けることができる。
Therefore, the inference unit 4 removes the application of constraint rules in order of decreasing constraint strength. First, the inference unit 4 removes the application of the constraint rule 3, which has the weakest constraint strength, and assigns the product Y to the production plan. Specifically, the application of constraint rule 3, "Product Y will not be manufactured after product X," is removed. By removing this application, as shown by diagonal lines in Figure 2, the distance between the product
Product Y can be allocated by day 0.

このように、推論部4は解が発見できない場合、解が発
見できるまで制約ルールの適用を制約強度の弱い順から
順次外していく。従って、制約ルールを制約強度の弱い
順から順次外していくことにより、制約の緩和推論を行
うため、従来のような複雑なプログラムが不要であり、
非常に簡単なプログラムで制約緩和推論を実行すること
ができる。
In this way, when the inference unit 4 cannot find a solution, it sequentially removes the application of constraint rules from the weakest constraint strength until the solution is found. Therefore, since constraint relaxation inference is performed by sequentially removing constraint rules from weakest to weakest, there is no need for a complicated program like in the past.
Constraint relaxation inference can be executed with a very simple program.

〔発明の効果〕 以上説明したように本発明によれば、制約ルール毎に制
約強度を定義し、解が発見できるまで制約強度の弱い順
に制約ルールの適用を外していくようにしたので、従来
に比較して格段に簡単なプログラムで制約緩和推論を実
行できる効果がある。
[Effects of the Invention] As explained above, according to the present invention, the constraint strength is defined for each constraint rule, and the application of the constraint rules is removed in descending order of constraint strength until a solution is found. This has the effect of allowing constraint relaxation inference to be executed with a much simpler program compared to .

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

第1図は本発明の一実施例を示すブロック図、第2図は
製品の生産計画の一例を示すガンチャートである。 1・・・生産計画エキスパートシステム、2・・・湘1
糸勺ルール群、3・・・割付オーダ群、4・・・推Ha
部。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a Gantt chart showing an example of a product production plan. 1...Production planning expert system, 2...Sho 1
Itotori rule group, 3... Assignment order group, 4... Guidance Ha
Department.

Claims (1)

【特許請求の範囲】[Claims] 予め定められた制約ルール毎に制約強度を定義し、前記
制約ルールを全て適用して解が求まらない場合に、解が
発見できるまで前期制約強度の弱い順に制約ルールの適
用を順次外していくことによって、制約緩和の推論を行
うことを特徴とするエキスパートシステムの制約緩和推
論方式。
A constraint strength is defined for each predetermined constraint rule, and if a solution cannot be found by applying all the constraint rules, the application of the constraint rules is sequentially removed in descending order of constraint strength until a solution is found. This is a constraint relaxation inference method for expert systems that performs constraint relaxation inference by
JP20284989A 1989-08-07 1989-08-07 Limitation relaxing inference system for expert constructing tool Pending JPH0367334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20284989A JPH0367334A (en) 1989-08-07 1989-08-07 Limitation relaxing inference system for expert constructing tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20284989A JPH0367334A (en) 1989-08-07 1989-08-07 Limitation relaxing inference system for expert constructing tool

Publications (1)

Publication Number Publication Date
JPH0367334A true JPH0367334A (en) 1991-03-22

Family

ID=16464211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20284989A Pending JPH0367334A (en) 1989-08-07 1989-08-07 Limitation relaxing inference system for expert constructing tool

Country Status (1)

Country Link
JP (1) JPH0367334A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6316362B1 (en) 1998-10-02 2001-11-13 Nec Corporation Method for manufacturing semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6316362B1 (en) 1998-10-02 2001-11-13 Nec Corporation Method for manufacturing semiconductor device

Similar Documents

Publication Publication Date Title
Haessler An improved extended basic period procedure for solving the economic lot scheduling problem
Fainguelernt et al. Computer aided tolerancing and dimensioning in process planning
EP3881079A1 (en) Laboratory system comprising at least partially networked laboratory devices, and method for controlling a laboratory system comprising at least partially networked laboratory devices
LARSEN et al. Dynamic planning enriches concurrent process and production planning
JPH0367334A (en) Limitation relaxing inference system for expert constructing tool
Wilhelm Complexity of sequencing tasks in assembly cells attended by one or two robots
LaForge et al. Performance Of Simple Priority Rule Combinations In A Flow
Kung et al. A just-in-time simulation model of a PCB assembly line
Lin et al. Motion planning for multiple robots with multi-mode operations via disjunctive graphs
Spivey Linear Programming: It is one of several mathematical approaches to problems of optimal choice under constraint.
JP2510774B2 (en) Production planning method
JPH06348714A (en) Resource allocation planning device
Garg et al. On the Simulation Run Length: A Step towards Real TimeControl in an FMS
KR20230095865A (en) Method for scheduling producing plan and system thereof
Al-Hinai et al. Jobshop scheduling for skill-dependent Make-to-order system
FILIP et al. Building a project team according to the time allocated and the number of relationships for the successful completion of a project
Arai et al. Human oriented production system architecture
Schäffter Scheduling jobs with communication delays complexity results and approximation algorithms
Ramesh et al. An efficient approach to stochastic jobshop schedulling: Algorithms and empirical investigations
Ohashi Dynamic process planning system for a machining center in an FMS environment
Błażewicz et al. New trends in machine scheduling
Corsten et al. Simultaneously supporting generic competitive strategies by production management: supportive concepts of information technology and work organization
Sutee et al. Simulation-based comparison of pull-push systems in motorcycle assembly line
Chavan et al. Enhance the Capacity of Outer Tube Machining Cell
JP2709010B2 (en) Reasoning method for scheduling