Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4467015B2 - Material assortment system - Google Patents
[go: Go Back, main page]

JP4467015B2 - Material assortment system - Google Patents

Material assortment system Download PDF

Info

Publication number
JP4467015B2
JP4467015B2 JP2008122840A JP2008122840A JP4467015B2 JP 4467015 B2 JP4467015 B2 JP 4467015B2 JP 2008122840 A JP2008122840 A JP 2008122840A JP 2008122840 A JP2008122840 A JP 2008122840A JP 4467015 B2 JP4467015 B2 JP 4467015B2
Authority
JP
Japan
Prior art keywords
allocation
product
length
products
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008122840A
Other languages
Japanese (ja)
Other versions
JP2009163702A (en
Inventor
丈輔 豊田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Forestry Co Ltd
Original Assignee
Sumitomo Forestry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Forestry Co Ltd filed Critical Sumitomo Forestry Co Ltd
Priority to JP2008122840A priority Critical patent/JP4467015B2/en
Publication of JP2009163702A publication Critical patent/JP2009163702A/en
Application granted granted Critical
Publication of JP4467015B2 publication Critical patent/JP4467015B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Numerical Control (AREA)

Description

本発明は、材料取り合わせシステムと材料取り合わせプログラムと記録媒体と材料取り合わせ方法とプレカット装置に関する。   The present invention relates to a material assembling system, a material assembling program, a recording medium, a material assembling method, and a precut device.

住宅構造材のプレカットには、断面形状や樹種、等級、レイヤといった仕様ごとに数種類の長さ(3m〜6m)の原材料が用意される。そこから決められた長さの部材(製品)を切り出す。一般的な大きさの住宅の場合、梁、桁、土台など横架材と呼ばれる構造材には約20種類の仕様がある。製品の仕様ごとに用意された数種類の長さの原材料から、これらの構造材がそれぞれ平均10本切り出され、1棟分を合計すると約200本の製品が切り出される。製品の仕様と、製品のサイズと、切り出される原材料の組み合わせにより、原材料から切り落とされて無駄になる部分(残材)の量が異なる。そこで、材料取り合わせ方法を改善する技術が開発された(特許文献1参照)。
特許3565262号公報
For pre-cutting of house structural materials, raw materials of several types of length (3 m to 6 m) are prepared for each specification such as cross-sectional shape, tree type, grade, and layer. A member (product) of a predetermined length is cut out from there. In the case of a general-sized house, there are about 20 types of structural materials called horizontal members such as beams, girders, and foundations. An average of 10 of these structural materials are cut out from several lengths of raw materials prepared for each product specification, and about 200 products are cut out for the total of one building. Depending on the product specifications, the product size, and the combination of raw materials to be cut out, the amount of waste (remaining material) that is cut off from the raw materials differs. Therefore, a technique for improving the material assembling method has been developed (see Patent Document 1).
Japanese Patent No. 3565262

上記のような材料取り合わせ方法の計算の目的は、製品の仕様ごとに用意された数種類の長さの原材料群から要求製品をいかに少ない原材料(歩留まり最高)で切り出すかということにある。他にも、各種の技術が開発されているが、これらの技術を利用したプレカット工場での一次歩留まりは、一般には概ね90%程度といわれている。一定の規格で設計生産される建物の場合には、原材料のサイズに適合する構造材のサイズを決めておくと、さらに歩留まりを向上させることができる。しかしながら、注文生産により多種多様の設計に基づき、構造材を原材料から切り出す場合には、さらに歩留まりを向上させる計算方法の開発が求められている。実際に、歩留まりを1%向上させるだけでも、多量の廃棄物減量を図ることができる。   The purpose of the calculation of the material assembling method as described above is to cut out a required product with a small amount of raw materials (the highest yield) from a raw material group of several lengths prepared for each product specification. Various other technologies have been developed, and it is generally said that the primary yield at a precut factory using these technologies is approximately 90%. In the case of a building designed and produced according to a certain standard, the yield can be further improved by determining the size of the structural material suitable for the size of the raw material. However, when a structural material is cut out from a raw material based on a variety of designs by custom production, development of a calculation method that further improves the yield is required. In fact, a large amount of waste can be reduced simply by improving the yield by 1%.

ある決められたアイテムの一群を一定の容積のビンに入れるとき、ビンの使用数を最小にするというビンパッキング問題が知られている。この問題の解法の一つでMinimum Bin Slack法(MBS法)と呼ばれる方法がある。このMBS法は、ビンに入るアイテムを総当りに入れてみて、最も隙間(slack)の少ない組合せを見出す方法である。すべてのアイテムをビンに入れ終わるまで、各アイテムを次々にビンに当てはめていく。本発明はこの既知の解法を応用して、複数材料種の材料取り合わせについて、高い歩留まりがえられるように改善することを目的とする。さらに、最適値を得るための複雑な演算処理には長時間の演算時間を要する。本発明は、短時間の演算処理時間で先行する優れた各種の方法と同程度の最適値を得ることができる、材料取り合わせシステムと材料取り合わせプログラムと記録媒体と材料取り合わせ方法とプレカット装置を提供することを目的とする。   There is a known bin packing problem of minimizing the number of bins used when a given group of items is placed in a fixed volume bin. One solution to this problem is called the Minimum Bin Slack method (MBS method). This MBS method is a method of finding a combination having the smallest slack by putting all the items in the bin into the round robin. Each item is applied to the bin one after another until all items are placed in the bin. An object of the present invention is to apply this known solution to improve the combination of materials of a plurality of material types so as to obtain a high yield. Furthermore, a complicated calculation process for obtaining an optimum value requires a long calculation time. The present invention provides a material assembling system, a material assembling program, a recording medium, a material assembling method, and a precut device that can obtain optimum values equivalent to those of various superior methods that precede in a short calculation processing time. For the purpose.

以下の構成はそれぞれ上記の課題を解決するための手段である。
〈構成1〉
製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段とを備えたことを特徴とする材料取り合わせシステム。
The following configurations are means for solving the above-described problems.
<Configuration 1>
Material data in which materials for allocating products are arranged in descending order of the length is stored, and products P = {P (1), P (2)... P (n)} to be allocated are in descending order of the length. Storage means for storing the product data to be allocated arranged in the above, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing; An initial allocating unit that selects one of the materials from the storage unit and always allocates the longest product that can be allocated to the material, and the length of s products currently allocated to the selected material It is determined whether the total length LQ matches the length b of the material. If LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, and the Ak (that Result) The process of storing the allocation candidate data for the selected material is finished, and if LQ = b, the process proceeds to the process by the next allocation possibility determination unit, and the optimal allocation determination unit and the product P (j) When assigned to Q (s), determine whether the total LQ length of currently assigned s products is less than the selected material length b, and if LQ <b, then s = Proceed to the provisional allocation result storage means as s + 1, and if LQ <b, proceed to the process of the separate product allocation means, the allocation availability determination means, and the total length LQ of the products currently allocated to the material The maximum value L max of the total product lengths (total product lengths) temporarily allocated so far (the total product length) is compared, and if LQ> L max , L max = LQ and L max Product length Compare the above-mentioned j and n with temporary allocation result storage means for replacing the total Q (total product length) LQ and storing the currently allocated (allocated) product list Q as the temporary allocation result Ak. Thus, it is determined whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s), and the process of the optimal allocation determination means the return, j <else n, the process proceeds to allocation changing means compares a separate product allocation unit, and a minimum value s min and s preset s, if s = s min, already The result saved as Ak is saved as a provisional assignment result (the result is assigned), and if s = s min , s = s-1 is set, and the product assigned immediately before is assigned. take Then, the allocation changing means for returning to the processing of the different product allocation means, the temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials, and the allocation candidate data stored for a plurality of materials In comparison, according to the allocation pass / fail criterion, the allocation determination means that adopts any allocation candidate data as allocation data of the corresponding product, and the remaining unallocated products are regarded as new allocation target products, and the allocation candidate data The allocation data acquisition process from the storage process to the process of the allocation determination unit is repeated. During the repetition of the allocation data acquisition process by the repeated allocation unit and the repetition allocation unit, the current allocation data acquisition process is repeated twice. For all products in the allocation data acquisition process A final adjustment timing determination means for determining the final adjustment timing for ending allocation, and a plurality of allocation pattern candidates for allocating the remaining unallocated products before acquisition of the current allocation data to any material when the final adjustment timing is determined. A material assembling system comprising: final adjustment means for executing final adjustment processing for acquiring and comparing the allocation pattern that minimizes the material length to be used in the allocation data of the corresponding product.

選択した一つの材料にまず最長の製品を割り付けて、その残材に残りの製品を仮割り付けする。その材料に対して残材が最小になる割り付け方法を見つけて割り付け候補データとする。別の材料についても同様の演算処理をして、複数の割り付け候補データを得る。複数の割り付け候補データを比較して、歩留まり最大、あるいは残材長最小といった基準で、最良の仮割り付け方法を選択し、割り付けデータとする。さらに、残りの未割り付け製品についても同様の手法で割り付けを進める。この繰り返し割り付けデータ取得処理の終了直前で、これまでの方法による仮割り付け処理を中断する。2回の割り付けデータ取得処理で全ての製品について割り付けを終了することができる時期を最終調整時期と判断する。残り2回で終了する割り付け方法もあれば、残り3回とか4回で終了する割り付け方法もあり得る。いずれにしても、任意の方法で、残りの未割り付け製品をいずれかの材料に割り付ける割り付けパターンを取得する。そして、使用材料長が最小となる割り付けパターンを採用する。これにより、初めのほうで、最適な割り付けを選択したために最後にしわ寄せがくるのを防止することができる。   First, the longest product is assigned to one selected material, and the remaining product is temporarily assigned to the remaining material. An allocation method that minimizes the remaining material for the material is found and used as allocation candidate data. Similar calculation processing is performed for another material to obtain a plurality of allocation candidate data. A plurality of allocation candidate data are compared, and the best provisional allocation method is selected on the basis of the maximum yield or the minimum remaining material length to obtain allocation data. Furthermore, the remaining unallocated products will be allocated in the same manner. Immediately before the end of this repeated allocation data acquisition process, the temporary allocation process according to the conventional method is interrupted. The time when allocation can be completed for all products in two allocation data acquisition processes is determined as the final adjustment timing. There may be an allocation method that ends with the remaining two times, and an allocation method that ends with the remaining three or four times. In any case, an allocation pattern that allocates the remaining unallocated product to any material is obtained by an arbitrary method. Then, an allocation pattern that minimizes the material length used is employed. As a result, it is possible to prevent wrinkling at the end because the optimal allocation is selected at the beginning.

〈構成2〉
製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、上記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と上記材料の長さbとを比較し、上記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段とを備えたことを特徴とする材料取り合わせシステム。
<Configuration 2>
Material data in which materials for allocating products are arranged in descending order of the length is stored, and products P = {P (1), P (2)... P (n)} to be allocated are in descending order of the length. Storage means for storing the product data to be allocated arranged in the above, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing; An initial allocating unit that selects one of the materials from the storage unit and always allocates the longest product P (j) that can be allocated to the material, and the product P (j). The total length of all products P (j) to P (n) shorter than j) is obtained, and the total is compared with the length b of the material. The length b of the material is the length of the product. P (j), ... P (n) is stored in Ak as the final allocation result. To determine whether the total length LQ of s products currently assigned to the selected material matches the length b of the material, and if LQ = b, The assigned product list Q is set as the optimum allocation result Ak for the material, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and LQ = If not b, the optimal allocation determination means that proceeds to the processing of the next temporary allocation result storage means, the total LQ of the lengths of the products currently allocated to the material, and the products that have been temporarily allocated in the past (to date) Are compared with the maximum value L max of the total length (product length total), and if LQ> L max , L max = LQ and L max is the total length of the current product (total product length) ) Replace with LQ, save the currently assigned (allocated) product list Q as the temporary allocation result Ak, and the allocation space Slack = b for the allocation result stored in Ak -LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n). When the allocation margin Sack is less than the product length of the smallest product P (n), j = n is assigned. When the margin Slack is equal to or greater than the product length of the smallest product, the product length is compared with the allocation margin Slack from the product P (j) to P (n-1) in order, and the longest assignable product is detected. Then, s is set to (s + 1), and the process proceeds to the processing of the next separate product allocating means, and the above-mentioned j and n are compared with the surplus length determining means to determine whether allocation is possible for all products (provisional allocation) If j <n, the product P (j + 1) is newly assigned to Q (s) and returned to the optimum assignment determination means. If j <n, the assignment is made. Comparing the different product allocating means, which proceeds to the processing of the changing means, with the preset minimum value s min and s of s, and if s = s min , the result already stored as Ak is ( As a temporary allocation result, the result is saved as allocation candidate data. If s = s min is not set, s = s-1 is set, and an allocation margin Slack is calculated in a state where allocation of the product allocated immediately before is canceled. If this allocation margin Slack is less than twice the length of the smallest product P (n), j = n, and if the allocation margin Sack is more than twice the length of the smallest product P (n). Once judged, An allocation changing means for detecting the longest product that can be assigned to the margin Sack together with P (n) and returning it to the processing of another product allocation means after being assigned to the next allocation; Compare the temporary allocation trial means for repeatedly trying multiple materials with the above-mentioned allocation candidate data stored for multiple materials, and adopt any allocation candidate data as allocation data for the corresponding product according to the allocation pass / fail judgment criteria Repetitive allocation means for repeating the allocation data acquisition processing from the allocation candidate data storage processing to the processing of the allocation determination means, considering the remaining unallocated products as new allocation target products, Repeated allocation data acquisition processing by repeated allocation means During the return, when the final adjustment time determination means for determining the final adjustment time for ending the allocation for all products in the two allocation data acquisition processes including the current allocation data acquisition process, and when the final adjustment time is determined , Obtain and compare multiple assignment pattern candidates that assign the remaining unassigned products to any material before obtaining the current assignment data, and use the assignment pattern that minimizes the material length to be used for the assignment data of the corresponding product And a final adjustment means for executing a final adjustment process.

第1の割り付け良否判定基準に、「割り付け製品長最大」という基準を選択し、後で良い結果を得るという期待を含める。さらに、第2の割り付け良否判定基準に、歩留まりが最も悪いものを選択する。最終歩留まりが同一というならば、最初の割り付けで歩留まりが悪いほうは、その後の割り付けで歩留まりが良くなるという効果がある。   The first allocation quality determination criterion includes the expectation that a criterion “maximum allocated product length” is selected and a good result is obtained later. Furthermore, the one with the lowest yield is selected as the second allocation quality criterion. If the final yield is the same, the worse the yield in the first allocation, the better the yield in the subsequent allocation.

〈構成3〉
構成1または2に記載の材料取り合わせシステムにおいて、上記最終調整時期判断手段は、上記いずれかの割り付け候補データを記憶装置に記憶させるとき、残りの未割り付け製品の長さの合計が、最も長い材料の長さ(材料長)以下であるとき、最終調整時期と判断することを特徴とする材料取り合わせシステム。
<Configuration 3>
In the material arrangement system according to Configuration 1 or 2, when the final adjustment time determination unit stores any of the allocation candidate data in a storage device, the total length of the remaining unallocated products is the longest material. The material assembling system is characterized in that when it is equal to or less than the length (material length), the final adjustment time is determined.

割り付け候補データを取得するつど、残りの未割り付け製品の長さの合計と最も長い材料の材料長とを比較する。最も長い材料に残りの製品全てを割り付けできれば、残り2回の割り付けデータ取得処理で全ての製品について割り付けを終了することができる。   Each time allocation candidate data is acquired, the total length of the remaining unallocated products is compared with the material length of the longest material. If all the remaining products can be allocated to the longest material, allocation can be completed for all the products in the remaining two allocation data acquisition processes.

〈構成4〉
構成1乃至3のいずれかに記載の材料取り合わせシステムにおいて、上記仮割り付け試行手段は、ある材料が選択されたとき、上記初期割り付け手段が、最も長い製品を仮割り付けできないときには、その材料に割り付けできる次に長い(最長の)製品を最も長い製品とみなして、上記割り付け候補データの保存処理を実行することを特徴とする材料取り合わせシステム。
<Configuration 4>
In the material assembling system according to any one of Configurations 1 to 3, the temporary allocation trial unit can allocate a material to a material when the material is selected and the initial allocation unit cannot temporarily allocate the longest product. A material assembling system characterized in that the next longest (longest) product is regarded as the longest product and the allocation candidate data is stored.

最も長い製品を最初に仮割り付けできないとき、その材料に割り付けできる次に長い製品を仮割り付けの対象にして、割り付けデータを採用するための選択肢を増やすことができる。   When the longest product cannot be provisionally assigned first, the next longest product that can be assigned to the material can be provisionally assigned, and options for adopting the assignment data can be increased.

〈構成5〉
構成1乃至4のいずれかに記載の材料取り合わせシステムにおいて、上記割り付け判定手段は、上記記憶装置に記憶された複数の割り付け候補データについて、それぞれ残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付けデータ取得処理を繰り返して、全ての製品について割り付け処理を終了し、上記複数の割り付け候補データに対する割り付け処理の終了結果を所定の割り付け良否判定基準により比較して、上記複数の割り付け候補データのいずれかを該当する製品の割り付けデータに採用するという処理を繰り返すことを特徴とする材料取り合わせシステム。
<Configuration 5>
In the material assembling system according to any one of Configurations 1 to 4, the allocation determination means regards the remaining unallocated products as new allocation target products for the plurality of allocation candidate data stored in the storage device. The allocation data acquisition process is repeated to finish the allocation process for all products, and the result of the allocation process for the plurality of allocation candidate data is compared according to a predetermined allocation pass / fail criterion, and the plurality of allocation candidate data A material assembling system that repeats the process of adopting any of the above as allocation data for the corresponding product.

複数の割り付け候補データのいずれかを採用するために、各割り付け候補データを採用した場合の最終的な割り付け処理の終了結果を、実際に計算して比較する。最終的に良い歩留まりが得られると予想される割り付け候補データを採用できる。   In order to employ any of the plurality of allocation candidate data, the final allocation processing end result when each allocation candidate data is employed is actually calculated and compared. It is possible to adopt allocation candidate data that is expected to finally obtain a good yield.

〈構成6〉
構成5に記載の材料取り合わせシステムにおいて、上記割り付け判定手段は、上記最終的な割り付け処理の終了結果における歩留まりを計算して、歩留まりが最大となる場合の割り付け候補データを該当する製品の割り付けデータに採用するという、割り付け良否判定基準を使用することを特徴とする材料取り合わせシステム。
<Configuration 6>
In the material arrangement system according to Configuration 5, the allocation determination unit calculates a yield in the final result of the allocation process, and assigns allocation candidate data when the yield is maximized to allocation data of the corresponding product. A material assembling system characterized by using an allocation pass / fail criterion.

最終的な割り付け処理の終了結果における歩留まりは、全ての製品長の総和と全ての材料長の総和から計算すると良い。   The yield in the final allocation processing end result may be calculated from the sum of all product lengths and the sum of all material lengths.

〈構成7〉
構成6に記載の材料取り合わせシステムにおいて、上記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの歩留まりが最大なものを採用し、それでも良否判定ができないときは、割り付け候補データのみの割り付け製品長が最大のものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
<Configuration 7>
In the material assembling system described in Structure 6, the allocation determining means adopts the one having the maximum yield of only allocation candidate data when the quality determination cannot be made even if the yield in the final result of the allocation process is compared. When the quality determination is still impossible, the material assembling system is characterized in that the quality determination is performed so that the product with the largest allocation product length of only allocation candidate data is adopted.

各割り付け候補データを、最終的な割り付け処理の終了結果に従って良否判定をしたとき、最終歩留まりが等しければ、割り付け候補データだけを比較すると良い。そのときには、割り付け候補データの歩留まりを比較し、それでもだめなら、割り付け製品長が最大のものを採用する。このような制御により、判定処理も含めた最適化と自動化を図ることができる。   When the allocation candidate data is judged to be good or bad according to the final result of the allocation process, if the final yield is equal, only the allocation candidate data may be compared. At that time, the yields of the allocation candidate data are compared, and if that still fails, the one with the maximum allocation product length is adopted. By such control, optimization and automation including determination processing can be achieved.

〈構成8〉
構成6に記載の材料取り合わせシステムにおいて、上記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの割り付け製品長が最大のものを採用し、それでも良否判定ができないときは、仮割り付け結果のみの歩留まりが最大なものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
<Configuration 8>
In the material assembling system described in Structure 6, when the allocation determination means cannot determine pass / fail even if the yield in the final result of the allocation process is compared, the allocation product length of the allocation candidate data alone is the largest. A material assembling system, which adopts a pass / fail judgment so that the yield of only the temporary allocation result is adopted when the pass / fail judgment is still impossible.

仮割り付け結果を比較するための判定基準を構成6と逆にした。ケースに応じて、いずれか良い結果が得られる方法を採用すれば良い。   The criterion for comparing the provisional allocation results was reversed from that in Configuration 6. Depending on the case, a method that can obtain any good result may be adopted.

〈構成9〉
構成6に記載の材料取り合わせシステムにおいて、上記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの割り付け製品長が最大のものを採用し、それでも良否判定ができないときは、仮割り付け結果のみの歩留まりが最小のものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
<Configuration 9>
In the material assembling system described in Structure 6, when the allocation determination means cannot determine pass / fail even if the yield in the final result of the allocation process is compared, the allocation product length of the allocation candidate data alone is the largest. A material assembling system characterized by adopting a pass / fail judgment so that a yield with only a temporary allocation result is adopted when the pass / fail judgment is still impossible.

最初の割り付けで歩留まりが悪いほうは、その後の割り付けで歩留まりが良くなることがあるため、この方法を採用する。   This method is adopted because the yield that is poor in the first allocation may improve the yield in the subsequent allocation.

〈構成10〉
コンピュータを、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、として機能させる材料取り合わせプログラム。
<Configuration 10>
The computer stores material data in which materials for allocating products are arranged in descending order of the length, and the product P = {P (1), P (2)... P (n)} to be allocated is stored in the computer. Stores product data to be allocated arranged in descending order of length, and stores information indicating products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. Means, an initial allocating means for selecting one of the materials from the storage means and allocating the longest product that can be allocated to the material, and s number of items currently allocated to the selected material. It is determined whether the total product length LQ and the material length b match, and if LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, Divide Ak (the result) The allocation candidate data is stored as the allocation candidate data, and the allocation candidate data storage process for the selected material is terminated. If LQ = b, the process proceeds to the next allocation possibility determination unit, the optimal allocation determination unit, and the product P (j ) Is assigned to Q (s), it is determined whether the total LQ length of the currently assigned s products is less than the selected material length b, and if LQ <b, The process proceeds to the provisional allocation result storage means with s = s + 1. If LQ <b, the process proceeds to the process of another product allocation means, and the sum of the lengths of the products currently allocated to the material. and LQ, is compared with the maximum value L max of the past (to date) to the sum of the lengths of the tentative allocation has been products (total length), LQ> L max if, L max = L max as LQ Is replaced with the total length of the current product (total product length) LQ, and the currently assigned (allocated) product list Q is stored as a temporary allocation result Ak, and the above j And n are compared to determine whether or not the allocation possibility determination (provisional allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s), Returning to the process of the optimal allocation determination means, if j <n, the process proceeds to the process of the allocation change means. The other product allocation means is compared with the preset minimum value s min and s of s, and s = If it is s min , the result that has already been saved as Ak is saved as a provisional assignment result (the result is assigned), and if it is not s = s min , then s = s−1 and immediately before Assigned products Allocation changing means for canceling allocation and returning to processing of another product allocation means, temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials, and the allocation candidates stored for a plurality of materials Compare the data, and in accordance with the assignment pass / fail judgment criteria, the assignment determination means that adopts any assignment candidate data to the assignment data of the corresponding product and the remaining unassigned products are regarded as new assignment products, and the above assignment Repeat the allocation data acquisition process from the candidate data storage process to the process of the allocation determination unit, and repeat the allocation data acquisition process by the repeated allocation unit, including the current allocation data acquisition process. In the allocation data acquisition process A final adjustment timing determination means for determining the final adjustment timing for ending the allocation for all products, and a plurality of allocations of the remaining unallocated products before acquisition of the current allocation data to any material when the final adjustment timing is determined. A material assembling program that acquires and compares allocation pattern candidates, and functions as final adjustment means for executing final adjustment processing that uses an allocation pattern that minimizes the material length to be used for allocation data of a corresponding product.

〈構成11〉
コンピュータを、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、として機能させる材料取り合わせプログラムを記録したコンピュータで読み取り可能な記録媒体。
<Configuration 11>
The computer stores material data in which materials for allocating products are arranged in descending order of the length, and the product P = {P (1), P (2)... P (n)} to be allocated is stored in the computer. Stores product data to be allocated arranged in descending order of length, and stores information indicating products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. Means, an initial allocating means for selecting one of the materials from the storage means and allocating the longest product that can be allocated to the material, and s number of items currently allocated to the selected material. It is determined whether the total product length LQ and the material length b match, and if LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, Divide Ak (the result) The allocation candidate data is stored as the allocation candidate data, and the allocation candidate data storage process for the selected material is terminated. If LQ = b, the process proceeds to the next allocation possibility determination unit, the optimal allocation determination unit, and the product P (j ) Is assigned to Q (s), it is determined whether the total LQ length of the currently assigned s products is less than the selected material length b, and if LQ <b, The process proceeds to the provisional allocation result storage means with s = s + 1. If LQ <b, the process proceeds to the process of another product allocation means, and the sum of the lengths of the products currently allocated to the material. and LQ, is compared with the maximum value L max of the past (to date) to the sum of the lengths of the tentative allocation has been products (total length), LQ> L max if, L max = L max as LQ Is replaced with the total length of the current product (total product length) LQ, and the currently assigned (allocated) product list Q is stored as a temporary allocation result Ak, and the above j And n are compared to determine whether or not the allocation possibility determination (provisional allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s), Returning to the process of the optimal allocation determination means, if j <n, the process proceeds to the process of the allocation change means. The other product allocation means is compared with the preset minimum value s min and s of s, and s = If it is s min , the result that has already been saved as Ak is saved as a provisional assignment result (the result is assigned), and if it is not s = s min , then s = s−1 and immediately before Assigned products Allocation changing means for canceling allocation and returning to processing of another product allocation means, temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials, and the allocation candidates stored for a plurality of materials Compare the data, and in accordance with the assignment pass / fail judgment criteria, the assignment determination means that adopts any assignment candidate data to the assignment data of the corresponding product and the remaining unassigned products are regarded as new assignment products, and the above assignment Repeat the allocation data acquisition process from the candidate data storage process to the process of the allocation determination unit, and repeat the allocation data acquisition process by the repeated allocation unit, including the current allocation data acquisition process. In the allocation data acquisition process A final adjustment timing determination means for determining the final adjustment timing for ending allocation for all products, and a plurality of allocations of the remaining unallocated products before acquisition of the current allocation data to any material when the final adjustment timing is determined. A computer recording a material assembling program that functions as a final adjustment means that executes final adjustment processing that obtains and compares allocation pattern candidates and compares the allocation pattern that minimizes the material length used in the allocation data of the corresponding product. -Readable recording media.

〈構成12〉
記憶手段が、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶するステップと、初期割り付け手段が、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付けるステップと、最適割り付け判定手段が、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進むステップと、割り付け可否判定手段が、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進むステップと、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り仮割り付け結果保存手段が、付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存するステップと、別製品割り付け手段が、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進むステップと、割り付け変更手段が、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻すステップと、仮割り付け試行手段が、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させるステップと、割り付け判定手段が、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用するステップと、繰り返し割り付け手段が、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返すステップと、最終調整時期判断手段が、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断するステップと、最終調整手段が、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行するステップと、を含むことを特徴とする材料取り合わせ方法。
<Configuration 12>
The storage means stores material data in which materials for allocating products are arranged in descending order of the length, and products P = {P (1), P (2)... P (n)} to be allocated are stored. The allocation target product data arranged in descending order of the length is stored, and information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing is stored. A step in which an initial allocation means selects one of the materials from the storage means and assigns the longest product that can be allocated to the material; and an optimal allocation determination means includes the selected material. It is determined whether the total length LQ of the s products currently allocated to the number L matches the length b of the material. If LQ = b, the list Q of currently allocated products is determined as the material. Allocation result A for And saving the Ak (result thereof) as allocation candidate data, ending the allocation candidate data storage process for the selected material, and if not LQ = b, proceeding to the process by the next allocation availability determination means; When the product P (j) is assigned to Q (s), whether the total LQ of the lengths of s products currently assigned is less than the length b of the selected material. If LQ <b, it is determined that s = s + 1, and the process proceeds to the provisional allocation result storage means. If LQ <b, the process proceeds to the process of the separate product allocation means, and the material is currently allocated. the total LQ length of the product are, past (until now) to the temporary dividing the provisional allocation result storage means, compares the maximum value L max of the total length of the attached to products (products total length) If LQ> L max, L max = the sum of the length of this product L max as LQ (product total length) replaced by LQ, (assigned) are currently allocated temporary allocation results list Q products The step of saving as Ak and the separate product allocating means compare the above j and n to determine whether the allocation feasibility determination (provisional allocation) has been completed for all products, and if j <n, P (j + 1) is newly allocated to Q (s) and returned to the process of the optimal allocation determination means. If j <n, the step of proceeding to the process of the allocation changing means and the allocation changing means are preset. by comparing the minimum value s min and s of s, if s = s min, (a) as Ak previously saved results (and tentative allocation results, and the results) as allocation candidate data Resides, s = s min Otherwise, the s = s-1, and returning from the cancel the allocation of products allocated immediately before the processing of another product allocation means, is provisionally allocated trial unit, the allocation candidate data The step of repeatedly trying the storage process for a plurality of materials and the allocation determination means compare the allocation candidate data stored for a plurality of materials, and assign any of the allocation candidate data according to the allocation pass / fail criterion. Steps adopted in the allocation data of the products to be assigned and the repeated allocation means regard the remaining unallocated products as new allocation target products, and obtain allocation data from the allocation candidate data storage process to the allocation determination means process The step of repeating the process and the final adjustment timing determination means Determining the final adjustment timing for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during the repetition of the allocation data acquisition process by the allocation means; When it is determined that it is the final adjustment time, obtain and compare multiple allocation pattern candidates that allocate the remaining unallocated products before acquiring the current allocation data to any material, and compare the allocation pattern that minimizes the material length used. And a step of executing a final adjustment process adopted for the allocation data of the corresponding product.

〈構成13〉
製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段と、上記割り付けデータを使用して、上記材料を選択する材料選択供給装置と、当該材料に割り付けられた製品をプレカットする材料切断装置とを備えたことを特徴とするプレカット装置。
<Configuration 13>
Material data in which materials for allocating products are arranged in descending order of the length is stored, and products P = {P (1), P (2)... P (n)} to be allocated are in descending order of the length. Storage means for storing the product data to be allocated arranged in the above, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing; An initial allocating unit that selects one of the materials from the storage unit and always allocates the longest product that can be allocated to the material, and the length of s products currently allocated to the selected material It is determined whether the total length LQ matches the length b of the material. If LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, and the Ak (that Result) The process of storing the allocation candidate data for the selected material is finished, and if LQ = b, the process proceeds to the process by the next allocation possibility determination unit, and the optimal allocation determination unit and the product P (j) When assigned to Q (s), determine whether the total LQ length of currently assigned s products is less than the selected material length b, and if LQ <b, then s = Proceed to the provisional allocation result storage means as s + 1, and if LQ <b, proceed to the process of the separate product allocation means, the allocation availability determination means, and the total length LQ of the products currently allocated to the material The maximum value L max of the total product lengths (total product lengths) temporarily allocated so far (the total product length) is compared, and if LQ> L max , L max = LQ and L max Product length Compare the above-mentioned j and n with temporary allocation result storage means for replacing the total Q (total product length) LQ and storing the currently allocated (allocated) product list Q as the temporary allocation result Ak. Thus, it is determined whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s), and the process of the optimal allocation determination means the return, j <else n, the process proceeds to allocation changing means compares a separate product allocation unit, and a minimum value s min and s preset s, if s = s min, already The result saved as Ak is saved as a provisional assignment result (the result is assigned), and if s = s min , s = s-1 is set, and the product assigned immediately before is assigned. take Then, the allocation changing means for returning to the processing of the different product allocation means, the temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials, and the allocation candidate data stored for a plurality of materials In comparison, according to the allocation pass / fail criterion, the allocation determination means that adopts any allocation candidate data as allocation data of the corresponding product, and the remaining unallocated products are regarded as new allocation target products, and the allocation candidate data The allocation data acquisition process from the storage process to the process of the allocation determination unit is repeated. During the repetition of the allocation data acquisition process by the repeated allocation unit and the repetition allocation unit, the current allocation data acquisition process is repeated twice. For all products in the allocation data acquisition process A final adjustment timing determination means for determining the final adjustment timing for ending allocation, and a plurality of allocation pattern candidates for allocating the remaining unallocated products before acquisition of the current allocation data to any material when the final adjustment timing is determined. Obtain and compare, and select the material using the final adjustment means that executes final adjustment processing that uses the allocation pattern that minimizes the material length to be used for the allocation data of the corresponding product, and the allocation data. A precut device comprising a material selection supply device and a material cutting device for precutting a product assigned to the material.

