linxens model development v 1 3

12
Data model development for addressing problem of Linxens - removing reels with Punches 1. Input from Customer (Essentially columns A-M in the step sheet, to see from Row 16 Onwards – no. of rows could be varying for different items) CSV file for tracks in our example 2. Variables and Constant definitions for the optimization problem (i) Number of Punches in a meter – These will be constants for our problem. Track A – a 1 , a 2 , a 3 , a 4 …., a n where n is the number of meters (in this case 275) [In our attached excel file these are values in the cell B17:B291 ; ie a 1 = 32, a 2 = 8, a 3 = 6 etc] Track B - b 1 , b 2 , b 3 , b 4 …., b n [In our attached excel file these are values in the cell C17:C291 ; ie b 1 = 7, b 2 = 11, b 3 = 6 etc] Track C - c 1 , c 2 , c 3 , c 4 …., c n [In our attached excel file these are values in the cell D17:D291 ; ie c 1 = 22,c 2 = 18, c 3 = 14 etc] Track D - d 1 , d 2 , d 3 , d 4 …., d n [In our attached excel file these are values in the cell E17:E291 ; ie d 1 = 25,d 2 = 11, d 3 = 6 etc] (ii) Flag to identify if a particular meter must be removed for a track This is the set of variables to be observed by us Track A – w 1 , w 2 , w 3 , w 4 …., w n where n is the number of meters (in this case 275) Status: Draft Page:1 of 8

Upload: jith-ananth

Post on 17-Sep-2015

215 views

Category:

Documents


0 download

DESCRIPTION

it helps a lot to deal with linux and all.itdkwkdbkdbwekd bewkffewfdnc dskn cdk dwfbkhfbdkfbdb k dkhbf kdbewkhdbewhkd .

TRANSCRIPT

Data model development for addressing problem of Linxens - removing reels with Punches

1. Input from Customer (Essentially columns A-M in the step sheet, to see from Row 16 Onwards no. of rows could be varying for different items)

CSV file for tracks in our example

2. Variables and Constant definitions for the optimization problem(i) Number of Punches in a meter These will be constants for our problem.Track A a1, a2, a3, a4., an where n is the number of meters (in this case 275) [In our attached excel file these are values in the cell B17:B291 ; ie a1 = 32, a2 = 8, a3 = 6 etc]Track B - b1, b2, b3, b4., bn [In our attached excel file these are values in the cell C17:C291 ; ie b1 = 7, b2 = 11, b3 = 6 etc]

Track C - c1, c2, c3, c4., cn [In our attached excel file these are values in the cell D17:D291 ; ie c1 = 22,c2 = 18, c3 = 14 etc]

Track D - d1, d2, d3, d4., dn [In our attached excel file these are values in the cell E17:E291 ; ie d1 = 25,d2 = 11, d3 = 6 etc]

(ii) Flag to identify if a particular meter must be removed for a track

This is the set of variables to be observed by usTrack A w1, w2, w3, w4., wn where n is the number of meters (in this case 275) Track B - x1, x2, x3, x4., xn Track C - y1, y2, y3, y4., yn Track D - z1, z2, z3, z4., zn

[New variables / Constants added on 19-Dec-2014]

(iii) Flag to identify if there is an existing Splice in a particular meter (sort of joint/separator because of a prior cut) in a trackTrack A sw1, sw2, sw3, sw4,, swn where n is the number of meters (in this case 275)Track B sx1, sx2, sx3, sx4,.,sxn Track C sy1, sy2, sy3, sy4,synTrack D sz1, sz2, sz3, sz4,szn

If sw1 = 1 it means there is a splice in the first meter of Track A.

(iv) e Error % that is threshold for each track (we assume the threshold is common for all tracks) Depends on the item being produced (could be 2% or 5%)Comment by Sundaresan, Narayanan: Changed from 2% to item based after discussion with client on 19-Dec-2014(v) c Factor input for no. of connectors per 1 meter length (140.35 in our example)(vi) Ms Maximum number of splices allowed in a track (For example if 10 is the maximum number of splices allowed and if 3 is the existing splices in those meters that will not be removed, we should ensure that the track should have no more than 7 new cuts (because every cut will result in a splice))Comment by Sundaresan, Narayanan: Added after discussion with client on 19-Dec-2014(vii) Ming Minimum number of good quantities required in a track after removal of bad meters.(viii) Maxg Maximum number of good quantities required in a track after removal of bad meters.