〈構成14〉
コンピュータを、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、上記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と上記材料の長さbとを比較し、上記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、として機能させる材料取り合わせプログラム。
<Configuration 14>
The computer stores material data in which materials for allocating products are arranged in descending order of the length, and the product P = {P (1), P (2)... P (n)} to be allocated is stored in the computer. Stores product data to be allocated arranged in descending order of length, and stores information indicating products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. Means, an initial allocating unit that selects one of the materials from the storage unit, and always allocates the longest product P (j) that can be allocated to the material, and the product P (j), The sum of the lengths of all products P (j) to P (n) shorter than the product P (j) is obtained, the total is compared with the length b of the material, and the length b of the material is the product. P (j),... P (n) is the final allocation result Then, the process is terminated by storing in Ak, and it is determined whether the total length LQ of the s number of products currently allocated to the selected material matches the length b of the material, If LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, and the allocation candidate data is stored for the selected material. If LQ = b is not satisfied, the optimal allocation determination means that proceeds to the processing of the next temporary allocation result storage means, the total LQ of the lengths of products currently allocated to the material, and the past (to date) Is compared with the maximum value L max of the total length of products temporarily allocated to (total product length), and if LQ> L max , L max = LQ and L max of the current product length For the allocation result stored in the temporary allocation result storage means that replaces the total (product length total) LQ and stores the currently allocated (allocated) product list Q as the temporary allocation result Ak. The allocation margin Sack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n). When the allocation margin Sack is less than the product length of the smallest product P (n), j = N, and when the allocation margin Sack is equal to or greater than the product length of the smallest product, the product length and the allocation margin Sack are compared in order from the product P (j) to P (n-1), and allocation is possible. The longest product is detected, s is set to (s + 1), and the process proceeds to the next separate product allocating means. The extra length discriminating means is compared with the above j and n, and all products are allocated. It is determined whether or not the determination (provisional allocation) has been completed. If j <n, the product P (j + 1) is newly allocated to Q (s) and returned to the processing of the optimal allocation determination unit, and j <n Otherwise, the process of the allocation changing means proceeds to another product allocation means, and the preset minimum value s min and s of s are compared. If s = s min, it is already stored as Ak. The result is stored as candidate allocation data (the result is a provisional allocation result). If s = s min is not satisfied, s = s-1 is set, and the allocation of the product allocated immediately before is canceled. The margin Sack is calculated. When the allocation margin Sack is less than twice the length of the smallest product P (n), j = n is set, and the length of the product P (n) having the smallest allocation margin Sack is 2 It is more than double The allocation changing means for detecting the longest product that can be allocated to the allocation margin Sack together with P (n) and returning it to the next allocation target process before returning to the processing of another product allocation means; The temporary allocation trial means for repeatedly trying the storage process for a plurality of materials is compared with the above allocation candidate data stored for a plurality of materials, and any allocation candidate data is assigned to the corresponding product according to the allocation pass / fail judgment criteria. Iterative allocation that repeats the allocation data acquisition process from the allocation candidate data storage process to the above allocation determination means process, considering the allocation determination means adopted for the allocation data and the remaining unallocated products as new allocation target products And the allocation data by the above repeated allocation means A final adjustment timing determination means for determining a final adjustment timing for ending allocation for all products in two allocation data acquisition processes including a current allocation data acquisition process, and a final adjustment timing; When a decision is made, multiple allocation pattern candidates that allocate the remaining unallocated product before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is determined for the corresponding product. A material assembling program that functions as a final adjustment means for executing a final adjustment process to be adopted for allocation data.

〈構成15〉
コンピュータを、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、上記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と上記材料の長さbとを比較し、上記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、として機能させる材料取り合わせプログラムを記録したコンピュータで読み取り可能な記録媒体。
<Configuration 15>
The computer stores material data in which materials for allocating products are arranged in descending order of the length, and the product P = {P (1), P (2)... P (n)} to be allocated is stored in the computer. Stores product data to be allocated arranged in descending order of length, and stores information indicating products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. Means, an initial allocating unit that selects one of the materials from the storage unit, and always allocates the longest product P (j) that can be allocated to the material, and the product P (j), The sum of the lengths of all products P (j) to P (n) shorter than the product P (j) is obtained, the total is compared with the length b of the material, and the length b of the material is the product. P (j),... P (n) is the final allocation result Then, the process is terminated by storing in Ak, and it is determined whether the total length LQ of the s number of products currently allocated to the selected material matches the length b of the material, If LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, and the allocation candidate data is stored for the selected material. If LQ = b is not satisfied, the optimal allocation determination means that proceeds to the processing of the next temporary allocation result storage means, the total LQ of the lengths of products currently allocated to the material, and the past (to date) Is compared with the maximum value L max of the total length of products temporarily allocated to (total product length), and if LQ> L max , L max = LQ and L max of the current product length For the allocation result stored in the temporary allocation result storage means that replaces the total (product length total) LQ and stores the currently allocated (allocated) product list Q as the temporary allocation result Ak. The allocation margin Sack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n). When the allocation margin Sack is less than the product length of the smallest product P (n), j = N, and when the allocation margin Sack is equal to or greater than the product length of the smallest product, the product length and the allocation margin Sack are compared in order from the product P (j) to P (n-1), and allocation is possible. The longest product is detected, s is set to (s + 1), and the process proceeds to the next separate product allocating means. The extra length discriminating means is compared with the above j and n, and all products are allocated. It is determined whether or not the determination (provisional allocation) has been completed. If j <n, the product P (j + 1) is newly allocated to Q (s) and returned to the processing of the optimal allocation determination unit, and j <n Otherwise, the process of the allocation changing means proceeds to another product allocation means, and the preset minimum value s min and s of s are compared. If s = s min, it is already stored as Ak. The result is stored as candidate allocation data (the result is a provisional allocation result). If s = s min is not satisfied, s = s-1 is set, and the allocation of the product allocated immediately before is canceled. The margin Sack is calculated. When the allocation margin Sack is less than twice the length of the smallest product P (n), j = n is set, and the length of the product P (n) having the smallest allocation margin Sack is 2 It is more than double The allocation changing means for detecting the longest product that can be allocated to the allocation margin Sack together with P (n) and returning it to the next allocation target process before returning to the processing of another product allocation means; The temporary allocation trial means for repeatedly trying the storage process for a plurality of materials is compared with the above allocation candidate data stored for a plurality of materials, and any allocation candidate data is assigned to the corresponding product according to the allocation pass / fail judgment criteria. Iterative allocation that repeats the allocation data acquisition process from the allocation candidate data storage process to the above allocation determination means process, considering the allocation determination means adopted for the allocation data and the remaining unallocated products as new allocation target products And the allocation data by the above repeated allocation means A final adjustment timing determination means for determining a final adjustment timing for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process, When a decision is made, multiple allocation pattern candidates that allocate the remaining unallocated product before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is determined for the corresponding product. A computer-readable recording medium having recorded thereon a material assembling program that functions as final adjusting means for executing final adjustment processing employed for allocation data.

〈構成16〉
記憶手段が、製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶するステップと、初期割り付け手段が、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付けるステップと、最適割り付け判定手段が、上記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と上記材料の長さbとを比較し、上記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進むステップと、仮割り付け結果保存手段が、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存するステップと、余長判別手段が、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進むステップと、別製品割り付け手段が、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進むステップと、割り付け変更手段が、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻すステップSと、仮割り付け試行手段が、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させるステップと、割り付け判定手段が、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用すると、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段ステップと、最終調整時期判断手段が、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断するステップと、最終調整手段が、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行するステップと、を含む材料取り合わせ方法。
<Configuration 16>
The storage means stores material data in which materials for allocating products are arranged in descending order of the length, and products P = {P (1), P (2)... P (n)} to be allocated are stored. The allocation target product data arranged in descending order of the length is stored, and information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing is stored. A step, an initial allocation means selecting one of the materials from the storage means, and allocating the longest product P (j) that can be allocated to the material; and an optimal allocation determination means, The total length of all products P (j) to P (n) including product P (j) and shorter than the product P (j) is obtained, and the total is compared with the length b of the material. When the length b of the material is equal to or greater than the total length of the products, P (j), .. P (n) is stored in Ak as the final allocation result, and the process is terminated. The total LQ of the lengths of the s products currently allocated to the selected material and the length b of the material If LQ = b, the currently assigned product list Q is set as the optimum allocation result Ak for the material, and Ak (the result) is stored as allocation candidate data and selected above. If the allocation candidate data storage process for the selected material is finished and LQ = b, the process proceeds to the next temporary allocation result storage means, and the temporary allocation result storage means is the product currently allocated to the material the total LQ length of, by comparing the maximum value L max of the past (to date) to the sum of the lengths of the tentative allocation has been products (total length), LQ> L max if, L ax = Replace L max total length of this product (product length total) LQ as LQ, and storing currently allocated to (the allocated) list of products Q as the temporary allocation result Ak, extra The length discriminating means calculates the allocation margin Slack = b−LQ for the allocation result stored in Ak, compares the allocation margin Slack with the product length of the smallest product P (n), and the allocation margin Slack is minimum. J = n when the product length of the product P (n) is less than the product length of the product P (n). Comparing the product length with the allocation room Slack, detecting the longest product that can be assigned, setting s to (s + 1) and proceeding to the processing of the next separate product assignment means; The attaching means compares the above j and n to determine whether or not the assignment possibility determination (provisional assignment) has been completed for all products. If j <n, the product P (j + 1) is newly assigned to Q ( s), the process returns to the process of the optimal allocation determination means. If j <n, the process proceeds to the process of the allocation change means, and the allocation change means sets the minimum values s min and s of s set in advance. If s = s min , the result that has already been stored as Ak is stored as a provisional allocation result, and the result is stored as allocation candidate data. If not s = s min , s = s-1 is calculated, and an allocation margin Slack is calculated in a state in which the allocation of the product allocated immediately before is canceled, and when this allocation margin Slack is less than twice the length of the minimum product P (n), j = N If the allocation margin Slack is determined to be more than twice the length of the smallest product P (n), the longest product that can be allocated to the allocation margin Slack together with P (n) is detected and Step S for returning to the processing of the separate product allocating means after the allocation target, a step in which the temporary allocation trial means repeatedly tries the storage process of the allocation candidate data for a plurality of materials, and an allocation determination means for the plurality of materials Comparing the saved allocation candidate data and adopting any allocation candidate data in the allocation data of the corresponding product according to the allocation pass / fail judgment criteria, the remaining unallocated products are regarded as new allocation target products, Allocation data acquisition processing from the allocation candidate data storage processing to the allocation determination means processing The repeated allocation means step and the final adjustment timing determination means repeat the processing, and the allocation data acquisition process is repeated by all the allocation data acquisition processes including the current allocation data acquisition process during the repetition of the allocation data acquisition process by the repeat allocation means. A step of determining a final adjustment time for ending assignment for the product, and a plurality of assignments for assigning the remaining unallocated products before acquisition of the current assignment data to any material when the final adjustment means is determined to be the final adjustment time. Executing a final adjustment process in which pattern candidates are acquired and compared, and an allocation pattern that minimizes the material length to be used is applied to allocation data of the corresponding product.

〈構成17〉
製品を割り付けるための材料をその長の降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長の降順に配列した割り付け対象製品データを記憶し、演算処理中に上記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、上記記憶手段から上記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、上記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と上記材料の長さbとを比較し、上記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、上記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し上記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、上記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、上記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、上記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、複数の材料について保存された上記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、残りの未割り付け製品を新たな割り付け対象製品とみなして、上記割り付け候補データの保存処理から上記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、上記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段と、上記割り付けデータを使用して、上記材料を選択する材料選択供給装置と、当該材料に割り付けられた製品をプレカットする材料切断装置とを備えたことを特徴とするプレカット装置。
<Configuration 17>
Material data in which materials for allocating products are arranged in descending order of the length is stored, and products P = {P (1), P (2)... P (n)} to be allocated are in descending order of the length. Storage means for storing the product data to be allocated arranged in the above, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing; An initial allocating unit that selects one of the materials from the storage unit and always allocates the longest product P (j) that can be allocated to the material, and the product P (j). The total length of all products P (j) to P (n) shorter than j) is obtained, and the total is compared with the length b of the material. The length b of the material is the length of the product. P (j), ... P (n) is stored in Ak as the final allocation result. To determine whether the total length LQ of s products currently assigned to the selected material matches the length b of the material, and if LQ = b, The assigned product list Q is set as the optimum allocation result Ak for the material, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and LQ = If not b, the optimal allocation determination means that proceeds to the processing of the next temporary allocation result storage means, the total LQ of the lengths of the products currently allocated to the material, and the products that have been temporarily allocated in the past (to date) Are compared with the maximum value L max of the total length (product length total), and if LQ> L max , L max = LQ and L max is the total length of the current product (total product length) ) Replace with LQ, save the currently assigned (allocated) product list Q as the temporary allocation result Ak, and the allocation space Slack = b for the allocation result stored in Ak -LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n). When the allocation margin Sack is less than the product length of the smallest product P (n), j = n is assigned. When the margin Slack is equal to or greater than the product length of the smallest product, the product length is compared with the allocation margin Slack from the product P (j) to P (n-1) in order, and the longest assignable product is detected. Then, s is set to (s + 1), and the process proceeds to the processing of the next separate product allocating means, and the above-mentioned j and n are compared with the surplus length determining means to determine whether allocation is possible for all products (provisional allocation) If j <n, the product P (j + 1) is newly assigned to Q (s) and returned to the optimum assignment determination means. If j <n, the assignment is made. Comparing the different product allocating means, which proceeds to the processing of the changing means, with the preset minimum value s min and s of s, and if s = s min , the result already stored as Ak is ( As a temporary allocation result, the result is saved as allocation candidate data. If s = s min is not set, s = s-1 is set, and an allocation margin Slack is calculated in a state where allocation of the product allocated immediately before is canceled. If this allocation margin Slack is less than twice the length of the smallest product P (n), j = n, and if the allocation margin Sack is more than twice the length of the smallest product P (n). Once judged, An allocation changing means for detecting the longest product that can be assigned to the margin Sack together with P (n) and returning it to the processing of another product allocation means after being assigned to the next allocation; Compare the temporary allocation trial means for repeatedly trying multiple materials with the above-mentioned allocation candidate data stored for multiple materials, and adopt any allocation candidate data as allocation data for the corresponding product according to the allocation pass / fail judgment criteria Repetitive allocation means for repeating the allocation data acquisition processing from the allocation candidate data storage processing to the processing of the allocation determination means, considering the remaining unallocated products as new allocation target products, Repeated allocation data acquisition processing by repeated allocation means During the return, when the final adjustment time determination means for determining the final adjustment time for ending the allocation for all products in the two allocation data acquisition processes including the current allocation data acquisition process, and when the final adjustment time is determined , Obtain and compare multiple allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material, and adopt the allocation pattern that minimizes the material length to be used for the allocation data of the corresponding product A final adjustment means for executing the final adjustment process, a material selection supply device for selecting the material using the allocation data, and a material cutting device for pre-cutting the product allocated to the material. A pre-cut device.

本発明では、材料を一つずつ選択して、高速演算を可能にするために開発された再起法アルゴリズムで、長さの順にソートした製品を組み合わせて仮割り付けをする。複数の材料に同様の処理を試みてその結果を比較し、最適割り付け方法を見つける。残りの製品についても、同様にして割り付けをする。なお、この処理を全ての製品を割り付け終わるまで繰り返すと、必ずしも最適な割り付けができないことがある。良い割り付けを先取りしていくと、最後のほうにしわ寄せが来ることがあるからである。従って、例えば、最も短い1本の製品が残り、これを長い材料に割り付けて処理が終了するとき、最後は歩留まりが非常に悪い割り付けになる。そこで、一定の条件を満たす最終調整時期を判断して、この最終調整時期で、割り付けの最適化を図る。さらに、割り付けの対象になる材料が複数あることから、最適な割り付けを選ぶための選択肢を増やす。以下、本発明の実施の形態を実施例ごとに詳細に説明する。   In the present invention, a material is selected one by one, and a recursive algorithm developed to enable high-speed computation, the products sorted in order of length are combined and temporarily allocated. Try the same process on multiple materials and compare the results to find the optimal allocation method. Assign the remaining products in the same way. If this process is repeated until all products have been allocated, optimal allocation may not always be possible. This is because if you preempt a good allocation, wrinkles may come towards the end. Therefore, for example, when the shortest one product remains and is allocated to a long material and the processing is completed, the yield is extremely poor at the end. Therefore, the final adjustment time that satisfies a certain condition is determined, and the allocation is optimized at this final adjustment time. In addition, since there are multiple materials to be allocated, the number of options for selecting the optimal allocation is increased. Hereinafter, embodiments of the present invention will be described in detail for each example.

図1は実施例1の材料取り合わせシステム10のブロック図である。
図の材料取り合わせシステム10は、コンピュータ12にインストールされたコンピュータプログラムにより動作する。このシステムは、例えば、コンピュータ12に対してネットワーク14を介して接続された端末装置16により利用される。端末装置16は、例えば、建物の構造材をプレカットするプレカット工場に設けられている。材料取り合わせシステム10は、この端末装置16からプレカットのための条件データを受け付けて、取り合わせ演算処理を実行して割り付けデータを返す。端末装置16は、返された割り付けデータを使用して、プレカット装置17を制御する。プレカット装置17には、例えば、特許文献1に記載されたような機構を使用することができる。なお、材料取り合わせシステム10として機能するコンピュータ12全体が、プレカット装置17に一体に組み込まれてしまっても構わない。
FIG. 1 is a block diagram of a material assembling system 10 according to the first embodiment.
The material assembling system 10 shown in the drawing is operated by a computer program installed in the computer 12. This system is used, for example, by a terminal device 16 connected to the computer 12 via the network 14. The terminal device 16 is provided, for example, in a precut factory that precuts building structural materials. The material assembling system 10 receives condition data for precut from the terminal device 16, executes assortment calculation processing, and returns allocation data. The terminal device 16 controls the precut device 17 using the returned allocation data. For the pre-cut device 17, for example, a mechanism as described in Patent Document 1 can be used. The entire computer 12 functioning as the material assembling system 10 may be integrated into the precut device 17.

コンピュータ12の本体ケース3には、演算処理装置20と記憶装置40とが収容されている。演算処理装置20には、図のように、繰り返し割り付け処理を実行して結果を出力するために、初期割り付け手段21、仮割り付け試行手段24、割り付け判定手段25、繰り返し割り付け手段26、最終調整時期判断手段27、最終調整手段28、入出力データ処理手段30等のコンピュータプログラムがインストールされている。また、繰り返し処理中の仮割り付け処理のために、最適割り付け判定手段31、割り付け可否判定手段32、仮割り付け結果保存手段33、別製品割り付け手段34、割り付け変更手段35等のコンピュータプログラムがインストールされている。これらのコンピュータプログラムが連携して演算処理を実行する。記憶装置40には、図のように、材料データ41、割り付け対象製品データ42、割り付け結果43、割り付けデータ44、未割り付け製品45、割り付けパターン46、割り付け候補データ47、割り付け良否判定基準50、割り付け良否判定基準51及びパラメータ52等のデータが記憶されている。これらのデータは、キーボード4やマウス5等の入力手段により入力され、入出力データ処理手段30により処理される。また、あるいは、上記のコンピュータプログラムの動作により生成されて、記憶装置40に記憶される。具体的な各部の説明の前に、コンピュータのハードウエアと、コンピュータプログラムと、記憶装置40に記憶されるデータの具体的な説明をする。   The main body case 3 of the computer 12 accommodates an arithmetic processing device 20 and a storage device 40. As shown in the figure, the arithmetic processing unit 20 executes initial assignment processing, temporary assignment trial means 24, assignment determination means 25, repeat assignment means 26, final adjustment time, in order to execute repeated assignment processing and output the result. Computer programs such as determination means 27, final adjustment means 28, and input / output data processing means 30 are installed. In addition, for temporary allocation processing during repetitive processing, computer programs such as optimum allocation determination means 31, allocation possibility determination means 32, temporary allocation result storage means 33, separate product allocation means 34, allocation change means 35, etc. are installed. Yes. These computer programs cooperate to execute arithmetic processing. In the storage device 40, as shown in the figure, material data 41, allocation target product data 42, allocation result 43, allocation data 44, unallocated product 45, allocation pattern 46, allocation candidate data 47, allocation quality determination criteria 50, allocation Data such as pass / fail judgment criteria 51 and parameters 52 are stored. These data are input by input means such as the keyboard 4 and the mouse 5 and processed by the input / output data processing means 30. Alternatively, it is generated by the operation of the above computer program and stored in the storage device 40. Prior to specific description of each part, computer hardware, a computer program, and data stored in the storage device 40 will be specifically described.

図2は、材料取り合わせシステム10を構成するコンピュータのハードウエアブロック図である。
材料取り合わせシステム10は、図のようなハードウエアにより構成される。なお、このハードウエア自体は、既知のコンピュータを採用することができる。図のように、コンピュータ12(図1)の本体ケース3中に収められた内部バス110には、CPU(中央処理装置)111と、ROM(リードオンリメモリ)112と、RAM(ランダムアクセスメモリ)113と、HDD(ハードディスク)114と、入出力インタフェース115と、ネットワークインタフェース116とが接続されている。入出力インタフェース115には、ディスプレイ2とキーボード4とマウス5とが接続されている。ネットワークインタフェース116には、ネットワーク14を介して、プレカット工場の端末装置16が接続されている。端末装置16は、プレカット装置17の材料選択供給装置120に、割り付けデータを供給する。これにより、指定された材料が選択されて材料切断装置121に供給され、指定された割り付けで切断される。切断された製品は製品搬送装置122により搬送され排出される。
FIG. 2 is a hardware block diagram of a computer constituting the material assembling system 10.
The material assembling system 10 is configured by hardware as shown in the figure. As this hardware itself, a known computer can be adopted. As shown in the figure, an internal bus 110 housed in the main body case 3 of the computer 12 (FIG. 1) includes a CPU (Central Processing Unit) 111, a ROM (Read Only Memory) 112, and a RAM (Random Access Memory). 113, HDD (hard disk) 114, input / output interface 115, and network interface 116 are connected. A display 2, a keyboard 4, and a mouse 5 are connected to the input / output interface 115. A terminal device 16 of a precut factory is connected to the network interface 116 via the network 14. The terminal device 16 supplies the allocation data to the material selection supply device 120 of the precut device 17. As a result, the designated material is selected and supplied to the material cutting device 121 and is cut with the designated assignment. The cut product is conveyed and discharged by the product conveying device 122.

図1に示した記憶装置40は、ROM112やRAM113やHDD114により構成される。図1に示した演算処理装置20は、CPU111、ROM112、RAM113等により構成される。各種のデータは主としてHDD114に記憶されて保存される。CPU111が実行するコンピュータプログラムは、ROM112に記憶され、あるいはRAM113に適時ロードされる。端末装置も同様の構成で構わない。ネットワーク14はインターネットでもイントラネットでも構わない。   The storage device 40 illustrated in FIG. 1 includes a ROM 112, a RAM 113, and an HDD 114. The arithmetic processing unit 20 illustrated in FIG. 1 includes a CPU 111, a ROM 112, a RAM 113, and the like. Various data are mainly stored and stored in the HDD 114. A computer program executed by the CPU 111 is stored in the ROM 112 or loaded into the RAM 113 as appropriate. The terminal device may have the same configuration. The network 14 may be the Internet or an intranet.

[前提条件]
図3は、割り付け候補データ生成のための処理動作フローチャートである。
この発明では、高速演算を可能にするために、図のようなアルゴリズムを仮割り付けのために採用する。初期割り付け手段21と仮割り付け試行手段24がこの処理を実行する。この演算処理を実行するために、次のように、処理条件とパラメータを定める。
n個の対象製品がある。長さ順に並べた対象製品のリストをPとする。対象製品はそれぞれP(1),P(2)・・・P(n)と表す。P={P(1),P(2)・・・P(n)}である。これらの製品は長さの降順に並べられて材料データ41として、記憶装置40に記憶されている。
[Prerequisites]
FIG. 3 is a flowchart of a processing operation for generating allocation candidate data.
In the present invention, an algorithm as shown in the figure is employed for temporary allocation in order to enable high-speed computation. The initial allocation means 21 and the temporary allocation trial means 24 execute this processing. In order to execute this arithmetic processing, processing conditions and parameters are determined as follows.
There are n target products. Let P be a list of target products arranged in length order. The target products are represented as P (1), P (2)... P (n), respectively. P = {P (1), P (2)... P (n)}. These products are arranged in descending order of length and stored in the storage device 40 as material data 41.

演算処理中にある材料kにs個の製品を割り付けた状態があるとき、割り付けた製品のリストをQとする。割り付けた製品はそれぞれ、Q(1),Q(2)・・・Q(s)と表す。これらの製品は長さの降順に並べられている。Q={Q(1),Q(2),・・・Q(s)}である。演算処理中に生成される割り付け結果43や割り付け候補データ47や割り付けデータ44は、製品の長さの降順に並べられて記憶装置40に記憶されている。   When there is a state in which s products are assigned to the material k being processed, let Q be the list of assigned products. The assigned products are represented as Q (1), Q (2)... Q (s), respectively. These products are arranged in descending order of length. Q = {Q (1), Q (2),... Q (s)}. The allocation results 43, the allocation candidate data 47, and the allocation data 44 generated during the arithmetic processing are stored in the storage device 40 in the descending order of the product length.

割り付けたi番目の製品の長さを、lQ(i)と表す。
iは1からsまでの値をとるパラメータである。
割り付けたs個の製品長合計をLQとする。
The length of the assigned i-th product is represented as l Q (i) .
i is a parameter taking a value from 1 to s.
The total s product lengths assigned is LQ.

式1Formula 1

Figure 0004467015
である。
割り付け対象とされた材料kの長さをbとする。
材料kにQを割り付けたという意味の割り付け結果をAsとする。Asに保存される割り付け結果は、演算処理中に次々に書き換えられる。割り付け判定手段25に渡されるデータを割り付け候補データ47と呼ぶ。初期割り付け手段21は、記憶手段40の材料データ41を参照して、そこから材料を一つ選択する。そして、その材料に対して割付け可能な最も長い製品を必ず割付ける処理を実行する機能を持つ。最も長い製品を最初に必ず割付けると良い結果が得られる確率が高いからである。
Figure 0004467015
It is.
Let the length of the material k to be allocated be b.
An assignment result that means that Q is assigned to the material k is assumed to be As. The allocation results stored in As are rewritten one after another during the arithmetic processing. Data passed to the allocation determination unit 25 is referred to as allocation candidate data 47. The initial allocation means 21 refers to the material data 41 of the storage means 40 and selects one material therefrom. And it has a function to execute a process of allocating the longest product that can be allocated to the material. This is because if the longest product is always assigned first, a good result is likely to be obtained.

仮割り付け試行手段24は、複数の材料について仮割り付け演算処理を実行する機能を持つ。この仮割り付け演算処理の結果、複数の割り付け候補データが得られる。割り付け判定手段25は、保存された複数の割り付け候補データを、割り付け良否判定基準に従って比較し、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する。繰り返し割り付け手段26は、残りの未割り付け製品を新たな割り付け対象製品とみなして、割り付け候補データの取得処理から割り付け判定処理までの、割り付けデータ取得のための繰り返し処理を制御する機能を持つ。最終調整時期判断手段27と最終調整手段28とは、繰り返し処理の最終段階で、割り付けの最適化のための処理を実行する機能を持つ。以下、まず、図3のフローチャートの処理を詳述する。   The temporary allocation trial unit 24 has a function of executing temporary allocation calculation processing for a plurality of materials. As a result of this temporary allocation calculation process, a plurality of allocation candidate data is obtained. The allocation determination means 25 compares the plurality of stored allocation candidate data according to the allocation pass / fail determination criteria, and employs any allocation candidate data as allocation data for the corresponding product. The repetitive allocation unit 26 has a function of controlling the repetitive processing for acquiring allocation data from the allocation candidate data acquisition processing to the allocation determination processing by regarding the remaining unallocated products as new allocation target products. The final adjustment time determination unit 27 and the final adjustment unit 28 have a function of executing a process for optimizing the allocation at the final stage of the iterative process. Hereinafter, first, the processing of the flowchart of FIG. 3 will be described in detail.

[初期パラメータ設定]
初期割り付け手段21は、仮割り付け処理の開始前に、パラメータの初期設定をする。
最初に ステップS100で、いずれかの材料に対して、最長の製品P(1)が割り付けられている状態から処理を開始する。j=1、s=1として、Q(s)=P(j)とする。仮割り付けした製品長合計の最大値Lmaxの初期値を0とする。Lmaxには、仮割り付け演算処理中に、製品長合計の最大値を保持しておく。この実施例の仮割り付けでは、最長の製品Q(1)の割り付けは固定したまま、他の製品を順次割り付けて最適化する。sは、割り付け製品を指定するパラメータである。2番目以降に割り付けた製品の取り合わせを演算処理するので、sの最小値を2とする。これらの処理を初期割り付け手段21が実行する。
[Initial parameter setting]
The initial allocation means 21 initializes parameters before starting the temporary allocation process.
First, in step S100, processing is started from a state in which the longest product P (1) is assigned to any material. Assuming j = 1 and s = 1, Q (s) = P (j). The initial value of the maximum value L max of the total product length temporarily allocated is set to 0. L max holds the maximum value of the total product length during the provisional allocation calculation process. In the temporary allocation of this embodiment, the allocation of the longest product Q (1) is fixed and other products are allocated sequentially for optimization. s is a parameter for designating the assigned product. Since the assembling of the products assigned to the second and later is processed, the minimum value of s is set to 2. These processes are executed by the initial allocation means 21.

sの最小値を2としておくことにより、その材料に対して割付け可能な最長製品を必ず割付けるという制御を実現する。即ち、このステップS100は、製品長降順に並べられた対象製品リストPに含まれる製品を、選択された材料の長さ以下の長さになるまで読み飛ばす。そして、最初に割付可能な製品が見つかったときに、その製品を割付け済みリストQに初期設定する。   By setting the minimum value of s to 2, the longest product that can be assigned to the material is surely assigned. That is, in this step S100, the products included in the target product list P arranged in descending order of the product length are skipped until the length becomes equal to or shorter than the length of the selected material. When an assignable product is found for the first time, the product is initialized in the assigned list Q.

[最適割り付け判定]
図3のステップS101で、割り付けたs個の製品の長さの合計LQと材料の長さbが一致するか判断する。LQ=bなら、ステップS102で割り付けた製品のリストQを割り付け結果Akとして処理を終了する。長さbの材料にs個の製品を残材が無いように割り付けることができたとき、その仮割り付け結果が最適と判断できるからである。LQ=bでなければ、ステップS201以下の[割り付け可否判定]へ進む。これらの処理を最適割り付け判定手段31が実行する。
[Optimal allocation judgment]
In step S101 in FIG. 3, it is determined whether or not the total length LQ of the allocated s products matches the material length b. If LQ = b, the product list Q assigned in step S102 is used as the assignment result Ak, and the process is terminated. This is because, when s products can be allocated to the material of length b so that there is no remaining material, the provisional allocation result can be determined to be optimal. If LQ = b is not satisfied, the process proceeds to [assignment availability determination] in step S201 and the subsequent steps. These processes are executed by the optimum allocation determining means 31.

[割り付け可否判定]
ステップS202で、j={j|P(j)=Q(s)}とする。これは、製品群Pの中から次に選択する製品を指定するためのパラメータjをセットする処理である。最後(最新)に割り付けた製品のパラメータjを求めてセットする。なお、一つの材料に対していずれかの製品を順番に割り付けていくと、sが順に増加する。3個の製品を割り付けるとsは3になる。一方 、例えば、製品5個を割り付けて次の6個目の製品を割り付けできなくなったときは、直前にQ(s)として割り付けた製品の割り付けを取り消し、sをs−1にする。パラメータsはこのように増減する。現在のQ(s)に対して新たにP(j)を割り付けたとき、s個の製品の長さの合計LQが材料の長さb未満になるかどうかを判断する。即ち、これで、新たに選択した製品の割り付けの可否を判断する。LQ<bならば、その割り付けが可能だから、ステップS203で、s=s+1として、次に長い製品を割り付け対象に選択する。そして、ステップS301の[仮割り付け結果保存]に進む。LQ<bでなければ、割り付けたs個の製品の長さの合計LQが材料の長さbを越えているから、ステップS401の[次製品選択]に進む。これらの処理を割り付け可否判定手段32が実行する。
[Assessment of allocation]
In step S202, j = {j | P (j) = Q (s)}. This is a process of setting a parameter j for designating the next product to be selected from the product group P. The parameter j of the product assigned at the end (latest) is obtained and set. When any product is assigned to one material in order, s increases in order. If 3 products are assigned, s becomes 3. On the other hand, for example, when 5 products are allocated and the next 6th product cannot be allocated, the allocation of the product allocated immediately before as Q (s) is canceled and s is set to s-1. The parameter s increases or decreases in this way. When P (j) is newly assigned to the current Q (s), it is determined whether or not the total LQ of s product lengths is less than the material length b. That is, it is determined whether or not the newly selected product can be assigned. If LQ <b, the allocation is possible, so in step S203, s = s + 1 is set and the next longest product is selected as the allocation target. Then, the process proceeds to [Temporary allocation result storage] in step S301. If LQ <b, since the total LQ of the assigned s product lengths exceeds the material length b, the process proceeds to [Select next product] in step S401. These processes are executed by the allocation possibility determination unit 32.

[仮割り付け結果保存]
ステップS301で、LQ>Lmaxかどうかを判断する。Lmaxは、これまでの仮割り付けした製品長合計の最大値を保持している。今回の仮割り付けの結果をこれと比較する。LQ>Lmaxならば、ステップS302で、Lmax=LQとし、Lmaxを今回の製品長合計に置き換える。さらに、ステップS303で、QをAkにセットして、仮割り付け結果を保存する。続いてステップS401[別製品割り付け]に進む。([次製品選択]に進む。)LQ>Lmaxでないときは、割り付け結果は保存せず、ステップS302、303はパスしてステップS401[別製品割り付け]に進む。これらの処理を仮割り付け結果保存手段33が実行する。
[Save temporary assignment result]
In step S301, it is determined whether LQ> L max . L max holds the maximum value of the total product length temporarily allocated so far. Compare the result of this temporary allocation with this. If LQ> L max, in step S302, and L max = LQ, replacing the L max in the product the total length of this time. In step S303, Q is set to Ak, and the temporary allocation result is stored. Then, it progresses to step S401 [separate product allocation]. (Proceed to [Select next product].) If LQ> L max is not satisfied, the allocation result is not saved, and steps S302 and S303 are passed and the process proceeds to step S401 [separate product allocation]. These processes are executed by the temporary allocation result storage means 33.

[別製品割り付け]
ステップS401では、j<nかどうかを判断する。これで、全ての製品について仮割り付け演算をしたかどうかを判断する。j<nならば、ステップS402で、Q(s)=P(j+1)として、ステップS101の[最適割り付け判定]に戻る。これで、こんどはQ(s)に新たな製品P(j+1)を割り付けたとしたきの処理を実行する。j<nでなければ、ステップS501の[割り付け戻]に進む。これらの処理を別製品割り付け手段34が実行する。
[Separate product assignment]
In step S401, it is determined whether j <n. Thus, it is determined whether or not provisional allocation has been performed for all products. If j <n, Q (s) = P (j + 1) is set in step S402, and the process returns to [optimum allocation determination] in step S101. Now, this time, the process is executed as if a new product P (j + 1) was assigned to Q (s). If j <n, the process proceeds to [Reassign] in step S501. The separate product assignment unit 34 executes these processes.

ステップS501では、s=sminかどうかを判断する。sを減らしていく限界がs=2である。s=sminならば、全ての製品について[最適割り付け判定]から[別製品割り付け(次製品選択)]までの処理を終えたので、仮割り付け処理を終了する。このとき、これまでの処理で、最も歩留まりの良い結果がAkに入っている。そのときの製品長の合計値は、LQ>Lmaxである。s=sminでなければ、ステップS502でs=s−1とし、一つ前の割り付け結果に戻して、再度仮割り付けを試みる。LQ<bでないときはsを一つ戻して、割り付けの対象を取り消し、もっと短い別の製品を選択する。ステップS503で、j={j|P(j)=Q(s)}としてステップS401と402を経由してステップS101の[最適割り付け判定]に戻る。これらの処理を割り付け変更手段35が実行する。 In step S501, it is determined whether s = s min . The limit for reducing s is s = 2. If s = s min , since the processing from [optimum allocation determination] to [alternate product allocation (next product selection)] has been completed for all products, the provisional allocation process ends. At this time, the result with the best yield is included in Ak in the processing so far. The total product length at that time is LQ> L max . If s = s min is not satisfied, s = s-1 is set in step S502, the previous allocation result is restored, and temporary allocation is attempted again. When LQ <b is not satisfied, s is returned by one, the allocation target is canceled, and another shorter product is selected. In step S503, j = {j | P (j) = Q (s)} and returns to [optimum allocation determination] in step S101 via steps S401 and S402. These processes are executed by the allocation changing means 35.

即ち、最長の製品を必ず割り付けるという条件の下に、残りの製品を順番に割り付け、[最適割り付け判定]の処理で、LQ=bという最適割り付けを見つけるようにする。LQ=bの組み合わせが見つからないときは、上記の手順で仮割り付けをした結果のうち最も歩留まりの良い最良のものを、その材料に対する最適割り付け結果とする。これで、一つの割り付け候補データ4を取得する。   That is, under the condition that the longest product is always assigned, the remaining products are assigned in order, and the optimum assignment of LQ = b is found in the process of [optimum assignment determination]. When the combination of LQ = b is not found, the best result with the best yield among the results of provisional assignment according to the above procedure is set as the optimum assignment result for the material. Thus, one allocation candidate data 4 is acquired.

図4は、具体的な処理例の説明図である。
図の左端には、順に変化していく状態の番号をNo.1〜No.9と表示した。その右側には、パラメータや変数、s,j,LQ,Lmax,Q,Akの内容の変化を順に示した。
FIG. 4 is an explanatory diagram of a specific processing example.
At the left end of the figure, the number of the state that changes in order is No .. 1-No. 9 is displayed. On the right side, changes in parameters, variables, s, j, LQ, L max , Q, and Ak are shown in order.

[入力データの設定]
まず、入力データと変数の設定をする。長さが100の材料を割り付けの対象に選択する。b=100である。また、長さがそれぞれ、60,50,30,20,20,20の6個の対象製品があるものとする。長さの降順に並べた対象製品のリストは、P={60,50,30,20,20,20}である。対象製品はそれぞれP(1),P(2)・・・P(n)と表すから、n=6である。例えば、{P(1)}={60}である。この材料kにs個の製品を割り付けたとき、割り付けた製品のリストは、Q={Q(1),Q(2),・・・Q(s)}である。sは1〜6の値をとり得る。割り付けたs個の製品長合計をLQとする。材料kにQを割り付けたという意味の割り付け結果をAkとする。
[Input data settings]
First, input data and variables are set. A material having a length of 100 is selected as an object to be allocated. b = 100. In addition, it is assumed that there are six target products whose lengths are 60, 50, 30, 20, 20, and 20, respectively. The list of target products arranged in descending order of length is P = {60, 50, 30, 20, 20, 20}. Since the target products are represented as P (1), P (2)... P (n), n = 6. For example, {P (1)} = {60}. When s products are assigned to this material k, the assigned product list is Q = {Q (1), Q (2),... Q (s)}. s can take a value of 1-6. The total s product lengths assigned is LQ. Let the assignment result in the sense that Q is assigned to the material k be Ak.

[No1.の処理]
[初期パラメータ設定]
s=1 最初に最長の製品P(1)がQ(1)に割り付けられている状態から開始する。即ち、b=100の材料に、長さ60の製品P(1)を初めに割り付けておく。仮割り付けした製品長合計の最大値を保持しておく変数Lmaxには、処理開始時に最小値0をセットしておく。最も長い製品の割り付けは取り消すことが無いので、smin=2にセットしておく。
[No. Processing]
[Initial parameter setting]
s = 1 Start from the state where the longest product P (1) is assigned to Q (1) first. That is, the product P (1) having a length of 60 is first allocated to the material of b = 100. A minimum value 0 is set to the variable L max that holds the maximum value of the total product length temporarily allocated at the start of processing. Since the allocation of the longest product is not canceled, s min = 2 is set.

[最適割り付け判定](ステップS101)
第1回の処理では、割り付けた1個の製品の長さの合計LQ=60と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[Optimum allocation determination] (step S101)
In the first process, it is determined whether the total length LQ = 60 of one assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−203)
j={j|P(j)=Q(s)}とする。即ち、Q(1)に相当するP(j)のjをセットする。Q(1)にはP(1)を割り付けているからj=1である。割り付けた1個の製品の長さの合計LQ=60が材料の長さb=100未満かどうか判断する。LQ<bだから、s=s+1、即ち、sを2にインクリメントして、[仮割り付け結果保存]に進む。P(1)をQ(1)に割り付けることが可能と判断されたから、次に、Q(2)に新たな製品を割り付ける処理に進む。
[Allocation availability determination] (step S201-203)
Let j = {j | P (j) = Q (s)}. That is, j of P (j) corresponding to Q (1) is set. Since P (1) is assigned to Q (1), j = 1. It is determined whether the total length LQ = 60 of one assigned product is less than the material length b = 100. Since LQ <b, s = s + 1, that is, s is incremented to 2, and the process proceeds to [Temporary allocation result storage]. Since it is determined that P (1) can be assigned to Q (1), the process proceeds to a process of assigning a new product to Q (2).