3. Arunan will work out the first level of removal using specific logic based on columns F to M . He will help us have some values of w, x, y and z (This is columns NQ in the attached excel sheet)In our case, for example , w152=1=w265=w266=w268=w270=w271=w272=w273=w274x32=1=x120=x268=x270=x271=x272=x273=x274y269=1=y270=y272=y273=y274=y275z264=1=z266=z268=z270=z271=z273=z275) 4. Arunan will also give us the first level splice inputs for Track A, B, C and D respectively.Comment by Sundaresan, Narayanan: Added after discussion with client on 19-Dec-2014

5. Below is the first modelling of our function [I reviewed this and in general this should help us solve the problem for the first few iterations ie without moving pieces from Track A to Track B and so on]

We will create problems by each Track and solve them separately I have given below for Track A.

Objective Function(s) [Maximize the number of defective punches to be removed] nMax. PRa = aiwi = a1w1 + a2w2 + ... + anwn i = 1PRa = Punch Removed in A nComment by Sundaresan, Narayanan: To check if this has to be changed to a Maximize objective with a different variable instead of a minimize objective. We can use Good quantity as the variable and use objective function as maximize good quantityMin. LRa = wi = w1 + w2 + ... + wn i = 1[Minimize the length being removed as length has also got good quantity besides punches]

LRa = Length Removed in A