[仮割り付け結果保存](ステップS301−303)
LQ>Lmaxかどうかを判断する。LQ=60である。初期状態のLmax=0である。だから、LQ>Lmaxである。従って、Lmax=60とする。さらに、QをAkにセットする。Akをここでは、{P(1)}={60}と表す。
[Temporary allocation result storage] (steps S301-303)
It is determined whether LQ> L max . LQ = 60. The initial state L max = 0. Therefore, LQ> L max . Therefore, L max = 60. Further, Q is set to Ak. Here, Ak is represented as {P (1)} = {60}.

[別製品割り付け(次製品選択)](ステップS401−402)
j<nかどうかを判断する。jは1である。nは6である。j<nだから、Q(s)=P(j+1)とする。現在、s=2である。これで、P(2)がQ(2)に割り付けられた。これで、No2の状態になり、最初の[最適割り付け判定]に戻る。
[Separate product allocation (next product selection)] (steps S401-402)
It is determined whether j <n. j is 1. n is 6. Since j <n, it is assumed that Q (s) = P (j + 1). Currently, s = 2. P (2) is now assigned to Q (2). As a result, the state No. 2 is obtained, and the process returns to the first [optimum allocation determination].

[No2.の処理]
[最適割り付け判定](ステップS101)
今はs=2である。製品Q(2)まで割り付けられている。割り付けられた製品は{P(1)、P(2)}={60、50}である。割り付けた製品の長さの合計LQ=60+50と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[No2. Processing]
[Optimum allocation determination] (step S101)
Now s = 2. Product Q (2) is allocated. The assigned products are {P (1), P (2)} = {60, 50}. It is determined whether or not the total length LQ = 60 + 50 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−202)
j={j|P(j)=Q(s)}とする。即ち、Q(2)に相当する(を) P(j)(としたとき)のjをセットする。j=2となる。割り付けた(1個の)製品の長さの合計LQ=60+50=110が、材料の長さb=100未満かどうか判断する。LQ>bだから、P(2)の割り付けはできないと判断される。そこで、[別製品割り付け]に進む。
[Allocation availability determination] (step S201-202)
Let j = {j | P (j) = Q (s)}. That is, j corresponding to (()) P (j) corresponding to Q (2) is set. j = 2. It is determined whether the total length LQ = 60 + 50 = 110 of the assigned (one) product is less than the material length b = 100. Since LQ> b, it is determined that P (2) cannot be allocated. Therefore, the process proceeds to [Separate Product Assignment].

[別製品割り付け](ステップS401−402)
j<nかどうかを判断する。j=2でn=6だから、Q(s)=P(j+1)とする。Q(2)=P(3)、即ち、P(2)=50を割り付けることができなかったから、その割り付けを止めて、3番目の製品P(3)=30を改めて割り付け、最初の[最適割り付け判定]に戻る。
[Other Product Assignment] (Steps S401-402)
It is determined whether j <n. Since j = 2 and n = 6, Q (s) = P (j + 1). Q (2) = P (3), that is, P (2) = 50 could not be allocated, so the allocation was stopped and the third product P (3) = 30 was allocated again, and the first [optimum Return to Allocation Judgment].

[No3.の処理]
[最適割り付け判定](ステップS101)
今はs=2である。製品がQ(2)まで割り付けられている。割り付けられた製品は{P(1)、P(3)}={60、30}である。割り付けた製品の長さの合計LQ=60+30と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む
[No3. Processing]
[Optimum allocation determination] (step S101)
Now s = 2. Products are allocated up to Q (2). The assigned products are {P (1), P (3)} = {60, 30}. It is determined whether the total length LQ = 60 + 30 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation determination].

[割り付け可否判定](ステップS201−203)
j={j|P(j)=Q(s)}とする。即ち、Q(2)に相当するP(j)のjをセットする。j=3である。割り付けた(1個の)製品の長さの合計LQ=60+30=90が、材料の長さb=100未満かどうか判断する。LQ<bだから、s=s+1、即ち、sを3にインクリメントして、[仮割り付け結果保存]に進む
[Allocation availability determination] (step S201-203)
Let j = {j | P (j) = Q (s)}. That is, j of P (j) corresponding to Q (2) is set. j = 3. It is determined whether the total length LQ = 60 + 30 = 90 of the assigned (one) product is less than the material length b = 100. Since LQ <b, s = s + 1, that is, s is incremented to 3, and the process proceeds to [Preliminary allocation result storage].

[仮割り付け結果保存](ステップS301−303)
LQ>Lmaxかどうかを判断する。LQ=90である。Lmax=60である。だから、LQ>Lmaxである。従って、Lmax=90とする。さらに、QをAkにセットする。Akは、{P(1)P(3)}={60、30}である。
[Temporary allocation result storage] (steps S301-303)
It is determined whether LQ> L max . LQ = 90. L max = 60. Therefore, LQ> L max . Therefore, L max = 90. Further, Q is set to Ak. Ak is {P (1) P (3)} = {60, 30}.

[別製品割り付け(次製品選択)](ステップS401−402)
j<nかどうかを判断する。jは3である。nは6である。j<nだから、Q(s)=P(j+1)とする。現在、s=3である。これで、P(4)がQ(3)に割り付けられた。これで、最初の[最適割り付け判定]に戻る。
[Separate product allocation (next product selection)] (steps S401-402)
It is determined whether j <n. j is 3. n is 6. Since j <n, it is assumed that Q (s) = P (j + 1). Currently, s = 3. P (4) is now assigned to Q (3). This returns to the first [optimum allocation determination].

[No4.の処理]
[最適割り付け判定](ステップS101)
今はs=3である。製品がQ(3)まで割り付けられている。割り付けられた製品は{P(1)、P(3)、P(4)}={60、30、20}である。割り付けた製品の長さの合計LQ=60+30+20と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[No4. Processing]
[Optimum allocation determination] (step S101)
Now s = 3. Products are assigned up to Q (3). The assigned products are {P (1), P (3), P (4)} = {60, 30, 20}. It is determined whether the total length LQ = 60 + 30 + 20 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−202)
j={j|P(j)=Q(s)}とする。即ち、Q(3)を P(j)としたときのjをセットする。j=4となる。割り付けた(1個の)製品の長さの合計LQ=60+30+20=110が、材料の長さb=100未満かどうか判断する。LQ>bだから、[別製品割り付け(次の製品)]に進む
[Allocation availability determination] (step S201-202)
Let j = {j | P (j) = Q (s)}. That is, j is set when Q (3) is P (j). j = 4. It is determined whether the total length LQ = 60 + 30 + 20 = 110 of the assigned (one) product is less than the material length b = 100. Since LQ> b, go to [Allocation to another product (next product)]

[別製品割り付け(次の製品)](ステップS401−402)
j<nかどうかを判断する。j=4でn=6だから、Q(s)=P(j+1)とする。Q(3)=P(4)、即ち、P(4)=20を割り付けることができなかったから、その割り付けを止めて、5番目の製品P(5)=20を改めて割り付け、最初の[最適割り付け判定]に戻る。
[Separate Product Assignment (Next Product)] (Steps S401-402)
It is determined whether j <n. Since j = 4 and n = 6, Q (s) = P (j + 1). Q (3) = P (4), that is, P (4) = 20 could not be allocated, so the allocation was stopped and the fifth product P (5) = 20 was allocated again, and the first [optimum Return to Allocation Judgment].

[No5.の処理]
[最適割り付け判定](ステップS101)
今はs=3である。製品がQ(3)まで割り付けられている。割り付けられた製品は{P(1)、P(3)、P(5)}={60、30、20}である。割り付けた製品の長さの合計LQ=60+30+20と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[No5. Processing]
[Optimum allocation determination] (step S101)
Now s = 3. Products are assigned up to Q (3). The assigned products are {P (1), P (3), P (5)} = {60, 30, 20}. It is determined whether the total length LQ = 60 + 30 + 20 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−202)
j={j|P(j)=Q(s)}とする。即ち、Q(2)に相当するP(j)のjをセットする。j=5である。割り付けた(1個の)製品の長さの合計LQ=60+30+20=110が、材料の長さb=100未満かどうか判断する。LQ>bだから、[別製品割り付け(次の製品)]に進む。
[Allocation availability determination] (step S201-202)
Let j = {j | P (j) = Q (s)}. That is, j of P (j) corresponding to Q (2) is set. j = 5. It is determined whether the total length LQ = 60 + 30 + 20 = 110 of the assigned (one) product is less than the material length b = 100. Since LQ> b, the process proceeds to [Allocation of another product (next product)].

[別製品割り付け(次の製品)](ステップS401−402)
j<nかどうかを判断する。j=5でn=6だから、Q(s)=P(j+1)とする。Q(3)=P(5)、即ち、P(5)=20を割り付けることができなかったから、その割り付けを止めて、6番目の製品P(6)=20を改めて割り付け、最初の[最適割り付け判定]に戻る。
[Separate Product Assignment (Next Product)] (Steps S401-402)
It is determined whether j <n. Since j = 5 and n = 6, Q (s) = P (j + 1). Q (3) = P (5), that is, P (5) = 20 could not be allocated, so the allocation was stopped and the sixth product P (6) = 20 was allocated again, and the first [optimum Return to Allocation Judgment].

[No6.の処理]
[最適割り付け判定](ステップS101)
今はs=3である。製品がQ(3)まで割り付けられている。割り付けられた製品は{P(1)、P(3)、P(6)}={60、30、20}である。割り付けた製品の長さの合計LQ=60+30+20と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[No6. Processing]
[Optimum allocation determination] (step S101)
Now s = 3. Products are assigned up to Q (3). The assigned products are {P (1), P (3), P (6)} = {60, 30, 20}. It is determined whether the total length LQ = 60 + 30 + 20 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−202)
j={j|P(j)=Q(s)}とする。即ち、Q(2)に相当するP(j)のjをセットする。j=6である。割り付けた(1個の)製品の長さの合計LQ=60+30+20=110が、材料の長さb=100未満かどうか判断する。LQ>bだから、[別製品割り付け(次の製品)]に進む。
[Allocation availability determination] (step S201-202)
Let j = {j | P (j) = Q (s)}. That is, j of P (j) corresponding to Q (2) is set. j = 6. It is determined whether the total length LQ = 60 + 30 + 20 = 110 of the assigned (one) product is less than the material length b = 100. Since LQ> b, the process proceeds to [Allocation of another product (next product)].

[別製品割り付け(次の製品)](ステップS401−402)
j<nかどうかを判断する。j=6でn=6だからj<nの条件を満たさない。このときは、一つ前の(2番目の)割り付けから別の仮割り付けを試行するために、[割り付け変更]に進む。
[Separate Product Assignment (Next Product)] (Steps S401-402)
It is determined whether j <n. Since j = 6 and n = 6, the condition of j <n is not satisfied. At this time, in order to try another temporary allocation from the previous (second) allocation, the process proceeds to [Change allocation].

[割り付け変更](ステップS501−503)
ここでは、sを一つ前の値に戻す。このとき、まず、s=sminかどうかを判断する。最長の製品は必ず割り付けるという条件で処理をするので、sはsmin=2以下には戻さない。現在は、s=3だから、s=sminでない。そこで、s=s−1=2とする。そして、P(j)=Q(s)となるjをセットする。これで、探索パラメータであるjをsの位置まで戻す。j=3(2)になる。その後、[別製品割り付け(次の製品)]に進む。即ち、No.3で製品P(3)をQ(2)に割り付けて、その後P(3)よりも短い製品を全て選択し、順にQ(3)に割り付けてみた。しかし、どれも割り付けることができなかった。従って、製品P(3)をQ(2)に割り付ける方法では、No.3の状態が最も歩留まりが良かったということになる。そのときのAkは保存してある。そこで、No.3で製品P(3)以外のさらに短い製品を割り付けるように割り付け変更をして、より歩留まりの良い取り合わせがほかにあるかどうかを探索する。
[Change Allocation] (Steps S501-503)
Here, s is returned to the previous value. At this time, first, it is determined whether or not s = s min . Since processing is performed under the condition that the longest product is always assigned, s is not returned to s min = 2 or less. Since s = 3 at present, it is not s = s min . Therefore, s = s−1 = 2. Then, j is set such that P (j) = Q (s). As a result, the search parameter j is returned to the position s. j = 3 (2). Thereafter, the process proceeds to [Separate Product Assignment (Next Product)]. That is, no. 3 assigned product P (3) to Q (2), then selected all products shorter than P (3), and assigned them to Q (3) in order. However, none could be assigned. Therefore, in the method of assigning the product P (3) to Q (2), No. The state of 3 is the best yield. Ak at that time is stored. Therefore, no. In 3, the allocation is changed so that a shorter product other than the product P (3) is allocated, and it is searched whether there is any other arrangement with a better yield.

[別製品割り付け(次の製品)](ステップS401−402)
j<nかどうかを判断する。j=3でn=6だから、Q(s)=P(j+1)とする。s=2だから、Q(2)=P(4)として、最初の[最適割り付け判定]に戻る。
[Separate Product Assignment (Next Product)] (Steps S401-402)
It is determined whether j <n. Since j = 3 and n = 6, Q (s) = P (j + 1). Since s = 2, Q (2) = P (4) and return to the first [optimum allocation determination].

[No8.の処理]
[最適割り付け判定](ステップS101)
今はs=2である。製品がQ(2)まで割り付けられている。割り付けられた製品は{P(1)、P(4)}={60、20}である。割り付けた製品の長さの合計LQ=60+20と材料の長さb=100とが一致するか判断する。LQ=bでないから、[割り付け可否判定]へ進む。
[No8. Processing]
[Optimum allocation determination] (step S101)
Now s = 2. Products are allocated up to Q (2). The assigned products are {P (1), P (4)} = {60, 20}. It is determined whether the total length LQ = 60 + 20 of the assigned product matches the material length b = 100. Since LQ = b is not satisfied, the process proceeds to [Allocation availability determination].

[割り付け可否判定](ステップS201−203)
j={j|P(j)=Q(s)}とする。即ち、Q(2)に相当するP(j)のjをセットする。新たにQ(2)に割り付けられた製品はP(4)だから、j=4である。割り付けた(1個の)製品の長さの合計LQ=60+20=80が、材料の長さb=100未満かどうか判断する。LQ<bだから、s=s+1、即ち、sを3にインクリメントして、[仮割り付け結果保存]に進む。
[Allocation availability determination] (step S201-203)
Let j = {j | P (j) = Q (s)}. That is, j of P (j) corresponding to Q (2) is set. Since the product newly assigned to Q (2) is P (4), j = 4. It is determined whether the total length LQ = 60 + 20 = 80 of the assigned (one) product is less than the material length b = 100. Since LQ <b, s = s + 1, that is, s is incremented to 3, and the process proceeds to [Provisional allocation result storage].

[仮割り付け結果保存](ステップS301−402)
LQ>Lmaxかどうかを判断する。LQ=80である。Lmax=90である。だから、LQ>Lmaxを満たさない。従って、Lmax=90のままとする。Akもそのままである。従って[別製品割り付け(次の製品)]へ進む。
[Temporary allocation result storage] (steps S301-402)
It is determined whether LQ> L max . LQ = 80. L max = 90. Therefore, LQ> L max is not satisfied. Therefore, L max = 90 is maintained. Ak remains the same. Accordingly, the process proceeds to [Assign another product (next product)].

[別製品割り付け(次の製品)](ステップS401−402)
j<nかどうかを判断する。jは4である。nは6である。j<nだから、Q(s)=P(j+1)とする。現在、s=3である。これで、P(5)がQ(3)に割り付けられた。その後、最初の[最適割り付け判定]に戻る。
[Separate Product Assignment (Next Product)] (Steps S401-402)
It is determined whether j <n. j is 4. n is 6. Since j <n, Q (s) = P (j + 1). Currently, s = 3. P (5) is now assigned to Q (3). Thereafter, the process returns to the first [optimum allocation determination].

[No9.の処理]
[最適割り付け判定](ステップS101−102)
今はs=3である。製品Q(3)まで割り付けられている。割り付けられた製品{P(1)、P(4)、P(5)}={60、20、20}である。割り付けた製品の長さの合計LQ=60+20+20と材料の長さb=100とが一致するか判断する。LQ=bになったから、割り付けた製品のリストQを割り付け結果Akとする。即ち、Akを{P(1)、P(4)、P(5)}={60、20、20}として、処理を終了する。
[No. Processing]
[Optimum Allocation Determination] (Steps S101-102)
Now s = 3. Product Q (3) is allocated. The assigned products {P (1), P (4), P (5)} = {60, 20, 20}. It is determined whether the total length LQ = 60 + 20 + 20 of the assigned product matches the material length b = 100. Since LQ = b, the assigned product list Q is taken as the assigned result Ak. That is, Ak is set as {P (1), P (4), P (5)} = {60, 20, 20}, and the process is terminated.

上記の例は、b=100の材料を選択したときに、最も長い製品を最初に割り付けるという制約を守りつつ、歩留まりが100%の最良の取り合わせを見つけることができた。しかし、一般には、歩留まりが90%とか92%という取り合わせが最良のものとなった状態で、図3の演算処理を終了する。これが割り付け候補データの取得処理である。その後、別の材料についても同様の演算処理をする。これで、複数の割り付け候補データを得る。実施例2以下で説明するが、その後、これらの割り付け候補データを比較して良否判定を行い、例えば、最も歩留まりの良い取り合わせを採用する。即ち、ある材料を選択し、あるいくつかの製品を割り付けたときに歩留まりが最良であれば、その取り合わを採用する。このとき、いくつかの製品が残る。残りの製品について、再び、割り付け候補データの取得と比較良否判定をする。この処理を繰り返して、割り付けしていない製品が無くなれば全ての割り付け処理を終了する。以上の方法は、長さの異なる材料を順に取り出し、その材料に最適割り付けできる製品の取り合わせを高速演算処理するのに適した方法である。後で説明するように、短時間で精度の高い結果を得る。(この方法で複数の割り付け候補データを得て、その中から、所定の基準で最適な割り付けデータを求める。)   In the above example, when b = 100 material was selected, the best combination with a yield of 100% could be found while observing the constraint of assigning the longest product first. However, in general, the arithmetic processing in FIG. 3 is terminated in a state where the best combination of 90% and 92% yield is achieved. This is the allocation candidate data acquisition process. Thereafter, the same calculation process is performed for another material. Thus, a plurality of allocation candidate data is obtained. As will be described below in the second embodiment, the allocation candidate data is compared to make a pass / fail judgment, and, for example, an arrangement with the best yield is adopted. That is, when a certain material is selected and a certain number of products are allocated, if the yield is the best, the combination is adopted. At this time, some products remain. For the remaining products, allocation candidate data acquisition and comparison pass / fail determination are performed again. This process is repeated, and if there are no unallocated products, all the allocation processes are terminated. The above method is a method suitable for performing high-speed arithmetic processing of assembling of products that can be sequentially taken out of materials having different lengths and optimally allocated to the materials. As will be described later, a highly accurate result is obtained in a short time. (A plurality of allocation candidate data are obtained by this method, and optimum allocation data is obtained from them by a predetermined standard.)

図5は、全割り付けデータ生成処理動作の実施例を示すフローチャートである。
これにより、実施例1で生成される割り付け候補データの比較と良否判定処理を含む、全割り付けデータ生成処理動作用コンピュータプログラムの実施例を説明する。まず、図1に示した入出力データ処理手段30は、例えば、端末装置16から入力された材料データ41と割り付け対象製品データ42とを、記憶装置40に記憶させる。このとき、図5のステップS11で、対象製品を製品長順にソートする。ステップS12では、材料を材料長順にソートしておく。この順番にデータを読み出すためである。ステップS13で、最も長い材料を選択する。その後、ステップS14で、上記の図3で説明した割り付け候補データ保存処理を実行する。ステップS14は、図3のステップS101からステップS503の全体を含む処理である。
FIG. 5 is a flowchart showing an embodiment of the all-allocation data generation processing operation.
Thus, an embodiment of a computer program for all assignment data generation processing operation including comparison of assignment candidate data generated in the first embodiment and pass / fail judgment processing will be described. First, the input / output data processing unit 30 illustrated in FIG. 1 stores, for example, the material data 41 and the allocation target product data 42 input from the terminal device 16 in the storage device 40. At this time, the target products are sorted in order of product length in step S11 of FIG. In step S12, the materials are sorted in order of material length. This is for reading data in this order. In step S13, the longest material is selected. Thereafter, in step S14, the allocation candidate data storage process described above with reference to FIG. 3 is executed. Step S14 is a process including the entirety of step S101 to step S503 in FIG.

ステップS15では、前回ステップS13で選択をした材料の次に長い材料を選択する。ステップS16では、選択した材料に最も長い製品の仮割り付けが可能かどうかという判断をする。この判断の結果がイエスのときはステップS14の処理に移行し、ノーのときはステップS17の処理に移行する。仮割り付け試行手段24は、ステップS14からステップS16までの動作を、選択した材料に最も長い製品の仮割り付けができなくなるまで繰り返す制御を実行する。その結果、複数の割り付け候補データ47が記憶装置40に保存される。   In step S15, the next longest material is selected after the material previously selected in step S13. In step S16, it is determined whether or not the longest product can be provisionally allocated to the selected material. If the result of this determination is yes, the process proceeds to step S14, and if no, the process proceeds to step S17. The temporary allocation trial unit 24 executes control to repeat the operations from step S14 to step S16 until the longest product cannot be temporarily allocated to the selected material. As a result, a plurality of allocation candidate data 47 is stored in the storage device 40.

次に、割り付け判定手段25は、ステップS17で、記憶装置40中の割り付け候補データ47を参照する。さらに、ステップS18で、記憶装置40中の割り付け良否判定基準50を参照して判定をする。これは、例えば、歩留まり最大という基準である。ステップS19では、これにより、1回分の割り付けデータ44を取得し、記憶装置40に記憶させる。次に、繰り返し割り付け手段26が、ステップS20で、残りの未割り付け製品を対象製品に設定する。繰り返し処理のための変数の置き換え処理である。   Next, the allocation determination means 25 refers to the allocation candidate data 47 in the storage device 40 in step S17. Further, in step S18, the determination is made with reference to the allocation quality criterion 50 in the storage device 40. This is, for example, a criterion of maximum yield. In step S19, the allocation data 44 for one time is acquired and stored in the storage device 40. Next, the repetitive allocation means 26 sets the remaining unallocated products as target products in step S20. This is variable replacement processing for iterative processing.

その後、最終調整時期判断手段27が、ステップS21で、最終調整時期かどうかという判断をする。この判断の結果がイエスのときはステップS22の処理に移行し、ノーのときはステップS13の処理に移行する。繰り返し割り付け手段26は、ステップS13からステップS21までの繰り返し処理を制御する。ステップS22では、最終調整処理をする。長い製品から優先的に割り付けたことにより、最後にしわ寄せがくるという問題を解決するためである。   Thereafter, the final adjustment time determination means 27 determines whether or not it is the final adjustment time in step S21. If the result of this determination is yes, the process proceeds to step S22, and if no, the process proceeds to step S13. The repetitive allocation unit 26 controls repetitive processing from step S13 to step S21. In step S22, final adjustment processing is performed. This is to solve the problem of wrinkling at the end by preferentially allocating from long products.

なお、最終調整時期判断手段27(図1)は、残り2回で割り付けが終了するかどうかの判断をする。その理由は、次の図6で説明する。この判断には、現在の割り付けデータ取得処理が終了後したとき、残りの未割り付け製品の長さの合計値を求めるという演算処理をすると良い。残りの未割り付け製品の長さの合計値が、最も長い材料の材料長以下であれば、残り2回で割り付けが終了する方法が少なくとも一つある。最終調整時期判断手段27は、繰り返し割り付け手段26(図1)が繰り返し割り付け処理を実行中に、所定のタイミングで、この判断を実行する。もちろん、最終調整時期は、最後まで割り付けをしてみてから判断することもできる。   The final adjustment time determination means 27 (FIG. 1) determines whether or not the assignment is completed in the remaining two times. The reason will be described with reference to FIG. For this determination, it is preferable to perform a calculation process of obtaining the total length of the remaining unallocated products when the current allocation data acquisition process is completed. If the total length of the remaining unallocated products is equal to or less than the material length of the longest material, there is at least one method in which allocation is completed in the remaining two times. The final adjustment time determination unit 27 performs this determination at a predetermined timing while the repeated allocation unit 26 (FIG. 1) is executing the repeated allocation process. Of course, the final adjustment time can be determined after allocating to the end.

図6は、最終調整処理の動作説明図である。
例えば、最終調整時期において、未割り付け製品45が図のように4種類あるとする。割り付けられる材料は3種類である。ここで、図4のように、製品(1)と(2)とを材料1に仮割り付けする。このとき、残りの未割り付け製品(3)と(4)の長さの合計値は、材料1の長さ以下である。従って、最終調整時期判断手段27(図1)は、残り2回で割り付けが終了すると判断する。
FIG. 6 is a diagram for explaining the operation of the final adjustment process.
For example, assume that there are four types of unallocated products 45 as shown in the figure at the final adjustment time. There are three types of materials that can be assigned. Here, as shown in FIG. 4, the products (1) and (2) are provisionally allocated to the material 1. At this time, the total length of the remaining unallocated products (3) and (4) is equal to or less than the length of the material 1. Therefore, the final adjustment time determination means 27 (FIG. 1) determines that the assignment is completed in the remaining two times.

最終調整手段28は、製品(1)と(2)とを材料1に仮割り付けすると、続いて、残りの未割り付け製品(3)と(4)の割り付けも実行する。製品(3)と(4)の割り付け対象には、さらに短い材料2を選択する。こうして、製品(1)と(2)とを材料1に割り付け、製品(3)と(4)を材料2に割り付けるという1組の割り付けパターンデータを取得する。今回と最終回の2回で仮割り付けを終了するので、最終回の割り付けは一意的に確定する。これで、一組の割り付けパターンデータが得られる。   When the final adjustment means 28 temporarily allocates the products (1) and (2) to the material 1, the final adjustment means 28 also executes allocation of the remaining unallocated products (3) and (4). The shorter material 2 is selected as the assignment target of the products (3) and (4). In this way, a set of allocation pattern data in which products (1) and (2) are allocated to material 1 and products (3) and (4) are allocated to material 2 is acquired. Since the temporary allocation is completed in the current time and the final time, the final allocation is uniquely determined. Thus, a set of allocation pattern data is obtained.

続いて、図6に示すように、製品(1)と(4)とを材料2に仮割り付けし、残りの未割り付け製品(2)と(3)も材料2に割り付けする。これで、製品(1)と(4)とを材料2に、製品(2)と(3)を材料2に割り付けるという2組目の割り付けパターンデータを取得する。なお、繰り返し割り付け手段26(図1)の制御によれば、材料3に製品(1)を割り付けるという選択肢も存在する。この場合には、残りの未割り付け製品(2)〜(4)の長さの合計値が最長の材料1の長さを越えてしまう。従って、2回目では、材料2に製品(2)と(3)を割り付け、3回目に材料3に製品(4)を割り付けて3組目の割り付けパターンデータを取得する。3回で割り付ける場合には、さらに別の割り付けパターンが含まれることもある。4回で割り付けを終了するケースも含まれることがある。最終調整では、任意のアルゴリズムで割り付けをすると良い。いずれにしても、残りの未割り付け製品の数が少ないので、総当たりで割り付けをしても、他の任意の割り付け方法を採用しても、それほど割り付けパターンの数は増えない。従って、この段階で、適切でより良い割り付けパターンデータを選択肢として生成することができる。   Subsequently, as shown in FIG. 6, the products (1) and (4) are provisionally allocated to the material 2, and the remaining unallocated products (2) and (3) are also allocated to the material 2. Thus, the second set of allocation pattern data in which the products (1) and (4) are allocated to the material 2 and the products (2) and (3) are allocated to the material 2 is acquired. According to the control of the repeated allocation means 26 (FIG. 1), there is an option of allocating the product (1) to the material 3. In this case, the total length of the remaining unallocated products (2) to (4) exceeds the length of the longest material 1. Therefore, in the second time, the products (2) and (3) are allocated to the material 2, and the product (4) is allocated to the material 3 in the third time to acquire the third set of allocation pattern data. When allocating three times, another allocation pattern may be included. A case where the allocation is finished after four times may be included. In the final adjustment, it is better to assign with an arbitrary algorithm. In any case, since the number of remaining unallocated products is small, the number of allocation patterns does not increase so much even if allocation is made brute force or any other allocation method is adopted. Therefore, at this stage, appropriate and better allocation pattern data can be generated as options.

図1の最終調整手段28は、上記の3組の割り付けパターンを相互に比較する。このとき使用する割り付け良否判定基準は、歩留まりが最大かというものである。この実施例では、最後の2回で使用する材料の合計長が最小の割り付けパターンを、歩留まりが最大のものとして、割り付けデータに採用する。図6のように、3組の割り付けパターンを比較すると、使用材料長の合計値は2組目が小さい。そこで、製品(1)と(4)とを材料2に、製品(2)と(3)を材料2に割り付けるという割り付けパターンを、最終の割り付けデータに採用する。   The final adjustment means 28 of FIG. 1 compares the above three sets of allocation patterns with each other. The allocation quality criterion used at this time is whether the yield is the maximum. In this embodiment, an allocation pattern having the minimum total length of materials used in the last two times is adopted as allocation data with a maximum yield. As shown in FIG. 6, when the three sets of allocation patterns are compared, the total value of the used material length is smaller in the second set. Therefore, an allocation pattern in which the products (1) and (4) are allocated to the material 2 and the products (2) and (3) are allocated to the material 2 is adopted as the final allocation data.

例えば、最終調整処理が無ければ、1組目の割り付けパターンが自動的に確定していたかもしれない。しかし、この実施例のように最終調整処理をすると、2組目を採用して、全体として歩留まりの改善を図ることができる。これにより、割り付けの最終段階で、演算処理に大きな負荷をかけずに、歩留まりの最適化を図ることができる。   For example, if there is no final adjustment process, the first set of allocation patterns may have been automatically determined. However, when final adjustment processing is performed as in this embodiment, the second set can be adopted to improve the yield as a whole. Thereby, the yield can be optimized at the final stage of the allocation without imposing a heavy load on the arithmetic processing.

図7は、最終調整処理の実施例フローチャートである。
ステップS41では、未割り付け製品リストを取得する。ステップS42では、割り付け方法の選択をする。任意のアルゴリズムを選択して良い。ステップS43では、選択した割り付け方法を使用して、一組の割り付けパターンを生成する。2回で割り付けても3回で割り付けても構わない。ステップS44では、生成された割り付けパターンを記憶装置に記憶する。ステップS45では、別の割り付け方があるかどうかという判断をする。別の割り付け方法があれば、この判断の結果がイエスになり、ステップS42の処理に戻る。ノーのときはステップS46の処理に移行する。
FIG. 7 is a flowchart illustrating an example of the final adjustment process.
In step S41, an unallocated product list is acquired. In step S42, an allocation method is selected. Any algorithm may be selected. In step S43, a set of allocation patterns is generated using the selected allocation method. It does not matter whether it is allocated twice or three times. In step S44, the generated allocation pattern is stored in the storage device. In step S45, it is determined whether there is another allocation method. If there is another allocation method, the result of this determination is yes and the process returns to step S42. If no, the process proceeds to step S46.

ステップS46では、記憶装置中の割り付けパターンを参照する。そして、ステップS47で、割り付け良否判定基準を参照する。その結果、ステップS48で、いずれかの割り付けパターンを採用する。これにより、最終調整処理で、歩留まりが最大のものを採用して、図5のステップS23で、最適化された全ての割り付けデータを出力することができる。 In step S46, the allocation pattern in the storage device is referred to. In step S47, reference is made to the quality determination criteria for allocation. As a result, one of the allocation patterns is adopted in step S48. As a result, in the final adjustment process, the one with the highest yield can be adopted, and all of the optimized allocation data can be output in step S23 of FIG.

図8は、実施例3の動作を示す説明図である。
仮割り付け試行手段24(図1)は、選択する材料長を変更しながら、それぞれ仮割り付けをして、複数の割り付け候補データを得た。いずれの場合でも、数種類の選択肢のいずれかを採用するために、歩留まり最大とか、残材長最小という割り付け良否判定基準を採用する。
FIG. 8 is an explanatory diagram illustrating the operation of the third embodiment.
The temporary allocation trial means 24 (FIG. 1) performed temporary allocation while changing the material length to be selected to obtain a plurality of allocation candidate data. In any case, in order to employ any of several types of options, an allocation quality determination criterion such as maximum yield or minimum remaining material length is employed.

一方、この実施例では、例えば、図8のように、材料1と材料2と材料3に対する、3種類の割り付け候補データが得られたとき、各割り付け候補データを選択肢として、記憶装置に記憶しておく。そして、材料1と材料2と材料3を選択した場合について、それぞれ残りの未割り付け製品を新たな割り付け対象製品とみなして、実施例1で説明した割り付けデータ取得処理を最後まで繰り返す。図5のステップS13からステップS23の処理を実行すれば良い。   On the other hand, in this embodiment, for example, as shown in FIG. 8, when three types of allocation candidate data for material 1, material 2 and material 3 are obtained, each allocation candidate data is stored in the storage device as an option. Keep it. Then, when the material 1, the material 2, and the material 3 are selected, the remaining unallocated products are regarded as new allocation target products, and the allocation data acquisition process described in the first embodiment is repeated to the end. What is necessary is just to perform the process of step S13 to step S23 of FIG.

その結果、3通りの割り付け終了結果が得られる。これらの結果を、上記と同様の割り付け良否判定基準により比較する。実施例2(1)では、各割り付け候補データを直接比較して、例えば、最終歩留まりの良いほうを採用した。一方、この実施例3では、材料1と材料2と材料3のそれぞれを選択したと仮定して、残りの未割り付け製品について実施例2(1)の方法で割り付け処理を終了し、その結果を比較する。例えば、最も歩留まりの良い割り付け処理で終了したものを採用すれば良い。実施例2(1)の方法では材料1に仮割り付けをした結果が採用されたとしても、実施例3の方法によれば、図8のように、材料2に仮割り付けをした結果が、最終歩留まりが95.6%と最大になることがある。   As a result, three allocation end results are obtained. These results are compared according to the same allocation quality criteria as described above. In Example 2 (1), each allocation candidate data was directly compared, and, for example, the one with the best final yield was adopted. On the other hand, in Example 3, assuming that each of Material 1, Material 2, and Material 3 was selected, the allocation process was terminated by the method of Example 2 (1) for the remaining unallocated products, and the result was Compare. For example, what has been completed by the allocation process with the best yield may be adopted. In the method of Example 2 (1), even if the result of provisional assignment to the material 1 is adopted, according to the method of Example 3, the result of provisional assignment to the material 2 as shown in FIG. Yield may be maximized at 95.6%.

この実施例3では、以上のようにして、いずれかの割り付け候補データを採用するという処理を繰り返して、次々に割り付け候補データの選択を行っていく。なお、仮割り付け結果を比較するための試行過程では、例えば、図8で最終歩留まり95.6%が得られるから材料2を選択したとしても、次に続く仮割り付け結果を比較するための試行過程で最終歩留まりが96.2%になるものを選択するかもしれない。つまり、「一つの仮割り付けを採用する」理由となった最大歩留95.6%は、その後に引き続き実行される試行による材料と仮割り付けの選択の過程で「これ以上の歩留が得られるはず」という意味での「最低保証歩留」と言える。   In the third embodiment, as described above, the process of adopting any allocation candidate data is repeated, and the allocation candidate data is selected one after another. Note that in the trial process for comparing the temporary allocation results, for example, even if the material 2 is selected since the final yield of 95.6% is obtained in FIG. 8, the trial process for comparing the subsequent temporary allocation results. You might choose one with a final yield of 96.2%. In other words, the maximum yield of 95.6%, which was the reason for “adopting one provisional allocation,” was “a higher yield can be obtained in the process of selecting materials and provisional allocation through subsequent trials. It can be said to be “minimum guaranteed yield” in the sense of “should be”.

図9は、実施例3の処理例フローチャートである。
ステップS61では、割り付け候補データ保存処理(図5ステップS11−16で説明した処理)をする。ステップS62では、記憶装置に記憶された割り付け候補データを参照をする。ステップS63で、記憶装置に複数の割り付け候補データが記憶されているかどうかという判断をする。この判断の結果がイエスのときはステップS64の処理に移行し、ノーのときは選択の必要が無いのでステップS72へ移行する。ステップS64では、一つの割り付け候補データを記憶装置から取り出して参照する。ステップS65では、未割り付け製品を対象製品に設定する。その後、ステップS66で、割り付けデータ取得処理(図5ステップS11−23で説明した処理)を実行する。
FIG. 9 is a flowchart illustrating a process example according to the third embodiment.
In step S61, allocation candidate data storage processing (the processing described in step S11-16 in FIG. 5) is performed. In step S62, the allocation candidate data stored in the storage device is referred to. In step S63, it is determined whether a plurality of allocation candidate data is stored in the storage device. If the result of this determination is yes, the process proceeds to step S64, and if no, there is no need for selection, and the process proceeds to step S72. In step S64, one allocation candidate data is extracted from the storage device and referred to. In step S65, an unallocated product is set as a target product. Thereafter, in step S66, an allocation data acquisition process (the process described in step S11-23 in FIG. 5) is executed.

ステップS67では、割り付け終了結果を記憶装置に記憶する。ステップS68では、記憶装置に別の割り付け候補データが記憶されているかどうかという判断をする。この判断の結果がイエスのときはステップS64の処理に移行し、ノーのときはステップS69の処理に移行する。全ての割り付け候補データについて、未割り付け製品の割り付けが終了したら、ステップS69に進む。ステップS69では、割り付け良否判定基準を参照する。ステップS70では割り付け候補データの比較をする。そして、ステップS71で、一つの割り付け候補データを採用する。例えば、最終歩留まりが最大の割り付け候補データを採用する。これで、複数の割り付け候補データのうちの最適な割り付け候補データを選択して、割り付けデータに採用できる。   In step S67, the allocation end result is stored in the storage device. In step S68, it is determined whether another allocation candidate data is stored in the storage device. If the result of this determination is yes, the process proceeds to step S64, and if no, the process proceeds to step S69. When the allocation of the unallocated products is completed for all allocation candidate data, the process proceeds to step S69. In step S69, reference is made to the quality determination criteria for allocation. In step S70, the allocation candidate data is compared. In step S71, one allocation candidate data is adopted. For example, allocation candidate data having the maximum final yield is adopted. Thus, it is possible to select the optimum allocation candidate data from among the plurality of allocation candidate data and adopt it as the allocation data.

次に、ステップS71で、未割り付け製品が残っているかどうかという判断をする。この判断の結果がイエスのときは、ステップS73の処理に移行し、ノーのときはステップS74の処理に移行する。ステップS73では、未割り付け製品を対象製品に設定する。そして、ステップS61に戻り、ステップS61からステップS73までの処理を、全ての製品について割り付けデータ取得処理が終了するまで繰り返す。最後に、ステップS74で、全割り付けデータを出力して処理を終了する。   Next, in step S71, it is determined whether unallocated products remain. If the result of this determination is yes, the process proceeds to step S73, and if no, the process proceeds to step S74. In step S73, an unallocated product is set as a target product. And it returns to step S61 and repeats the process from step S61 to step S73 until the allocation data acquisition process is complete | finished about all the products. Finally, in step S74, all allocation data is output and the process is terminated.

上記の演算処理はほとんど比較演算と簡単な算術演算のみを含んでいるので、実験によれば、ほぼ数秒で全ての演算処理を終了させることができる。即ち、待ち時間が多くてストレスになるような演算処理は含まれない。しかも、最後のほうにしわ寄せがくるかどうかを検証しながら割り付け候補データを選択するので、より合理的な割り付け演算処理ができる。   Since the above arithmetic processing includes almost only comparison operation and simple arithmetic operation, all the arithmetic processing can be completed in almost several seconds according to experiments. That is, it does not include arithmetic processing that causes stress due to a long waiting time. In addition, since allocation candidate data is selected while verifying whether or not wrinkles come towards the end, more rational allocation calculation processing can be performed.

図10は、制約条件の説明図である。
実施例1では、図5のステップS16によって、割り付け対象製品の中で最も長い製品を必ず割り付ける演算処理をした。従って、最長の製品よりも短い材料は、割り付けの対象にならない。これを、図のように、「強い制約条件」と呼ぶことにする。しかし、良否判定をする場合、選択肢が多いほうが良いこともある。そこで、その材料に割り付け可能な製品のうち最長のものを必ず割り付けることにする。これを、図のように、「弱い制約条件」と呼ぶことにする。即ち、仮割り付け試行手段24は、その材料に割り付けできる最長の製品を最も長い製品とみなして、初期割り付け処理と、続割り付け処理と、割り付け候補データ記憶処理とを実行する。
FIG. 10 is an explanatory diagram of the constraint conditions.
In the first embodiment, the calculation process for always allocating the longest product among the allocation target products is performed in step S16 of FIG. Therefore, materials shorter than the longest product are not subject to allocation. This is called “strong constraint” as shown in the figure. However, when making a pass / fail determination, it may be better to have more options. Therefore, the longest product that can be assigned to the material must be assigned. This is called “weak constraint” as shown in the figure. That is, the provisional allocation trial unit 24 regards the longest product that can be allocated to the material as the longest product, and executes the initial allocation process, the subsequent allocation process, and the allocation candidate data storage process.

図3のステップS100で、sの最小値を2としておくことにより、その材料に対して割付け可能な最長製品を必ず割付けるという制御を実現した。即ち、製品長降順に並べられた対象製品リストPの製品を、選択された材料の長さ以下の長さになるまで読み飛ばす。そして、最初に割付可能な製品が見つかったときに、その製品を割付け済みリストQに初期設定する。同時に、図5のステップS16の処理を外すことで、弱い制約条件による処理が可能になる。即ち、材料を長いものから順に選択して、その材料に割り付け可能な最長の製品があれば、その製品の割り付けを固定し、他の製品と総当たり的に組み合わせをして、歩留まり最大の割り付けを求めるようにする。これにより、一つでも割り付けできる製品が存在する材料は、割り付けの対象になる。これは、選択肢、即ち、割り付け候補データをより多く取得するために有効な方法である。特に、図8と図9で説明した実施例に採用するのが有効である。   In step S100 in FIG. 3, by setting the minimum value of s to 2, the longest product that can be assigned to the material is surely assigned. That is, the products in the target product list P arranged in descending order of the product length are skipped until the length becomes equal to or shorter than the length of the selected material. When an assignable product is found for the first time, the product is initialized in the assigned list Q. At the same time, by removing the process of step S16 in FIG. In other words, if the longest product that can be assigned to the material is selected in order from the longest, the product assignment is fixed and combined with other products in a brute force manner, giving the maximum yield. To ask. As a result, a material for which there is a product that can be assigned at least one is assigned. This is an effective method for obtaining more options, that is, more allocation candidate data. In particular, it is effective to employ the embodiment described with reference to FIGS.

図11は、実施例5の動作フローチャートである。
実施例3では、複数の割り付け候補データのいずれかを選択するために、各割り付け候補データを選択したと仮定したときの最終的な割り付け処理の終了結果を求めて比較をした。この試行処理で、最終歩留まりが最大(図13のe7式)の割り付け候補データを採用するとしても、最終歩留まりが同じ値になることがある。そのときは、複数の割り付け候補データをそのまま比較する。このときには、その割り付け候補データだけを見たとき、歩留まりが最大(図13のe8式)のものとか、割り付け製品長が最大(図13のe9式)のものといった基準を使用して、割り付け候補データを比較すると良い。
FIG. 11 is an operation flowchart of the fifth embodiment.
In Example 3, in order to select any of a plurality of allocation candidate data, the final allocation processing end result when it was assumed that each allocation candidate data was selected was compared. In this trial process, even if the allocation candidate data having the maximum final yield (formula e7 in FIG. 13) is adopted, the final yield may be the same value. At that time, the plurality of allocation candidate data are compared as they are. In this case, when only the allocation candidate data is viewed, the allocation candidate is determined using a criterion such as the one with the maximum yield (e8 equation in FIG. 13) or the one with the maximum allocation product length (e9 equation in FIG. 13). Compare the data.

ここで、割り付け候補データだけを見たとき、歩留まりが同じものが複数あれば、割り付け製品長が最大のものを採用する。これは、歩留まり最大の基準を先の判断にし、割り付け製品長最大の基準を後の判断にするという方法である。一方、割り付け製品長が最大のものが複数あれば、歩留まりが最大のものを採用する。これは、割り付け製品長最大の基準を先の判断にし、歩留まり最大の基準を後の判断にするという方法である。いずれの方法を採用するかにより、結果が変わることがある。何を基準にすると最適な結果が得られるかは、製品長や材料長の組み合わせによる。従って、可能な限り各種の方法で試算をして最適なものを採用すると良い。   Here, when only allocation candidate data is viewed, if there are a plurality of data with the same yield, the data with the maximum allocation product length is adopted. This is a method in which the criterion for the maximum yield is the previous determination and the criterion for the maximum assigned product length is the subsequent determination. On the other hand, if there are multiple products with the maximum assigned product length, the product with the highest yield is adopted. This is a method in which the criterion for the maximum allocated product length is the previous determination, and the criterion for the maximum yield is the subsequent determination. Results may vary depending on which method is used. What is the basis for obtaining optimal results depends on the combination of product length and material length. Therefore, it is advisable to use various methods as much as possible and adopt the optimum one.