Subject to Constraints(1) 2 wi - wi-1 - wi+1 > -2 for all i = 2n-1 [This will remove the condition where wi is in between 2 punches to be removed ie wi-1 = wi+1 ie; ie resulting in a sequence like 1-0-1] [The requirement is that there should be a min. of 2 meters continuous retained meter not removed, we can have 1-0-0-1 but not 1-1-0-1 for example](2) (a1(1-w1)+ a2(1-w2)+ ... + an(1-wn))/((n-( w1 + w2 + ... + wn)*c) OKQuantity of splices => OKMeters mandatory to be removed => OKLength with minimal splice distance removed => OKDefect rate => NOK for A, B and CQuantity of good parts => OKQuantity of splices => OKBelow, the count of punch it should be necessary to remove in order to reach the "max 2% defect rate"TrackABCDABCDABCDinitial defect rate4.27%4.85%8.30%4.07%new defect rate2.79%3.55%6.97%2.70%2.47%3.28%6.68%1.78%new punch count1042132926301015912122025126581744761760-80new total length266267269268263265268263new good quantity3629136144351243659936176365423692436000new splice count54262211

Length removed98673215initial sum of punch1648187132021570punch removed606542572555130109118357

1 - Lenght must be removed (Spunch)2 - Remove length with splice distance =< 3mmeter removed at this stepMeterABCDNGQSPunchSpliceDistSpliceTHBShiftRedSSlitting1327222500000000000000000000000000000000281118110000000000000000000000000000000036614600000000000000000000000000000000451104000000000000000000000000000000005331110000000000000000000000000000000061384000000000000000000000000000000007551280000000000000000000000000000000081260000000000000000000000000000000009731030000000000000000000000000000000010331210000000000000000000000000000000011258100000000000000000000000000000000120109200000000000000000000000000000000132382000000000000000000000000000000001411010100000000000000000000000000000000154514300000000000000000000000000000000161684000000000000000000000000000000001712830000000000000000000000000000000018221510000000000000000000000000000000019111120000000000000000000000000000000020031210000000000000000000000000000000021121000000000000000000000000000000000022506300000000000000000000000000000000231655000000000000000000000000000000002422113000000000000000000000000000000002553410000000000000000000000000000000026148200000000000000000000000000000000270110200000000000000000000000000000000281781000000000000000000000000000000002912143000000000000000000000000000000003022520000000000000000000000000000000031234020230000000000001111000000000000000032545500000100000000000000000000000000113334610000000000000000000000000000000034001100000000000000000000000000000000035741010000000000000000000000000000000036348000000000000000001000000000000000372711300000000000000000000000000000000382263000000000000000000000000000000003913101000000000000000000000000000000004041111000000000000000000000000000000004114810000000000000000000000000000000042461410000000000000000000000000000000043121230000000000000000000000000000000044651510000000000000000000000000000000045437100000000000000000000000000000000460482000000000000000000000000000000004751192000000000000000000000000000000004805122000000000000000000000000000000004925131000000000000000000000000000000005034104000000000000000000000000000000005122820000000000000000000000000000000052211220000000000000000000000000000000053251310000000000000000000000000000000054141120000000000000000000000000000000055121020000000000000000000000000000000056121120000000000000000000000000000000057027600000000000000000000000000000000582514400000000000000000000000000000000591410400000000000000000000000000000000602470000000000000000000000000000000006123720000000000000000000000000000000062255000000000000000000000000000000000633681000000000000000000000000000000006412900000000000000000000000000000000065331020000000000000000000000000000000066321110000000000000000000000000000000067222100000000000000000000000000000000680413000000000000000000000000000000000693615200000000000000000000000000000000701212400000000000000000000000000000000712515400000000000000000000000000000000720470000000000000000000000000000000007312101000000000000000000000000000000007436810000000000000000000000000000000075556300000000000000000000000000000000766411100000000000000000000000000000000773395000000000000000000000000000000007826102000000000000000000000000000000007933141000000000000000000000000000000008035124000000000000000000000000000000008123102000000000000000000000000000000008205810000000000000000000000000000000083437300000000000000000000000000000000841410200000000000000000000000000000000852351000000000000000000000000000000008613910000000000000000000000000000000087281430000000000000000000000000000000088351110000000000000000000000000000000089356100000000000000000000000000000000903173000000000000000000000000000000009101820000000000000000000000000000000092011340000000000000000000000000000000093331220000000000000000000000000000000094431030000000000000000000000000000000095125100000000000000000000000000000000961234000000000000000000000000000000009711210000000000000000000000000000000098251120000000000000000000000000000000099531340000000000000000000000000000000010032112000000000000000000000000000000001011211500000000000000000000000000000000102011320000000000000000000000000000000010304840000000000000000000000000000000010422830000000000000000000000000000000010521640000000000000000000000000000000010641101000000000000000000000000000000001072313200000000000000000000000000000000108359200000000000000000000000000000000109261140000000000000000000000000000000011033162000000000000000000000000000000001112440000000000000000000000000000000001122210100000000000000000000000000000000113111220000000000000000000000000000000011414700000000000000000000000000000000011522440000000000000000000000000000000011682028500000000000000000000000000000000117414126000000000000000000000000000000001182212400000000000000000000000000000000119272919200000000000000000100000000000000120721810000010000000000000000000000000011121957000000000000000000000000000000000122017400000000000000000000000000000000123221220000000000000000000000000000000012421530000000000000000000000000000000012544910000000000000000000000000000000012613410000000000000000000000000000000012731133000000000000000000000000000000001281211100000000000000000000000000000000129027200000000000000000000000000000000130221100000000000000000000000000000000013121560000000000000000000000000000000013225101000000000000000000000000000000001332861000000000000000000000000000000001342191000000000000000000000000000000001352252000000000000000000000000000000001361510200000000000000000001000000000000137206200000000000000000000000000000000138527200000000000000000000000000000000139238100000000000000000000000000000000140035200000000000000000000000000000000141233000000000000000000000000000000000142347400000000000000000000000000000000143571120000000000000000000000000000000014403920000000000000000000000000000000014512101000000000000000000000000000000001462180000000000000000000000000000000001472392000000000000000000000000000000001483594000000000000000000000000000000001495332000000000000000000000000000000001502262000000000000000000000000000000001511710200000000000000000000000000000000152175112000010000000000000000000000000001115326320000000000000000000000000000000015423920000000000000000000000000000000015520210000000000000000000000000000000015662830000000000000000000000000000000015751920000000000000000000000000000000015841330000000000000000000000000000000015945103000000000000000000000000000000001602443000000000000000000000000000000001614592000000000000000000000000000000001623254000000000000000000000000000000001634420000000000000000000000000000000001645361000000000000000000000000000000001652243000000000000000000000000000000001661160000000000000000000000000000000001671652000000000000000000000000000000001685140000000000000000000000000000000001695351000000000000000000000000000000001702333000000000000000000000000000000001712112200000000000000000000000000000000172226200000000000000000000000000000000173211020000000000000000000000000000000017431910000000000000000000000000000000017522600000000000000000000000000000000017614520000000000000000000000000000000017740720000000000000000000000000000000017810610000000000000000000000000000000017902420000000000000000000000000000000018025710000000000000000000000000000000018121720000000000000000000000000000000018234410000000000000000000000000000000018312620000000000000000000000000000000018411101000000000000000000000000000000001852134000000000000000000000000000000001861563000000000000000000000000000000001874251000000000000000000000000000000001883454000000000000000000000000000000001892572000000000000000000000000000000001902250000000000000000000000000000000001914111100000000000000000000000000000000192406100000000000000000000000000000000193328200000000000000000000000000000000194513100000000000000000000000000000000195546300000000000000000000000000000000196052100000000000000000000000000000000197313300000000000000000000000000000000198435300000000000000000000000000000000199437200000000000000000000000000000000200038100000000000000000000000000000000201423000000000000000000000000000000000202141020000000000000000000000000000000020335520000000000000000000000000000000020433380000000000000000000000000000000020543310000000000000000000000000000000020643530000000000000000000000000000000020715600000000000000000000000000000000020813930000000000000000000000000000000020913410000000000000000000000000000000021011410000000000000000000000000000000021142640000000000000000000000000000000021221900000000000000000000000000000000021361310000000000000000000000000000000021435610000000000000000000000000000000021533410000000000000000000000000000000021662133000000000000000000000000000000002173271000000000000000000000000000000002182253000000000000000000000000000000002195716400000000000000000000000000000000220437200000000000000000000000000000000221213100000000000000000000000000000000222266300000000000000000000000000000000223354200000000000000000000000000000000224116100000000000000000000000000000000225396300000000000000000000000000000000226329400000000000000000000000000000000227617100000000000000000000000000000000228314400000000000000000000000000000000229726100000000000000000000000000000000230307200000000000000000000000000000000231109200000000000000000000000000000000232447100000000000000000000000000000000233244100000000000000000000000000000000234313100000000000000000000000000000000235339100000000000000000000000000000000236231040000000000000000000000000000000023743630000000000000000000000000000000023831510000000000000000000000000000000023943320000000000000000000000000000000024013610000000000000000000000000000000024131800000000000000000000000000000000024224610000000000000000000000000000000024322920000000000000000000000000000000024412610000000000000000000000000000000024541540000000000000000000000000000000024604111000000000000000000000000000000002471452000000000000000000000000000000002482470000000000000000000000000000000002490351000000000000000000000000000000002500372000000000000000000000000000000002510151000000000000000000000000000000002527863000000000000000000000000000000002531453000000000000000000000000000000002543463000000000000000000000000000000002551554000000000000000000000000000000002562052000000000000000000000000000000002571242000000000000000000000000000000002583114100000000000000000000000000000000259427400000000000000000000000000000000260291415120000000000000000000000000000000026139131713000000000000000000000000000000002622534181600000000000000000000000000000000263402715340000000000000000000000000000000026462445473000000010000000000000000000000001126538394979000010000000000000000000000000001111266645351100000010010000000000000000000000001111267539884680000000000000000000000000000000011112687473807000001101000000000000000000000000111111269617011687000000100000000000000000000000001111111127079761036800001111000000000000000000000000111111112718796118100000011010000000000000000000000001111111127211610610360000011100000000000000000000000001111111127386102117660000111100000000000000000000000011111111274458370630000111000000000000000000000000011111111275163963780000001100000000000000000000000011111111

Feuil3