以上のことから、割り付け候補データを選択するための判断は最大3回で行なわれる。図11のフローチャートにおいて、まず、ステップS91で試行処理による最終割り付けの結果を比較する。歩留まりが最大かどうかのe7式の判断基準を採用する。ステップS92で、判定不可かどうかという判断をする。この判断の結果がイエスのときは次のステップS93の処理に移行し、ノーのときは、割り付け候補データをこの基準で選択できるからステップS98に進む。ステップS93では、第1の割り付け良否判定基準を選択する。例えば、「歩留まり最大」というe8式の基準を選択する。ここでは「歩留まり最大(e8式)」という基準か「割り付け製品長最大(e9式)」という基準のどちらか優先するほうを選択すると良い。第1の割り付け良否判定基準を「歩留まり最大」にすると、結果として、実施例2の処理そのままになる。また、第1の割り付け良否判定基準を「割り付け製品長最大」にすると、最初に最長の製品を割り付けるほうが良い結果を得るという、FF(First Fit)法の原則を優先することになる。   From the above, the determination for selecting the allocation candidate data is performed up to three times. In the flowchart of FIG. 11, first, in step S91, the result of the final allocation by the trial process is compared. The e7 formula criterion for determining whether the yield is maximum is adopted. In step S92, it is determined whether the determination is impossible. If the result of this determination is yes, the process proceeds to the next step S93, and if no, the allocation candidate data can be selected based on this criterion, and the process proceeds to step S98. In step S93, the first allocation quality criterion is selected. For example, the standard of e8 formula “maximum yield” is selected. In this case, it is preferable to select either the criterion “maximum yield (e8 equation)” or the criterion “maximum assigned product length (e9 equation)”. When the first allocation pass / fail judgment criterion is “maximum yield”, the process of the second embodiment remains as a result. In addition, when the first allocation pass / fail judgment criterion is “maximum allocated product length”, the principle of the FF (First Fit) method of obtaining a better result by allocating the longest product first is prioritized.

ステップS94では、割り付け候補データを比較する。ステップS95では、判定不可かどうかという判断をする。この判断の結果がイエスのときはステップS96の処理に移行し、ノーのときは、割り付け候補データをこの基準で選択できるからステップS98に進む。ステップS96では、第2の割り付け良否判定基準の選択をする。例えば、「割り付け製品長最大」という基準を選択する。ステップS97では、この基準で割り付け候補データの比較をする。ステップS98では、比較結果に基づいていずれかの割り付け候補データを採用する。   In step S94, the allocation candidate data is compared. In step S95, it is determined whether or not determination is possible. If the result of this determination is yes, the process proceeds to step S96. If the result is no, the allocation candidate data can be selected based on this criterion, and the process proceeds to step S98. In step S96, the second allocation quality criterion is selected. For example, the criterion “maximum assigned product length” is selected. In step S97, the allocation candidate data is compared based on this criterion. In step S98, any allocation candidate data is adopted based on the comparison result.

この実施例では、図11のステップS93で第1の割り付け良否判定基準に、「割り付け製品長最大」という基準を選択する。後で良い結果を得るという期待を含めるためである。さらに、図11のステップS96で、第2の割り付け良否判定基準に、歩留まりが最も悪いものを選択するという方法を採用する。ここで、歩留まりの最も良いものを選ばずに、歩留まりの最も悪いものを選ぶのは次の理由による。図11のステップS91で、試行による最終割り付け結果を比較したところ、最終歩留まりが同一であった。だから、第1の割り付け良否判定基準ではいずれかを選択する判定ができない(図11ステップS91)。しかし、最終歩留まりが同一というならば、最初の割り付けで歩留まりが良いほうは、その後の割り付けで歩留まりが悪くなり、最初の割り付けで歩留まりが悪いほうは、その後の割り付けで歩留まりが良くなる。そこで、その後の歩留まり改善に期待するという観点で、歩留まりが最も悪いものを選択する。この方法を採用して実験をしてみたところ、他の方法に比べて歩留まりが改善されたケースがあった。上記の方法により、様々な方法で試算をして、最も歩留まりの良い材料と製品の取り合わせを見つけることができる。   In this embodiment, the criterion “maximum allocated product length” is selected as the first allocation pass / fail criterion in step S93 of FIG. This is to include the expectation of getting good results later. Further, in step S96 of FIG. 11, a method of selecting the one with the lowest yield as the second allocation pass / fail judgment criterion is adopted. Here, the reason why the worst yield is selected without choosing the best yield is as follows. In step S91 of FIG. 11, when the final allocation result by trial was compared, the final yield was the same. Therefore, it is not possible to determine which one is selected based on the first allocation pass / fail criterion (step S91 in FIG. 11). However, if the final yield is the same, the yield that is good in the first allocation is poor in the subsequent allocation, and the yield that is poor in the first allocation is good in the subsequent allocation. Therefore, the one with the worst yield is selected from the viewpoint of expecting the subsequent yield improvement. Experiments using this method have shown that the yield has been improved compared to other methods. By the above method, various methods can be used to find a combination of a material and a product with the best yield.

[実証データ]
図12は、図13に示した演算式の記号の意味を示す説明図である。図13は、主要な演算式の説明図である。
図12と図13を使用して、上記の実施例のプログラムを実行する場合に具体的に使用する主要な演算式の一例を紹介する。まず、図13の演算式を説明する。
式(e1)は、材料取り合わせ問題の目的関数を示す。左側の式は、トータルコストJを最小にするという目的を表す。上記の実施例では、コストを材料長に置き換えて演算をした。即ち、右側の式を目的関数とした。右側の式の右辺は、製品を全て割り付けるために必要な全ての材料の合計長を表している。製品長の合計とこの式のJとの比が歩留まりである。
式(e2)は、図5のステップS21で、最終調整時期かどうかを判定するために使用する演算式である。この式の左辺は、今回の仮割り付け後に残っている製品の合計長を示す。右辺は、最長の材料の長さを示す。中央は、今回残っている製品の合計長から今回仮割り付けをする製品の合計長を差し引くことを表している。このパラメータtを繰り返し制御に使用しながら演算処理をすれば良い。この条件式を満たす場合と満たさない場合とで、条件分岐をする。
式(e3)は、未割り付け製品に対して、ある材料が選択されたときに、残りの製品全てを割り付けるために必要な材料の長さの合計値を演算するものである。この式も、図5のステップS21で利用できる。最後まで割り付けをしないでも、最終処理の時期を演算で判定できる。左辺が残りの製品全てを割り付けるために必要な材料の長さの合計値である。上側の式は、残り1回、即ち、今回を含めて2回で仮割り付けを終了する。下側の式は、最大材料長が最小材料長の2倍以下という条件の下で、2回の割り付けが終了しないときの式である。βは材料が3本必要になる場合に再割り付けした材料の種類を示す。残りの材料が4本以上になる場合も含まれる。式(e4)は、式(e3)の下側の式を一般化したもので、残りの必要材料の合計長を表す式である。
式(e5)は、図5のステップS18における、割り付け候補データの良否判定に使用する演算式である。この式は、長さの降順に材料を取り出して、歩留まりが最大のものを選択するということを表している。
式(e6)は図7のステップS47における、割り付けパターンの良否判定に使用する演算式である。この式は、割り付けた材料の合計長の最小値を選択するということを表している。
式(e7)と(e8)と(e9)は、それぞれ異なる割り付け良否判定基準の例を示す演算式である。式(e7)は、最後まで試行した結果の最終歩留まりが最大となるものという基準である。式(e8)は、ある仮割り付けステップでのある材料について個別の歩留まりが最大となるものという基準である。式(e9)は、最も長い材料を割り付けたものという基準である。いずれも、後の負担を軽くする判定基準である。これらの基準の使用法は図11で説明した。
[Verification data]
FIG. 12 is an explanatory diagram showing the meaning of the symbols in the arithmetic expression shown in FIG. FIG. 13 is an explanatory diagram of main arithmetic expressions.
An example of main arithmetic expressions specifically used when executing the program of the above embodiment will be introduced with reference to FIGS. First, the arithmetic expression of FIG. 13 will be described.
Equation (e1) represents the objective function of the material assembling problem. The expression on the left represents the purpose of minimizing the total cost J. In the above embodiment, the calculation is performed by replacing the cost with the material length. In other words, the objective function is the expression on the right. The right-hand side of the right-hand formula represents the total length of all materials needed to allocate all products. The ratio of the total product length to J in this equation is the yield.
Expression (e2) is an arithmetic expression used to determine whether or not it is the final adjustment time in step S21 of FIG. The left side of this formula indicates the total length of the products remaining after this temporary allocation. The right side shows the length of the longest material. The center represents subtracting the total length of products temporarily allocated from the total length of products remaining this time. The calculation process may be performed while using the parameter t for repeated control. Conditional branching is performed depending on whether this conditional expression is satisfied or not.
Formula (e3) calculates the total value of the lengths of materials necessary for allocating all the remaining products when a certain material is selected for an unallocated product. This equation can also be used in step S21 in FIG. Even without assigning to the end, the final processing time can be determined by calculation. The left side is the total length of materials required to allocate all remaining products. In the upper expression, provisional allocation is completed once in the remaining time, that is, twice including the current time. The lower expression is an expression when the two assignments are not completed under the condition that the maximum material length is not more than twice the minimum material length. β indicates the type of material reallocated when three materials are required. The case where the remaining material is four or more is also included. Equation (e4) is a generalization of the lower equation of equation (e3) and represents the total length of the remaining necessary materials.
Formula (e5) is an arithmetic expression used for pass / fail judgment of the allocation candidate data in step S18 of FIG. This formula represents that materials are taken out in descending order of length and the one with the highest yield is selected.
Expression (e6) is an arithmetic expression used for determining the quality of the allocation pattern in step S47 of FIG. This formula represents that the minimum value of the total length of the allocated material is selected.
Expressions (e7), (e8), and (e9) are arithmetic expressions showing examples of different allocation pass / fail judgment criteria. Expression (e7) is a criterion that the final yield of the result of the trial until the end is maximized. Equation (e8) is a criterion that the individual yield is maximized for a material in a temporary allocation step. Formula (e9) is a criterion that the longest material is allocated. Both are criteria for reducing the subsequent burden. The use of these criteria is illustrated in FIG.

図14は、典型的な一般の木造住宅10邸について、取り合わせ演算処理の結果を示す説明図である。
実施例4(R(Recurcive)−RMBS(Reviset Minimum Bin Slack)法)と実施例2(RMBS法)とを比較対象にした。実施例4は実施例5の2種類の割り付け良否判定(判断)処理も採り入れている。比較例のGA法は1次元材料取り合わせ問題を改良した方法できわめて高い歩留まりを得ることができる演算処理方法である。これは、精度が高い反面、演算処理が複雑で処理時間が長いという欠点を持つ。比較例のP法は特許文献1に記載された方法である。比較例のRFFD(Reviset First FitDecending)法は本発明者により開発された別の最新の方法で、未公開のものである。実施例1の部分は相違するが実施例4と類似した手法を採用したものである。比較のための割り付け処理には汎用のパーソナルコンピュータを使用し、その演算速度は3GHz(毎秒)であった。
FIG. 14 is an explanatory diagram showing the result of the assortment calculation process for 10 typical typical wooden houses.
Example 4 (R (Recurcive) -RMBS (Reviset Minimum Bin Slack) method) and Example 2 (RMBS method) were compared. The fourth embodiment also adopts the two types of allocation pass / fail judgment (judgment) processing of the fifth embodiment. The GA method of the comparative example is an arithmetic processing method that can obtain a very high yield by improving the one-dimensional material assembling problem. Although this is high in accuracy, it has a drawback that the arithmetic processing is complicated and the processing time is long. The P method of the comparative example is a method described in Patent Document 1. The RFFD (Reviset First Fit Decending) method of the comparative example is another latest method developed by the present inventors and has not been disclosed. Although the part of Example 1 is different, a method similar to Example 4 is adopted. A general-purpose personal computer was used for the allocation process for comparison, and the calculation speed was 3 GHz (per second).

比較例のGA法は、遺伝的アルゴリズムを採用したもので、確率的に割り付け結果が変化する。従って、演算処理回数を多く繰り返して歩留まりが最大値となった割り付け結果を採用する。この例ではそれぞれのロットで50回演算処理を繰り返した歩留まりの最大値を採用したもので、邸2の結果については最適値であることが分かっている。比較例のGA法は、最終的には非常に良い結果が得られるが、演算処理時間が長くなるという欠点がある。比較例のRFFD法は、実施例とよく類似しているので、比較例1や2と比べると実施例に近い結果が得られている。   The GA method of the comparative example employs a genetic algorithm, and the assignment result changes stochastically. Therefore, an allocation result in which the yield reaches the maximum value by repeating the number of arithmetic processing times is adopted. In this example, the maximum value of the yield obtained by repeating the calculation process 50 times for each lot is adopted, and it is known that the result of Mansion 2 is the optimum value. The GA method of the comparative example can finally obtain a very good result, but has a disadvantage that the processing time becomes long. Since the RFFD method of the comparative example is very similar to the example, a result close to that of the example is obtained as compared with the comparative examples 1 and 2.

図において、R−RMBS法、RMBS法、RFFD法については、歩留まりを表示するとともに、()内に、1邸分全てのロットを処理するための実行時間(秒)を示した。RMBS法とRFFD法では、3秒以下で処理できた。R−RMBS法では、邸によるばらつきが大きく、邸1で16秒、邸5で40秒であったが、その他は4秒以下であった。GA法では、50回の繰り返し演算処理時間を含めて、合計で約40分を要した。比較例のP法では、処理時間が数分であった。   In the figure, for the R-RMBS method, the RMBS method, and the RFFD method, the yield is displayed, and the execution time (seconds) for processing all lots for one house is shown in parentheses. The RMBS method and the RFFD method could be processed in 3 seconds or less. In the R-RMBS method, there was a large variation depending on the residence, which was 16 seconds at Residence 1 and 40 seconds at Residence 5, while the others were less than 4 seconds. In the GA method, a total of about 40 minutes was required, including the time required for 50 iterations. In the comparative method P, the processing time was several minutes.

これらを比較すると、R−RMBS法、RMBS法、RFFD法の演算処理時間がきわだって短いことが分かる。また、R−RMBS法、RMBS法の歩留まりは、GA法にほぼ匹敵する結果が得られている。演算処理時間を考慮すると、実施例の方法はきわめて実用的な方法であることが実証できた。なお、処理結果にばらつきもあるが、実施例4と実施例2との両方を実行し、さらに、割り付け良否判定基準を取り替えたものを演算処理して、結果の良いものを選択するといったことにより、演算処理条件の差異を吸収できる。演算処理が速いので、こうした組み合わせができる点で有利である。   Comparing these, it can be seen that the calculation processing time of the R-RMBS method, the RMBS method, and the RFFD method is extremely short. Moreover, the results of the R-RMBS method and the RMBS method are almost equal to those of the GA method. In view of the calculation processing time, it was proved that the method of the embodiment is a very practical method. Although there are variations in the processing results, both the fourth and second embodiments are executed, and further, the processing with the assigned pass / fail judgment criteria replaced is selected, and the one with the better result is selected. It can absorb differences in processing conditions. Since arithmetic processing is fast, it is advantageous in that such a combination can be achieved.

図15は図14の邸1と邸2についてロット別の演算処理結果を示したものである。
比較例のGA法では、邸1のロットNo.8と邸2のロットNo.7で差が生じた。邸1のロットNo.8と邸2のロットNo.7は、3m〜6mの間の5種類の材料を使用し、半数以上が0.7m〜1mの短い製品を割り付ける。従って、他のロットに比べて組み合わせの数が多い。組み合わせの数が多いロットは最適値が得られない可能性が高いからやむをえない。また、材料と製品の組み合わせにより、各演算処理方法に優劣が生じる。しかし、上記のように、実施例の演算処理方法は圧倒的に処理時間が短くて、比較例のGA法等と同等もしくはそれ以上の結果が得られる点で、実用性が高いといえる。
FIG. 15 shows the calculation processing result for each lot for House 1 and House 2 in FIG.
In the GA method of the comparative example, lot no. Lot No. 8 of House 8 7 made a difference. Lot No. Lot No. 8 of House 8 7 uses 5 kinds of materials between 3 m and 6 m, and more than half of them assign short products of 0.7 m to 1 m. Therefore, the number of combinations is larger than other lots. Lots with a large number of combinations are unavoidable because there is a high possibility that optimal values cannot be obtained. Moreover, the superiority and inferiority of each arithmetic processing method occurs depending on the combination of materials and products. However, as described above, it can be said that the arithmetic processing method of the embodiment is highly practical in that the processing time is overwhelmingly short and results equivalent to or higher than the GA method of the comparative example can be obtained.

図16と図17は、実施例の性能向上効果の説明図である。図16は邸別、図17はロット別の効果説明図である。
既に説明をした実施例2では、終盤における仮割り付け結果選択の判断基準を変更した。実施例3では、仮割り付け結果を選択するために、各仮割り付け結果について、最後まで割り付けをして評価をした。このような判断基準変更の効果を確認するために、判断基準の変更を行わない場合との比較を図16に示した。全体に明らかに判断基準変更の効果が見られる。RMBS法では、最終歩留まりが最大という基準で、仮割り付け結果の選択を繰り返す。最後の材料への割り付けで大きく歩留まりを落とす場合もあり得る。これが、基準変更により救われることが分かる。
16 and 17 are explanatory diagrams of the performance improvement effect of the embodiment. FIG. 16 is an explanatory diagram of effects by residence, and FIG. 17 is an explanatory diagram of effects by lot.
In the second embodiment which has already been described, the criterion for selecting the temporary allocation result in the final stage is changed. In Example 3, in order to select a temporary allocation result, each temporary allocation result was allocated to the end and evaluated. In order to confirm the effect of such a change in the criterion, a comparison with the case where the criterion is not changed is shown in FIG. The effect of changing the criteria is clearly seen throughout. In the RMBS method, selection of a temporary allocation result is repeated on the basis that the final yield is maximum. In some cases, the yield may be greatly reduced by assigning to the last material. It can be seen that this is saved by changing the standard.

図18と図19は、制約条件の差による効果の説明図である。
図10の実施例において、「強い制約条件」と、「弱い制約条件」を説明した。図5で説明した(RMBS法)の処理をアルゴリズム3とする。アルゴリズム3では、図5の説明で「強い制約条件」を採用して処理をした。図18と図19では、「強い制約条件」を採用した結果と「弱い制約条件」を採用した結果とを比較した。また、図8や図9で説明した(R−RMBS法)の処理をアルゴリズム4とする。アルゴリズム4では、まず、最初の仮割り付けについては「弱い制約条件」を採用し、繰り返し試行処理については「強い制約条件」を採用した。その結果を(R−RMBS)と表示した。また、次の「強い制約」と記載した実験データについては、最初の仮割り付けにも繰り返し試行処理についても「強い制約条件」を採用した。さらに、一番右側の「弱い制約」と記載した実験データについては、最初の仮割り付けにも繰り返し試行処理についても「弱い制約条件」を採用した。
FIG. 18 and FIG. 19 are explanatory diagrams of the effect due to the difference in the constraint conditions.
In the embodiment of FIG. 10, the “strong constraint” and the “weak constraint” have been described. The processing of (RMBS method) described in FIG. In algorithm 3, processing was performed using the “strong constraint” in the description of FIG. In FIG. 18 and FIG. 19, the result of employing the “strong constraint” and the result of employing the “weak constraint” were compared. Further, the processing of (R-RMBS method) described with reference to FIGS. In Algorithm 4, first, “weak constraint” is adopted for the initial provisional allocation, and “strong constraint” is adopted for the repeated trial processing. The result was indicated as (R-RMBS). For the experimental data described as the next “strong constraint”, the “strong constraint condition” was adopted for both the initial provisional allocation and the repeated trial processing. Furthermore, for the experimental data described as “weak constraint” on the rightmost side, “weak constraint” was adopted for both the initial provisional assignment and the repeated trial processing.

その結果、図の表を見比べて分かるように、アルゴリズム3については、「強い制約条件」よりも「弱い制約条件」で演算処理をしたときのほうが良い結果も得られている。即ち、最初に必ず最長の製品を割り付ける方法を一律に採用しなくても、良い結果が得られる場合があることが分かった。また、アルゴリズム4では、割り付け候補データを求める演算処理に「弱い制約条件」を採用すると、良い結果が得られる率が高いことが分かった。しかし、試行を最後まで繰り返す処理に「弱い制約条件」を採用しても、全体として良い結果に結びつくとは言えないことが分かった。即ち、割り付け候補データを求める演算処理に「弱い制約条件」を採用すると、いずれの方法でも、選択肢が増えることにより、良い結果が得られる率が高まることが証明できた。   As a result, as can be seen from the comparison of the tables in the figure, for Algorithm 3, a better result is obtained when the calculation process is performed under the “weak constraint” than the “strong constraint”. That is, it has been found that good results may be obtained even if the method of always allocating the longest product is not necessarily adopted uniformly. In Algorithm 4, it was found that when “weak constraint” is adopted in the calculation processing for obtaining allocation candidate data, the rate of obtaining good results is high. However, it has been found that adopting “weak constraints” in the process of repeating trials to the end does not lead to good results overall. In other words, when “weak constraint” is adopted in the calculation processing for obtaining allocation candidate data, it has been proved that any method increases the rate of obtaining good results by increasing the number of options.

図20は、実施例7の処理動作フローチャートである。
この処理は、図3の処理の一部を変更したものである。図3のステップS100の部分を図21のステップS100〜S112に置き換える。図3のステップS201〜S203は削除する。図3のステップS401の直前に図22のステップS310〜S315を挿入する。図3のステップS503の部分を図23のステップS510〜S516に置き換える。
FIG. 20 is a flowchart of processing operations according to the seventh embodiment.
This process is a modification of part of the process of FIG. Step S100 in FIG. 3 is replaced with steps S100 to S112 in FIG. Steps S201 to S203 in FIG. 3 are deleted. Steps S310 to S315 of FIG. 22 are inserted immediately before step S401 of FIG. The step S503 in FIG. 3 is replaced with steps S510 to S516 in FIG.

図21は、実施例7の初期動作フローチャートである。
この実施例では、図3のステップS100を以下のように変更する。まず、初期割り付け手段21は、仮割り付け処理の開始前に、パラメータの初期設定をする。最初に ステップS100で、いずれかの材料に対して、最長の製品P(1)が割り付けられている状態から処理を開始する。ステップS100の左側の式は、材料長bより短い製品であって、iが最も小さい、すなわち最長の製品を探索する式である。この処理で、選択した材料が最長の製品P(1)よりも短いとき、その材料に割り付けられる最長の製品P(j)を最初に割り付けることができる。これが、ステップS100の右側の式Q(s)=P(j)で、その割り付けをする。この製品P(j)を以下最長の製品とみなす。
FIG. 21 is an initial operation flowchart of the seventh embodiment.
In this embodiment, step S100 in FIG. 3 is changed as follows. First, the initial allocation means 21 initializes parameters before starting the temporary allocation process. First, in step S100, processing is started from a state in which the longest product P (1) is assigned to any material. The expression on the left side of step S100 is an expression for searching for a product that is shorter than the material length b and has the smallest i, that is, the longest product. In this process, when the selected material is shorter than the longest product P (1), the longest product P (j) assigned to the material can be assigned first. This is assigned by the expression Q (s) = P (j) on the right side of step S100. This product P (j) is regarded as the longest product below.

次に、ステップS110で、この製品P(j)を含み、この製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求める。そして、ステップS111で、その合計と材料長bとを比較する。材料長が製品の長さの合計以上あるときは、全ての製品をこの材料に割り付けることができる。従って、その後の処理を省略し、ステップS112で、P(j),・・・P(n)を最終割り付け結果として保存し処理を終了する。   Next, in step S110, the total length of all products P (j) to P (n) including this product P (j) and shorter than this product P (j) is obtained. In step S111, the total is compared with the material length b. If the material length is greater than or equal to the total product length, all products can be assigned to this material. Therefore, the subsequent processing is omitted, and in step S112, P (j),... P (n) are stored as the final allocation result, and the processing ends.

一方、材料長が製品の長さの合計未満のときは、図20のステップS101以下の処理に進む。図3のステップS201〜203の処理は、ステップS312〜314で同等の処理をするので削除した。 On the other hand, when the material length is less than the total product length, the process proceeds to step S101 and subsequent steps in FIG. The processing in steps S201 to S203 in FIG. 3 is deleted because the same processing is performed in steps S312 to S314.

図22は、図20のステップS401の直前で実行する処理のフローチャートである。
図3の処理では、毎回、新たな製品を順番に割り付けて、割り付け可能かどうかを判断する繰り返し処理を行った。即ち、図3のステップS101からステップS401、402を経てステップS101に戻る処理を繰り返した。例えば、図4のNo.4〜No.7のような処理が繰り返される。そのとき、コンピュータプログラムは、次に割り付けを試みる製品の長さを知るために、該当するデータを順番に読み出して、図3ステップS202でLQ<bかどうかの判断をした。
FIG. 22 is a flowchart of processing executed immediately before step S401 in FIG.
In the process of FIG. 3, a new process is performed every time, and a repeated process is performed to determine whether allocation is possible. That is, the process of returning from step S101 of FIG. 3 to step S101 through steps S401 and S402 was repeated. For example, in FIG. 4-No. 7 is repeated. At that time, in order to know the length of the product to be allocated next, the computer program sequentially reads out the corresponding data and determines whether LQ <b in step S202 of FIG.

一方、この実施例では、予め、長さが最小の製品の製品長を定数として別途記憶させておく。長さが最小の製品は、繰り返し処理で未割り付け製品のリストが変わるたびに変更される。従って、この定数記憶処理は、例えば、ステップS100で実行しておくとよい。図22において、ステップS310で、製品群Qのうち最後に割付けられた最後尾の製品Q(S)に対応するjを検出する。ステップS311で、j<nかどうかの判断をする。この判断の結果がイエスのときは、ステップS312に移行する。ノーのときは一番短い製品を指しているから、処理を抜けるためにステップS315に移行する。ステップS312とステップS313では、更に割付けるための製品として、その製品P(j)より短い次の製品から順に以下のように割り付け可能な最も長い製品を検出する。 On the other hand, in this embodiment, the product length of the product having the smallest length is stored separately as a constant beforehand. The product with the smallest length is changed each time the list of unallocated products is changed by the iterative process. Therefore, this constant storage process may be executed in step S100, for example. In FIG. 22, in step S310, j corresponding to the last product Q (S) assigned last in the product group Q is detected. In step S311, it is determined whether j <n. If the result of this determination is yes, the process proceeds to step S312. If the answer is no, it indicates the shortest product, and the process proceeds to step S315 to exit the process. In step S312 and step S313, the longest product that can be assigned is detected in order from the next product shorter than the product P (j) as a product to be further assigned.

ステップS312では、割り付け余地Slack=b−LQを計算する。ここでは、現在の割付けQ(1)〜Q(s)に対して余地(Slack)を計算する。なお、Qは一時的な割付け結果の保存エリアであって、その中で最良のものができた都度、図20のステップS303でAkにセットされる。次のステップS313で、割り付け余地Slackを最小の製品の製品長と比較する。割り付け余地Slackが最小の製品の製品長に満たないときは、現在の割り付け余地Slackでは、最後まで割り付けを試行してもこれ以上割り付けることができる製品が無いと判断されるので、ステップS316に移行して、j=nにする。これで、処理を抜ける。 In step S312, the room for allocation Slack = b−LQ is calculated. Here, a room (Slack) is calculated for the current assignments Q (1) to Q (s). Q is a temporary allocation result storage area, and is set to Ak in step S303 in FIG. In the next step S313, the allocation margin Slack is compared with the product length of the smallest product. If the allocation margin Slack is less than the product length of the minimum product, it is determined that there is no product that can be allocated any more even if allocation is attempted to the end in the current allocation margin Slack, and the process proceeds to step S316. And j = n. This exits the process.

割り付け余地Slackが最小の製品の製品長以上のときは、ステップS314で、この製品P(j)から順に製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出する。以上のようにして、ステップS313で割り付け不可能な製品を読み飛ばすことによって、図4のNo.4〜No.7のような処理を省略して、演算処理時間を短縮できる。この後、検出した製品を新たにQに割り付けることができるように、ステップS315でsを1つカウントアップしておく。 If the allocation margin Slack is equal to or greater than the product length of the smallest product, in step S314, the product length and the allocation margin Slack are compared in order from the product P (j) to detect the longest product that can be allocated. As described above, by skipping products that cannot be assigned in step S313, No. 1 in FIG. 4-No. Processing such as 7 can be omitted, and the calculation processing time can be shortened. Thereafter, s is incremented by one in step S315 so that the detected product can be newly assigned to Q.

図23は図20のステップS502以下の部分のフローチャートである。
ステップS502でsがカウントダウンされ、最後尾の割り付け製品が取り除かれた。即ち、直前に割り付けた製品が取り消された。残りの割り付け製品群Qに対して、ステップS510において新たな最後尾の製品Q(s)に対応するjを検出する。ここで、ステップS511に進み、最後尾の製品に替わって割付ける製品を検出する。即ち、その製品P(j)より短い次の製品から順に以下のように割り付け可能な最も長い製品を検出する。それ以外の場合には、jが最短の製品を指しているから、処理を終了してステップS401に戻る。
FIG. 23 is a flowchart of the part after step S502 in FIG.
In step S502, s is counted down, and the last assigned product is removed. That is, the product assigned just before was canceled. For the remaining assigned product group Q, j corresponding to the new last product Q (s) is detected in step S510. In step S511, a product to be assigned instead of the last product is detected. That is, the longest product that can be assigned is detected in order from the next product shorter than the product P (j). In other cases, since j indicates the shortest product, the process ends and the process returns to step S401.

ステップS511では、最後尾の製品を除いた場合の割り付け余地Slackを計算する。ここでは、割り付け余地Slackに対して最小の製品を含む2以上の製品を割り付けできなければ、これまでの割り付け結果よりも歩留まりの良い結果が得られる見込みが無い。そこで、ステップS512で、割り付け余地Slackが最小の製品長の2倍に満たないと判断されたときは、ステップS514でj=nにする。ステップS512で、割り付け余地Slackが最小の製品長の2倍以上あると判断されると、ステップS513で、いま割り付けている最後尾の製品に替わって割付けても、割り付け余地Slackが少なくとも最短製品より大きくなるような最長の製品を検出する。同じ長さの製品が並んでいたら、先に並んでいるほうを検出する。以上の処理によって、歩留まり向上に無意味な製品や割り付け不可能な製品に対する、図3のステップS101〜502の処理を省略することができる。
[効果の表の説明]
図24は、実施例7の演算処理の効果を示す説明図である。
実施例7では、実施例1に比べて、歩留まりについては、良いものも悪いものも混在している。しかし、「秒」と表示した演算処理時間を比較すると、負荷の大きなものに演算処理速度の大幅な改善が見られた。実施例1で演算処理時間が1〜2秒のものは繰り返し処理の負荷が小さいので改善の効果が分からない。しかし、演算処理時間が数十秒のものについては、実施例7で全て処理時間を1〜2秒に短縮することができた。
In step S511, an allocation margin Slack when the last product is removed is calculated. Here, unless two or more products including the smallest product can be allocated to the allocation room Sack, there is no possibility of obtaining a result with a better yield than the previous allocation results. Therefore, when it is determined in step S512 that the allocation margin Slack is less than twice the minimum product length, j = n is set in step S514. If it is determined in step S512 that the allocation margin Slack is at least twice the minimum product length, even if it is allocated in place of the last product allocated in step S513, the allocation margin Sack is at least more than the shortest product Detect the longest product that grows. If products of the same length are lined up, the one lined up first is detected. With the above processing, it is possible to omit the processing in steps S101 to S502 in FIG. 3 for products that are meaningless for yield improvement and products that cannot be assigned.
[Explanation of effect table]
FIG. 24 is an explanatory diagram illustrating the effect of the arithmetic processing according to the seventh embodiment.
In the seventh embodiment, compared with the first embodiment, good and bad yields are mixed. However, when the processing time displayed as “seconds” is compared, a large improvement in the processing speed is seen for those with a large load. In the first embodiment, when the calculation processing time is 1 to 2 seconds, the repetitive processing load is small, so the improvement effect is not known. However, in the case where the arithmetic processing time is several tens of seconds, the processing time can be reduced to 1 to 2 seconds in Example 7.

この実施例では、図11のステップS93で第2の割り付け良否判定基準に、「割り付け製品長最大」という基準を選択する。後で良い結果を得るという期待を含めるためである。さらに、図11のステップS96で、第3の割り付け良否判定基準に、歩留まりが最も悪いものを選択するという方法を採用する。ここで、歩留まりの最も良いものを選ばずに、歩留まりの最も悪いものを選ぶのは次の理由による。図11のステップS91で、試行による最終割り付け結果を比較したところ、最終歩留まりが同一であった。だから、第1の割り付け良否判定基準ではいずれかを選択する判定ができない(図11ステップS91)。しかし、最終歩留まりが同一というならば、最初の割り付けで歩留まりが良いほうは、その後の割り付けで歩留まりが悪くなり、最初の割り付けで歩留まりが悪いほうは、その後の割り付けで歩留まりが良くなる。そこで、その後の歩留まり改善に期待するという観点で、歩留まりが最も悪いものを選択する。この方法を採用して試算をしてみたところ、他の方法に比べて歩留まりが改善されたケースがあった。上記の方法により、様々な方法で試算をして、最も歩留まりの良い材料と製品の取り合わせを見つけることができる。   In this embodiment, the criterion “maximum allocated product length” is selected as the second allocation pass / fail judgment criterion in step S93 of FIG. This is to include the expectation of getting good results later. Further, in step S96 of FIG. 11, a method of selecting the one with the lowest yield as the third allocation quality determination criterion is adopted. Here, the reason why the worst yield is selected without choosing the best yield is as follows. In step S91 of FIG. 11, when the final allocation result by trial was compared, the final yield was the same. Therefore, it is not possible to determine which one is selected based on the first allocation pass / fail criterion (step S91 in FIG. 11). However, if the final yield is the same, the yield that is good in the first allocation is poor in the subsequent allocation, and the yield that is poor in the first allocation is good in the subsequent allocation. Therefore, the one with the worst yield is selected from the viewpoint of expecting the subsequent yield improvement. As a result of trial calculation using this method, there was a case where the yield was improved as compared with other methods. By the above method, various methods can be used to find a combination of a material and a product with the best yield.

図25は、最終調整の有無による歩留まり比較説明図である。
図のように、R−RMBS方式でも、RMBS方式でも、最終調整をしたところ、「差」と表示したとおり、歩留まりに改善があった。特に、RMBS方式でその改善効果が著しいことが、この結果から明らかになった。
FIG. 25 is a diagram for comparing yields with and without final adjustment.
As shown in the figure, in the R-RMBS method and the RMBS method, when the final adjustment was made, the yield was improved as indicated by “difference”. In particular, the results show that the improvement effect is remarkable in the RMBS method.

なお、上記の演算処理装置で実行されるコンピュータプログラムは、機能ブロックで図示した単位でモジュール化されても良いし、複数の機能ブロックを組み合わせて一体化されても良い。また、上記のコンピュータプログラムは、既存のアプリケーションプログラムに組み込んで使用しても良い。本発明を実現するためのコンピュータプログラムは、例えばCD−ROMのようなコンピュータで読み取り可能な記録媒体に記録して、任意の情報処理装置にインストールして利用することができる。   Note that the computer program executed by the arithmetic processing unit may be modularized in units illustrated in functional blocks, or may be integrated by combining a plurality of functional blocks. Further, the above computer program may be used by being incorporated into an existing application program. The computer program for realizing the present invention can be recorded on a computer-readable recording medium such as a CD-ROM and installed in an arbitrary information processing apparatus for use.

実施例1の材料取り合わせシステム10のブロック図である。1 is a block diagram of a material assembling system 10 of Example 1. FIG. 材料取り合わせシステム10を構成するコンピュータのハードウエアブロック図である。2 is a hardware block diagram of a computer constituting the material assembling system 10. FIG. 割り付け候補データ生成のための処理動作フローチャートである。It is a processing operation flowchart for allocation candidate data generation. 具体的な処理例の説明図である。It is explanatory drawing of the specific process example. 全割り付けデータ生成処理動作の実施例を示すフローチャートである。It is a flowchart which shows the Example of all the allocation data generation processing operation | movement. 最終調整処理の動作説明図である。It is operation | movement explanatory drawing of the last adjustment process. 最終調整処理の実施例フローチャートである。It is an Example flowchart of a final adjustment process. 実施例3の動作を示す説明図である。FIG. 10 is an explanatory diagram illustrating an operation of the third embodiment. 実施例3の処理例フローチャートである。10 is a flowchart illustrating a processing example according to the third embodiment. 制約条件の説明図である。It is explanatory drawing of a constraint condition. 実施例5の動作フローチャートである。10 is an operation flowchart of the fifth embodiment. 図13に示した演算式の記号の意味を示す説明図である。It is explanatory drawing which shows the meaning of the symbol of the computing equation shown in FIG. 主要な演算式の説明図である。It is explanatory drawing of main arithmetic expressions. 典型的な一般の木造住宅10邸について、取り合わせ演算処理の結果を示す説明図である。It is explanatory drawing which shows the result of an arrangement | positioning calculation process about 10 typical typical wooden houses. 図14の邸1と邸2についてロット別の演算処理結果を示したものである。FIG. 15 shows the calculation processing results by lot for House 1 and House 2 in FIG. 14. 実施例の性能向上効果の邸別説明図である。It is explanatory drawing according to the house of the performance improvement effect of an Example. 実施例の性能向上効果のロット別説明図である。It is explanatory drawing according to lot of the performance improvement effect of an Example. 制約条件の差による効果の邸別説明図である。It is explanatory drawing according to the house of the effect by the difference of a constraint condition. 制約条件の差による効果のロット別説明図である。It is explanatory drawing according to lot of the effect by the difference of constraint conditions. 実施例7の処理動作フローチャートである。18 is a flowchart illustrating a processing operation according to the seventh embodiment. 実施例7の初期動作フローチャートである。18 is an initial operation flowchart of the seventh embodiment. 図20のステップS401の直前で実行する処理のフローチャートである。It is a flowchart of the process performed immediately before step S401 of FIG. 図20のステップS502以下の部分のフローチャートである。It is a flowchart of the part after step S502 of FIG. 実施例7の演算処理の効果を示す説明図である。It is explanatory drawing which shows the effect of the arithmetic processing of Example 7. 最終調整の有無による歩留まり比較説明図である。It is yield comparison explanatory drawing by the presence or absence of final adjustment.

符号の説明Explanation of symbols

10 材料取り合わせシステム
12 コンピュータ
14 ネットワーク
16 端末装置
20 演算処理装置
21 初期割り付け手段
22 続割り付け手段
23 仮割り付け結果記憶手段
24 仮割り付け試行手段
25 割り付け判定手段
26 繰り返し割り付け手段
27 最終調整時期判断手段
28 最終調整手段
30 入出力データ処理手段
40 記憶装置
41 材料データ
42 割り付け対象製品データ
43 仮割り付け結果
44 割り付けデータ
45 未割り付け製品
46 割り付けパターン
50 割り付け良否判定基準
51 割り付け良否判定基準
DESCRIPTION OF SYMBOLS 10 Material arrangement system 12 Computer 14 Network 16 Terminal device 20 Arithmetic processor 21 Initial allocation means 22 Continuous allocation means 23 Temporary allocation result storage means 24 Temporary allocation trial means 25 Allocation determination means 26 Repeat allocation means 27 Final adjustment time determination means 28 Final Adjustment means 30 Input / output data processing means 40 Storage device 41 Material data 42 Allocation target product data 43 Temporary allocation result 44 Allocation data 45 Unallocated product 46 Allocation pattern 50 Allocation pass / fail judgment criteria 51 Allocation pass / fail judgment criteria

Claims (17)

製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、
前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、
製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段とを備えたことを特徴とする材料取り合わせシステム。
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product that can be allocated to the material;
It is determined whether the total length LQ of the s products currently assigned to the selected material matches the length b of the material, and if LQ = b, the current assigned product The list Q is the optimal allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, Optimal allocation determination means, which proceeds to processing by the allocation possibility determination means,
When the product P (j) is assigned to Q (s), it is determined whether the total length LQ of s products currently assigned is less than the length b of the selected material, and LQ < If b, set s = s + 1 and proceed to processing of the temporary allocation result storage means, and if LQ <b, proceed to processing of another product allocation means;
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If not s = s min , allocation changing means for setting s = s−1, canceling the allocation of the product allocated immediately before and returning to the processing of another product allocation means,
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is A material assembling system comprising: a final adjustment unit that executes a final adjustment process to be used for allocation data of a corresponding product.
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、
前記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と前記材料の長さbとを比較し、前記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段とを備えたことを特徴とする材料取り合わせシステム。
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product P (j) that can be allocated to the material;
The total length of all products P (j) to P (n) including the product P (j) and shorter than the product P (j) is obtained, and the total is compared with the length b of the material. If the length b of the material is greater than or equal to the total length of the product, P (j),... P (n) are stored in Ak as the final allocation result, the process is terminated, and the selected It is determined whether the total length LQ of s products currently assigned to the selected material matches the length b of the material. If LQ = b, the list Q of currently assigned products is obtained. The optimal allocation result Ak for the material is set, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, the next temporary allocation is performed. Optimal allocation judgment procedure to proceed to result storage means And,
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
For the allocation result stored in Ak, the allocation margin Slack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n), and the product P (n having the smallest allocation margin Sack is obtained. ) J = n when the product length is less than the product length, and when the allocation space Slack is equal to or greater than the product length of the smallest product, the product length and the allocation space from the product P (j) to P (n-1) in order. A surplus length discriminating means that compares the Slack and detects the longest assignable product, sets s to (s + 1), and proceeds to the processing of another product assigning means;
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If it is not s = s min , s = s−1 is set, the allocation margin Slack is calculated in the state in which the allocation of the product allocated immediately before is canceled, and the product P (n having the smallest allocation margin Sack is calculated. ) Is less than twice the length of j), j is set to n, and if it is determined that the allocation margin Slack is at least twice the length of the smallest product P (n), P (n) is assigned to the allocation margin Sack. An allocation changing unit that detects the longest product that can be allocated together with the item and assigns it to the next allocation target and returns to the processing of another product allocation unit;
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is A material assembling system comprising: a final adjustment unit that executes a final adjustment process to be used for allocation data of a corresponding product.
請求項1または2に記載の材料取り合わせシステムにおいて、
前記最終調整時期判断手段は、前記いずれかの割り付け候補データを記憶装置に記憶させるとき、残りの未割り付け製品の長さの合計が、最も長い材料の長さ(材料長)以下であるとき、最終調整時期と判断することを特徴とする材料取り合わせシステム。
The material assembling system according to claim 1 or 2,
When the final adjustment time determination means stores any of the allocation candidate data in a storage device, when the total length of the remaining unallocated products is equal to or less than the length of the longest material (material length), A material assembling system characterized by the final adjustment time.
請求項1乃至3のいずれかに記載の材料取り合わせシステムにおいて、
前記仮割り付け試行手段は、ある材料が選択されたとき、前記初期割り付け手段が、最も長い製品を仮割り付けできないときには、その材料に割り付けできる次に長い(最長の)製品を最も長い製品とみなして、前記割り付け候補データの保存処理を実行することを特徴とする材料取り合わせシステム。
The material assembling system according to any one of claims 1 to 3,
The temporary allocation trial means regards the next longest (longest) product that can be allocated to the material as the longest product when the initial allocation means cannot temporarily allocate the longest product when a certain material is selected. A material assembling system that executes a storage process of the allocation candidate data.
請求項1乃至4のいずれかに記載の材料取り合わせシステムにおいて、
前記割り付け判定手段は、前記記憶装置に記憶された複数の割り付け候補データについて、それぞれ残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付けデータ取得処理を繰り返して、全ての製品について割り付け処理を終了し、前記複数の割り付け候補データに対する割り付け処理の終了結果を所定の割り付け良否判定基準により比較して、前記複数の割り付け候補データのいずれかを該当する製品の割り付けデータに採用するという処理を繰り返すことを特徴とする材料取り合わせシステム。
The material assembling system according to any one of claims 1 to 4,
The allocation determination means regards the remaining unallocated products as new allocation target products for each of the plurality of allocation candidate data stored in the storage device, repeats the allocation data acquisition process, and allocates all the products. A process of ending the process, comparing the end result of the allocation process for the plurality of allocation candidate data according to a predetermined allocation pass / fail judgment criterion, and adopting any of the plurality of allocation candidate data as the allocation data of the corresponding product A material assembling system characterized by repeating.
請求項5に記載の材料取り合わせシステムにおいて、
前記割り付け判定手段は、前記最終的な割り付け処理の終了結果における歩留まりを計算して、歩留まりが最大となる場合の割り付け候補データを該当する製品の割り付けデータに採用するという、割り付け良否判定基準を使用することを特徴とする材料取り合わせシステム。
The material assembling system according to claim 5, wherein
The allocation determination means uses an allocation pass / fail criterion that calculates the yield in the final allocation processing end result and adopts the allocation candidate data when the yield is maximized as the allocation data of the corresponding product. A material assembling system characterized by:
請求項6に記載の材料取り合わせシステムにおいて、
前記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの歩留まりが最大なものを採用し、それでも良否判定ができないときは、割り付け候補データのみの割り付け製品長が最大のものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
The material assembling system according to claim 6, wherein
The allocation determination means adopts the one with the highest yield of only the allocation candidate data when the quality determination cannot be made even if the yield in the final result of the allocation process is compared, and if the quality determination is still impossible, the allocation A material assembling system characterized in that a pass / fail judgment is made so that the product with the largest assigned product length of only candidate data is adopted.
請求項6に記載の材料取り合わせシステムにおいて、
前記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの割り付け製品長が最大のものを採用し、それでも良否判定ができないときは、仮割り付け結果のみの歩留まりが最大なものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
The material assembling system according to claim 6, wherein
The allocation determination means adopts the allocation product data with the maximum allocation product data only when the yield in the final allocation processing end result cannot be compared, and when the yield cannot be determined. The material assembling system is characterized in that the quality is judged so as to adopt the one with the maximum yield of only the temporary allocation result.
請求項6に記載の材料取り合わせシステムにおいて、
前記割り付け判定手段は、最終的な割り付け処理の終了結果における歩留まりを比較しても良否判定ができないとき、割り付け候補データのみの割り付け製品長が最大のものを採用し、それでも良否判定ができないときは、仮割り付け結果のみの歩留まりが最小のものを採用するように、良否判定をすることを特徴とする材料取り合わせシステム。
The material assembling system according to claim 6, wherein
The allocation determination means adopts the allocation product data with the maximum allocation product data only when the yield in the final allocation processing end result cannot be determined even when the yield is compared, and still cannot determine the quality A material assembling system characterized in that a pass / fail judgment is made so that a yield with only a temporary allocation result is adopted.
コンピュータを、
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、
前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、
製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、
として機能させる材料取り合わせプログラム。
Computer
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product that can be allocated to the material;
It is determined whether the total length LQ of the s products currently assigned to the selected material matches the length b of the material, and if LQ = b, the current assigned product The list Q is the optimal allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, Optimal allocation determination means, which proceeds to processing by the allocation possibility determination means,
When the product P (j) is assigned to Q (s), it is determined whether the total length LQ of s products currently assigned is less than the length b of the selected material, and LQ < If b, set s = s + 1 and proceed to processing of the temporary allocation result storage means, and if LQ <b, proceed to processing of another product allocation means;
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If not s = s min , allocation changing means for setting s = s−1, canceling the allocation of the product allocated immediately before and returning to the processing of another product allocation means,
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is Final adjustment means for executing final adjustment processing to be used for the allocation data of the corresponding product,
Assortment program to function as.
コンピュータを、
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、
前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、
製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、
として機能させる材料取り合わせプログラムを記録したコンピュータで読み取り可能な記録媒体。
Computer
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product that can be allocated to the material;
It is determined whether the total length LQ of the s products currently assigned to the selected material matches the length b of the material, and if LQ = b, the current assigned product The list Q is the optimal allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, Optimal allocation determination means, which proceeds to processing by the allocation possibility determination means,
When the product P (j) is assigned to Q (s), it is determined whether the total length LQ of s products currently assigned is less than the length b of the selected material, and LQ < If b, set s = s + 1 and proceed to processing of the temporary allocation result storage means, and if LQ <b, proceed to processing of another product allocation means;
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If not s = s min , allocation changing means for setting s = s−1, canceling the allocation of the product allocated immediately before and returning to the processing of another product allocation means,
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is Final adjustment means for executing final adjustment processing to be used for the allocation data of the corresponding product,
A computer-readable recording medium on which a material assembling program that functions as a computer is recorded.
記憶手段が、製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶するステップと、
初期割り付け手段が、前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付けるステップと、
最適割り付け判定手段が、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進むステップと、
割り付け可否判定手段が、製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進むステップと、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り仮割り付け結果保存手段が、付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存するステップと、
別製品割り付け手段が、前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進むステップと、
割り付け変更手段が、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻すステップと、
仮割り付け試行手段が、前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させるステップと、
割り付け判定手段が、複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用するステップと、
繰り返し割り付け手段が、残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返すステップと、
最終調整時期判断手段が、前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断するステップと、
最終調整手段が、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行するステップと、
を含むことを特徴とする材料取り合わせ方法。
The storage means stores material data in which materials for allocating products are arranged in descending order of their lengths , and products P = {P (1), P (2)... P (n)} to be allocated. Are assigned product data arranged in descending order of their lengths, and information indicating products Q (1), Q (2)... Q (s) sequentially assigned to the material during arithmetic processing. Memorizing step;
Initial allocating means selecting one of the materials from the storage means and allocating the longest product that can be allocated to the material;
The optimum allocation determining means determines whether or not the total length LQ of s products currently allocated to the selected material matches the length b of the material, and if LQ = b, The assigned product list Q is set as the optimum allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and LQ = If not b, the step proceeds to processing by the next allocation possibility determination means;
Whether the allocation determination unit determines whether the total LQ of the lengths of s products currently allocated is less than the length b of the selected material when the product P (j) is allocated to Q (s) If LQ <b, the process proceeds to the provisional allocation result storage unit as s = s + 1, and if LQ <b, the process proceeds to the process of another product allocation unit;
The total length LQ of the products currently allocated to the material, and the maximum value L of the total length of the products (total product length) that the temporary allocation allocation result storage means has assigned in the past (to date) by comparing the max, if LQ> L max, L max = replace the L max sum of the length of the current products (total length) to LQ as LQ, is currently allocated (allocation was) of the product Storing the list Q as a temporary allocation result Ak;
Another product allocation means compares the above j and n to determine whether the allocation feasibility determination (provisional allocation) has been completed for all products. If j <n, a new product P (j + 1) is newly determined. Allocating to Q (s) and returning to the process of the optimal allocation determining means, and if j <n, proceeding to the process of the allocation changing means;
The allocation changing means compares the minimum value s min and s of s set in advance, and if s = s min , the result already stored as Ak is set as (temporary allocation result, and the result is ) Saving as allocation candidate data, and if not s = s min , set s = s−1, cancel the allocation of the product allocated immediately before, and return to the processing of another product allocation means;
A temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials;
An allocation determining means comparing the allocation candidate data stored for a plurality of materials, and adopting any allocation candidate data as allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitive allocation means, considering the remaining unallocated products as new allocation target products, repeating the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
The final adjustment time determination means determines the final adjustment time for ending assignment for all products in the two assignment data acquisition processes including the current assignment data acquisition process during the repetition of the assignment data acquisition process by the repeat assignment means. A step of judging;
When the final adjustment means is determined to be the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the material length used is minimized. A final adjustment process for adopting the allocation pattern as the allocation data of the corresponding product,
The material assembling method characterized by including.
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品を必ず割付ける初期割り付け手段と、
前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の割り付け可否判定手段による処理へ進む、最適割り付け判定手段と、
製品P(j)がQ(s)に割り付けられているとき、現在割り付けられているs個の製品の長さの合計LQが選択された材料の長さb未満かどうかを判断し、LQ<bならば、s=s+1として仮割り付け結果保存手段の処理に進み、LQ<bでなければ、別製品割り付け手段の処理に進む、割り付け可否判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消してから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段と、
前記割り付けデータを使用して、前記材料を選択する材料選択供給装置と、当該材料に割り付けられた製品をプレカットする材料切断装置とを備えたことを特徴とするプレカット装置。
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product that can be allocated to the material;
It is determined whether the total length LQ of the s products currently assigned to the selected material matches the length b of the material, and if LQ = b, the current assigned product The list Q is the optimal allocation result Ak for the material, the Ak (result) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, Optimal allocation determination means, which proceeds to processing by the allocation possibility determination means,
When the product P (j) is assigned to Q (s), it is determined whether the total length LQ of s products currently assigned is less than the length b of the selected material, and LQ < If b, set s = s + 1 and proceed to processing of the temporary allocation result storage means, and if LQ <b, proceed to processing of another product allocation means;
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If not s = s min , allocation changing means for setting s = s−1, canceling the allocation of the product allocated immediately before and returning to the processing of another product allocation means,
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared. A final adjustment means for executing a final adjustment process to be applied to the allocation data of the corresponding product;
A precut device comprising: a material selection supply device that selects the material using the allocation data; and a material cutting device that precuts a product allocated to the material.
コンピュータを、
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、
前記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と前記材料の長さbとを比較し、前記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、
として機能させる材料取り合わせプログラム。
Computer
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product P (j) that can be allocated to the material;
The total length of all products P (j) to P (n) including the product P (j) and shorter than the product P (j) is obtained, and the total is compared with the length b of the material. If the length b of the material is greater than or equal to the total length of the product, P (j),... P (n) are stored in Ak as the final allocation result, the process is terminated, and the selected It is determined whether the total length LQ of s products currently assigned to the selected material matches the length b of the material. If LQ = b, the list Q of currently assigned products is obtained. The optimal allocation result Ak for the material is set, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, the next temporary allocation is performed. Optimal allocation judgment procedure to proceed to result storage means And,
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
For the allocation result stored in Ak, the allocation margin Slack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n), and the product P (n having the smallest allocation margin Sack is obtained. ) J = n when the product length is less than the product length, and when the allocation space Slack is equal to or greater than the product length of the smallest product, the product length and the allocation space from the product P (j) to P (n-1) in order. A surplus length discriminating means that compares the Slack and detects the longest assignable product, sets s to (s + 1), and proceeds to the processing of another product assigning means;
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If it is not s = s min , s = s−1 is set, the allocation margin Slack is calculated in the state in which the allocation of the product allocated immediately before is canceled, and the product P (n having the smallest allocation margin Sack is calculated. ) Is less than twice the length of j), j is set to n, and if it is determined that the allocation margin Slack is at least twice the length of the smallest product P (n), P (n) is assigned to the allocation margin Sack. An allocation changing unit that detects the longest product that can be allocated together with the item and assigns it to the next allocation target and returns to the processing of another product allocation unit;
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is Final adjustment means for executing final adjustment processing to be used for the allocation data of the corresponding product,
Assortment program to function as.
コンピュータを、
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、
前記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と前記材料の長さbとを比較し、前記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段、
として機能させる材料取り合わせプログラムを記録したコンピュータで読み取り可能な記録媒体。
Computer
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product P (j) that can be allocated to the material;
The total length of all products P (j) to P (n) including the product P (j) and shorter than the product P (j) is obtained, and the total is compared with the length b of the material. If the length b of the material is greater than or equal to the total length of the product, P (j),... P (n) are stored in Ak as the final allocation result, the process is terminated, and the selected It is determined whether the total length LQ of s products currently assigned to the selected material matches the length b of the material. If LQ = b, the list Q of currently assigned products is obtained. The optimal allocation result Ak for the material is set, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, the next temporary allocation is performed. Optimal allocation judgment procedure to proceed to result storage means And,
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
For the allocation result stored in Ak, the allocation margin Slack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n), and the product P (n having the smallest allocation margin Sack is obtained. ) J = n when the product length is less than the product length, and when the allocation space Slack is equal to or greater than the product length of the smallest product, the product length and the allocation space from the product P (j) to P (n-1) in order. A surplus length discriminating means that compares the Slack and detects the longest assignable product, sets s to (s + 1), and proceeds to the processing of another product assigning means;
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If it is not s = s min , s = s−1 is set, the allocation margin Slack is calculated in the state in which the allocation of the product allocated immediately before is canceled, and the product P (n having the smallest allocation margin Sack is calculated. ) Is less than twice the length of j), j is set to n, and if it is determined that the allocation margin Slack is at least twice the length of the smallest product P (n), P (n) is assigned to the allocation margin Sack. An allocation changing unit that detects the longest product that can be allocated together with the item and assigns it to the next allocation target and returns to the processing of another product allocation unit;
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the allocation pattern that minimizes the material length used is Final adjustment means for executing final adjustment processing to be used for the allocation data of the corresponding product,
A computer-readable recording medium on which a material assembling program that functions as a computer is recorded.
記憶手段が、製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶するステップと、
初期割り付け手段が、前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付けるステップと、
最適割り付け判定手段が、前記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と前記材料の長さbとを比較し、前記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進むステップと、
仮割り付け結果保存手段が、前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存するステップと、
余長判別手段が、Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進むステップと、
別製品割り付け手段が、前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進むステップと、
割り付け変更手段が、予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻すステップSと、
仮割り付け試行手段が、前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させるステップと、
割り付け判定手段が、複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用すると、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段ステップと、
最終調整時期判断手段が、前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断するステップと、
最終調整手段が、最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行するステップと、
を含む材料取り合わせ方法。
The storage means stores material data in which materials for allocating products are arranged in descending order of their lengths , and products P = {P (1), P (2)... P (n)} to be allocated. Are assigned product data arranged in descending order of their lengths, and information indicating products Q (1), Q (2)... Q (s) sequentially assigned to the material during arithmetic processing. Memorizing step;
Initial allocating means selecting one of the materials from the storage means and allocating the longest product P (j) that can be allocated to the material;
The optimum allocation determining means obtains the sum of the lengths of all products P (j) to P (n) including the product P (j) and shorter than the product P (j), and the sum of the product and the material Compared with the length b, if the length b of the material is equal to or greater than the total length of the product, P (j),... P (n) is stored in Ak as the final allocation result and processed. And determine whether the total length LQ of the s products currently assigned to the selected material matches the length b of the material, and if LQ = b, the currently assigned The list Q of the existing products is set as the optimal allocation result Ak for the material, the Ak (result thereof) is stored as allocation candidate data, the storage processing of the allocation candidate data for the selected material is terminated, and LQ = b For example, the next temporary allocation result storage means processing A step of advance,
The temporary allocation result storage means has a maximum value L max of the total length LQ of products currently allocated to the material and the total length of products temporarily allocated so far (total product length). If LQ> L max , and L max = LQ, L max is replaced with the total length of the current product (total product length) LQ, and a list of currently assigned (assigned) products Storing Q as a temporary allocation result Ak;
The surplus length discriminating means calculates the allocation margin Slack = b−LQ with respect to the allocation result stored in Ak, and compares the allocation margin Slack with the product length of the smallest product P (n). When the product length of the minimum product P (n) is less than j = n, and when the allocation space Slack is equal to or greater than the product length of the minimum product, the product P (j) is sequentially ordered to P (n−1). Comparing the product length with the allocation room Slack, detecting the longest product that can be assigned, setting s to (s + 1), and proceeding to the processing of the next separate product assignment means;
Another product allocation means compares the above j and n to determine whether the allocation feasibility determination (provisional allocation) has been completed for all products. If j <n, a new product P (j + 1) is newly determined. Allocating to Q (s) and returning to the process of the optimal allocation determining means, and if j <n, proceeding to the process of the allocation changing means;
The allocation changing means compares the minimum value s min and s of s set in advance, and if s = s min , the result already stored as Ak is set as (temporary allocation result, and the result is ) If it is saved as allocation candidate data and s = s min is not satisfied, s = s-1 is set, and an allocation margin Slack is calculated in a state where the allocation of the product allocated immediately before is canceled, and this allocation margin Sack is the minimum When the length of the product P (n) is less than twice the length of the product P (n), j = n is set, and if it is determined that the allocation margin Slack is more than twice the length of the minimum product P (n), the allocation margin Slack Detecting the longest product that can be assigned together with P (n) to the next assignment object and returning to the processing of another product assignment means;
A temporary allocation trial means for repeatedly trying the storage process of the allocation candidate data for a plurality of materials;
When the allocation determination means compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data in the allocation data of the corresponding product according to the allocation quality determination criteria,
Repetitive allocation means step of regarding the remaining unallocated products as new allocation target products and repeating the allocation data acquisition process from the allocation candidate data storage process to the allocation determination means process; and
The final adjustment time determination means determines the final adjustment time for ending assignment for all products in the two assignment data acquisition processes including the current assignment data acquisition process during the repetition of the assignment data acquisition process by the repeat assignment means. A step of judging;
When the final adjustment means is determined to be the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared, and the material length used is minimized. A final adjustment process for adopting the allocation pattern as the allocation data of the corresponding product,
A material assembling method.
製品を割り付けるための材料をその長さの降順に配列した材料データを記憶し、割り付け対象となる製品P={P(1),P(2)・・・P(n)}をその長さの降順に配列した割り付け対象製品データを記憶し、演算処理中に前記材料に順次割り付けられている製品Q(1),Q(2)・・・Q(s)を示す情報を記憶する記憶手段と、
前記記憶手段から前記材料を一つ選択して、その材料に対して割付け可能な最も長い製品P(j)を必ず割付ける初期割り付け手段と、
前記製品P(j)を含み、当該製品P(j)よりも短い全ての製品P(j)〜P(n)の長さの合計を求め、その合計と前記材料の長さbとを比較し、前記材料の長さbが製品の長さの合計以上あるときは、P(j),・・・P(n)を最終割り付け結果としてAkに保存して処理を終了し、前記選択された材料に現在割り付けられているs個の製品の長さの合計LQと当該材料の長さbとが一致するかどうかを判断し、LQ=bなら、現在割り付けられている製品のリストQを当該材料に対する最適な割り付け結果Akとし、当該Ak(その結果)を割り付け候補データとして保存し前記選択された材料に対する割り付け候補データの保存処理を終了し、LQ=bでなければ、次の仮割り付け結果保存手段の処理に進む最適割り付け判定手段と、
前記材料に現在割り付けられている製品の長さの合計LQと、過去(これまで)に仮割り付けされた製品の長さの合計(製品長合計)の最大値Lmaxとを比較して、LQ>Lmaxならば、Lmax=LQとしてLmaxを今回の製品の長さの合計(製品長合計)LQに置き換え、現在割り付けられている(割り付けた)製品のリストQを仮の割り付け結果Akとして保存する、仮割り付け結果保存手段と、
Akに保存した割り付け結果に対して、割り付け余地Slack=b−LQを計算し、割り付け余地Slackを最小の製品P(n)の製品長と比較して、割り付け余地Slackが最小の製品P(n)の製品長に満たないときはj=nとし、割り付け余地Slackが最小の製品の製品長以上のときは、製品P(j)から順にP(n−1)まで、その製品長と割り付け余地Slackとを比較して、割り付け可能な最も長い製品を検出して、sを(s+1)にして次の別製品割り付け手段の処理に進む、余長判別手段と、
前記jとnとを比較して、全ての製品について割り付け可否判定(仮割り付け)が終了したかどうかを判断し、j<nならば、製品P(j+1)を新たにQ(s)に割り付けて、最適割り付け判定手段の処理に戻し、j<nでなければ、割り付け変更手段の処理に進む、別製品割り付け手段と、
予め設定されたsの最小値sminとsとを比較して、s=sminならば、既にAkとして(に)保存された結果を(仮割り付け結果とし、その結果を)割り付け候補データとして保存し、s=sminでなければ、s=s−1とし、直前に割り付けた製品の割り付けを取り消した状態での、割り付け余地Slackを計算し、この割り付け余地Slackが最小の製品P(n)の長さの2倍に満たないときはj=nにし、割り付け余地Slackが最小の製品P(n)の長さの2倍以上あると判断されると、割り付け余地SlackにP(n)と一緒に割り付けることができる最長の製品を検出して次の割り付け対象としてから別製品割り付け手段の処理に戻す割り付け変更手段と、
前記割り付け候補データの保存処理を、複数の材料について繰り返し試行させる仮割り付け試行手段と、
複数の材料について保存された前記割り付け候補データを比較して、割り付け良否判定基準に従って、いずれかの割り付け候補データを該当する製品の割り付けデータに採用する割り付け判定手段と、
残りの未割り付け製品を新たな割り付け対象製品とみなして、前記割り付け候補データの保存処理から前記割り付け判定手段の処理までの割り付けデータ取得処理を繰り返す、繰り返し割り付け手段と、
前記繰り返し割り付け手段による割り付けデータ取得処理の繰り返し中に、現在の割り付けデータ取得処理を含めて2回の割り付けデータ取得処理で全ての製品について割り付けを終了する最終調整時期を判断する最終調整時期判断手段と、
最終調整時期と判断されたとき、現在の割り付けデータ取得前における残りの未割り付け製品を任意の材料に割り付ける複数の割り付けパターン候補を取得して比較し、使用材料長が最小となる割り付けパターンを、該当する製品の割り付けデータに採用する最終調整処理を実行する最終調整手段と、
前記割り付けデータを使用して、前記材料を選択する材料選択供給装置と、当該材料に割り付けられた製品をプレカットする材料切断装置とを備えたことを特徴とするプレカット装置。
Material data in which materials for allocating products are arranged in descending order of their lengths is stored, and the product P = {P (1), P (2)... P (n)} to be allocated is the length. Storage means for storing the product data to be allocated arranged in descending order, and storing information indicating the products Q (1), Q (2)... Q (s) sequentially allocated to the material during the arithmetic processing. When,
Initial allocation means for selecting one of the materials from the storage means and for allocating the longest product P (j) that can be allocated to the material;
The total length of all products P (j) to P (n) including the product P (j) and shorter than the product P (j) is obtained, and the total is compared with the length b of the material. If the length b of the material is greater than or equal to the total length of the product, P (j),... P (n) are stored in Ak as the final allocation result, the process is terminated, and the selected It is determined whether the total length LQ of s products currently assigned to the selected material matches the length b of the material. If LQ = b, the list Q of currently assigned products is obtained. The optimal allocation result Ak for the material is set, the Ak (result thereof) is stored as allocation candidate data, the allocation candidate data storage process for the selected material is terminated, and if LQ = b, the next temporary allocation is performed. Optimal allocation judgment procedure to proceed to result storage means And,
The total length LQ of the products currently assigned to the material is compared with the maximum value L max of the total length of products (total product length) temporarily assigned so far (the total product length). If> L max , L max = LQ and L max is replaced with the total length of the current product (total product length) LQ, and the list Q of currently assigned (allocated) products is the provisional allocation result Ak. As a temporary allocation result storage means,
For the allocation result stored in Ak, the allocation margin Slack = b−LQ is calculated, and the allocation margin Sack is compared with the product length of the smallest product P (n), and the product P (n having the smallest allocation margin Sack is obtained. ) J = n when the product length is less than the product length, and when the allocation space Slack is equal to or greater than the product length of the smallest product, the product length and the allocation space from the product P (j) to P (n-1) in order. A surplus length discriminating means that compares the Slack and detects the longest assignable product, sets s to (s + 1), and proceeds to the processing of another product assigning means;
The above j and n are compared to determine whether or not the allocation possibility determination (temporary allocation) has been completed for all products. If j <n, the product P (j + 1) is newly allocated to Q (s). Return to the process of the optimal allocation determination means, and if j <n, proceed to the process of the allocation change means, another product allocation means,
By comparing the minimum value s min and s of s set in advance, and s = s min , the result that has already been stored as Ak is set as a temporary allocation result (the result is set as allocation candidate data). If it is not s = s min , s = s−1 is set, the allocation margin Slack is calculated in the state in which the allocation of the product allocated immediately before is canceled, and the product P (n having the smallest allocation margin Sack is calculated. ) Is less than twice the length of j), j is set to n, and if it is determined that the allocation margin Slack is at least twice the length of the smallest product P (n), P (n) is assigned to the allocation margin Sack. An allocation changing unit that detects the longest product that can be allocated together with the item and assigns it to the next allocation target and returns to the processing of another product allocation unit;
Temporary allocation trial means for allowing the allocation candidate data to be stored repeatedly for a plurality of materials;
An allocation determination means that compares the allocation candidate data stored for a plurality of materials and adopts any allocation candidate data for allocation data of the corresponding product according to the allocation quality determination criteria;
Repetitively allocating means that regards the remaining unallocated products as new allocation target products and repeats the allocation data acquisition process from the allocation candidate data storage process to the allocation determination unit process;
Final adjustment time determination means for determining the final adjustment time for ending allocation for all products in two allocation data acquisition processes including the current allocation data acquisition process during repetition of the allocation data acquisition process by the repetitive allocation means When,
When it is determined that it is the final adjustment time, a plurality of allocation pattern candidates that allocate the remaining unallocated products before acquisition of the current allocation data to any material are acquired and compared. A final adjustment means for executing a final adjustment process to be applied to the allocation data of the corresponding product;
A precut device comprising: a material selection supply device that selects the material using the allocation data; and a material cutting device that precuts a product allocated to the material.
JP2008122840A 2007-12-14 2008-05-09 Material assortment system Expired - Fee Related JP4467015B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008122840A JP4467015B2 (en) 2007-12-14 2008-05-09 Material assortment system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007323413 2007-12-14
JP2008122840A JP4467015B2 (en) 2007-12-14 2008-05-09 Material assortment system

Publications (2)

Publication Number Publication Date
JP2009163702A JP2009163702A (en) 2009-07-23
JP4467015B2 true JP4467015B2 (en) 2010-05-26

Family

ID=40966209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008122840A Expired - Fee Related JP4467015B2 (en) 2007-12-14 2008-05-09 Material assortment system

Country Status (1)

Country Link
JP (1) JP4467015B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5573775B2 (en) * 2011-05-27 2014-08-20 新日鐵住金株式会社 Assortment planning device, assortment planning method and computer program

Also Published As

Publication number Publication date
JP2009163702A (en) 2009-07-23

Similar Documents

Publication Publication Date Title
De Reyck et al. The multi-mode resource-constrained project scheduling problem with generalized precedence relations
CN108027889A (en) A training and scheduling method and related equipment for incremental learning cloud system
JP3890045B2 (en) Improved EDF scheduling method
JP2017520068A5 (en)
JP5022361B2 (en) RNA secondary structure prediction apparatus, prediction method, program, and recording medium
CN120743558B (en) Inference service resource allocation method, electronic device and readable storage medium
WO2004104886A1 (en) Multi-campaign assignment apparatus considering overlapping recommendation problem
JP4467015B2 (en) Material assortment system
JP2013003617A (en) Member assignment system
JP4993498B2 (en) Material assortment system
KR20240003201A (en) Scheduling method and apparatus for producing plan
CN113849295B (en) Model training method, device and computer readable storage medium
JP2009098924A (en) Material assignment system
CN110780922B (en) Instruction generation method and device, electronic equipment and storage medium
US20070134705A1 (en) Method and apparatus for predicting regulation of multiple transcription factors
Gerhards et al. An adaptive large neighbourhood search as a matheuristic for the multi-mode resource-constrained project scheduling problem
JP6753521B2 (en) Computational resource management equipment, computational resource management methods, and programs
JP7768393B2 (en) Data processing device, method and program
JP6540107B2 (en) Parallel computing device, parallel computing system, and job control program
US20060294073A1 (en) Constrained exploration for search algorithms
JP2011100303A (en) Stock combining system
JP2011028612A (en) Material combination system
JP6724631B2 (en) Information processing device and program
Tereso et al. A computer application for scheduling in MS Project
US20250094215A1 (en) Method for optimizing a process

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100118

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100120

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100218

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130305

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160305

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees