LECTURE NOTE III Chapter 4 Linear Programming

Size: px
Start display at page:

Download "LECTURE NOTE III Chapter 4 Linear Programming"

Transcription

1 Department of Chemcal and Bologcal Engneerng LECURE NOE III Chapter 4 Lnear Programmng Ref: Luenberger, D. G., "Lnear and Nonlnear Programmng,: 2nd Ed., Addson-Wesley, Obectve functon and constrants are lnear. - Feasble regon: the regon that satsfes all constrans - Unque optmal soluton vs. alternatve (or multple) optmal soluton - Unbounded optmum: nfnte obectve functon value (± ) due to nsuffcent constrants - An optmal soluton to LP, f t ests, wll be on one of the vertces generated by constrants Eample: Let 1 and 2 denote the number of grade-1 and grade-2 nspectors assgned to nspecton. he grade-1 nspector can nspect 2 peces wth error rate of 2% and 12 peces wth error rate of 5% for grade-2 nspector, daly. he hourly wages are $4 and $3 for grade-1 and grade-2, respectvely. he erroneous nspecton costs $2 for each pece. Snce the number of avalable nspectors n each grade s lmted, we have followng constrants: 1 8 (grade-1) and 2 1 (grade-2) he company requres at least 18 peces be nspected daly. Formulate the problem to mnmze the cost for the company. <Soluton> otal cost for company (obectve functon): Z ($4 / hr8 hr $2 / ea2ea.2) 1 ($3/ hr 8 hr $2 / ea 12ea.5) Constrans: 1 8, 2 1, , 2 Graphcal nterpretaton: feasble regon: shaded area (satsfyng all constrants) optmum pont: at pont A, (8, 1.6), the obectve functon Z has the mnmum of optmum soluton: 1 =8, 2 =1.6 (one of grade-2 nspector s utlzed only 6%) (If not possble choose 2 =2.) I. Basc Propertes 1. Standard form: mn( c c c ) subect to n a111 a12 2 a1 nn b1 a211 a222 a2nn b2 a a a b n m1 1 m2 2 mn n m and 1, 2,, n. III-1

2 A. subect Department of Chemcal and Bologcal Engneerng Or n vector-matr form, mn c to A = b and (Wthout loss of generalty, let b ) where the coeffcent matr A s mn, the decson vector s n1, the cost (proft) vector c s n1, and the requrement vector b s m1. (n optmzaton varables and m constrants wth scalar obectve functon) Converson to the standard form for the dfferent types of constrants <E. 1> A b A s b and s (s : "slack varable") <E. 2> A b A s b and s cf) (s : "surplus varable") If slack or surplus varable s, the nequalty constrant s actve, and f they are postve, then the constrant s bndng. <E. 3> u-v u and v (replace s wth u - v) <E. 4> Mamzaton of Z s equvalent to mnmzaton of (-Z). <E. 5> ma( ) mn( ) subect to subect to and 1, 2. and ( 1,2,4,5,6,7) 2. Basc Feasble Soluton - A = b (constrants) m n Let A n m,, and b. n varables wth m equatons: (n-m) degrees of freedom (n>m) Full rank assumpton: m rows of A are lnearly ndependent. cf) f n=m, unque soluton ests f rank(a)=m. f n<m, t s a over-determned system and there s no soluton f rank(a)>n. f n>m, t s a under-determned system and there are many solutons. (select the optmal among many solutons) III-2

3 B. mn C. subect Department of Chemcal and Bologcal Engneerng - Let A = [B N] and = [ 1 2 ] where B s mm, N s m(n-m), 1 s m1, and 2 s (n-m)1. A = B 1 + N 2 = b - Only m varables can be fed and others can have any values to satsfy the m-constrants. By lettng 2 = and rearrange the varable ndces so that the frst m varables s B, -1 1 B b B (Basc varable) (Nonbasc varable) 2 N B (Basc soluton) If B, = [ B ] s the basc feasble soluton. If some of the elements of B are zero, = [ B ] s the degenerate basc feasble soluton. 3. he Fundamental heorem of LP c to A = b and mn Assume rank A m, ) f there s a feasble soluton, there s a basc feasble soluton; ) f there s an optmal feasble soluton, there s an optmal basc feasble soluton. It s suffcent to search only over the basc feasble solutons! n n! No. of basc feasble solutons (some are not feasble) m ( n m)! 4. Geometrc Meanng of Basc Feasble Solutons <E. 1> = 1 (m=1) 1, 2, 3 1 B, or 1, or 1 <E. 2> = = 1 (m=2) 1, 2, 3 B 1/2, or 1/3 1/2 2/3 Soluton can be found among basc feasble solutons (vertces). Etreme ponts of the conve polyhedron Etreme ponts of the conve polyhedron { A = b} Lnear varety, Affne space (Not a lnear space have not orgn) { A = b, } Conve polytope (has etreme ponts) III-3

4 Department of Chemcal and Bologcal Engneerng Etreme pont : A pont n a conve set C s sad to be an etreme pont of C f there are no two dstnct pont 1 and 2 n C such that 1(1 ) 2 for some 1. heorem (Equvalence of etreme ponts and basc solutons): Let A be an mn matr of rank m and b an m-vector. Let K be the conve polytope consstng of all n-vector satsfyng A = b,. A vector s an etreme pont of K f and only f s a basc feasble soluton of A = b,. Corollary 1: If the conve set K correspondng to A = b, s nonempty, t has at least one etreme pont. Corollary 2: If there s a fnte optmal soluton to a lnear programmng problem, there s a fnte soluton whch s an etreme pont of the constrant set. Corollary 3: he constrant set K correspondng to A = b, possesses at most a fnte number of etreme ponts. Corollary 4: If the conve polytope K correspondng to A = b, s bounded, then K s a conve polyhedron, that s, K conssts of ponts that are conve combnatons of a fnte number of ponts. 5. Searchng the Basc Soluton, Pvot Operaton Elementary row operaton : Add the constant multple of a row to another row (Does not alter the soluton of the lnear system equaton) 1 d1 1 Let E1 (mm matr) 1 1 E 1 A = E 1 b Addton of d 1 tmes of the -th row to the frst row Pvot operaton : Reduce the coeffcent of a specfc varable to unty n on of the equaton and zero elsewhere. Let E = E 1 E 2 E 3 E m whch wll perform a pvot operaton and conssts of m-elementary row operatons where 1 a1 q / apq 1 a2q / apq E (mm matr) 1/ apq amq / apq 1 hen EA = Eb wll have a form that s pvoted by the pq-element. By m-pvot operatons (or by Gauss-Jordan elmnaton) for A = b a11 a12 a 1 1n 1 b1 y1, m1 y1 n 1 y1 a 1 21 a22 a 2n 2 b y 2 2, m 1 y 2n 2 y 2 a 1 y m1 am2 amn n bm mm, 1 ymnn ym Row Echelon Form, or Canoncal Form III-4

5 Department of Chemcal and Bologcal Engneerng Set m+1 = m+2 = = n =. hen 1 = y 1, 2 = y 2, m = y m, y y B 1 m (A basc Soluton) Alternatvely, a11 a12 a , n b y m yn 1 y 1 a21 a22 a y , m 1 y2n 1 n b 2 y 2 a y 1 2 mm, 1 ymn 1 m am amn n b m n y m Set 1 = 2 = = n-m =. hen m +1 = y' 1, m +2 = y' 2, n = y' m, y y B 1 m (An alternatve basc soluton) he ERO's are appled to both matr A and vector b. herefore, apply ERO's for the followng augmented matr. a11 a12 a1 n b1 a21 a22 a2n b 2 am1 am2 amn bm 6. Fndng a Mnmum Feasble Soluton Whle Preservng Feasblty Adacent basc feasble soluton: It s a basc feasble soluton whch dffers from the present basc feasble soluton n eactly one basc varable. (Adacent verte or etreme pont whch has dfferent obectve functon value could be better or worse) Select the better basc feasble soluton (among m(n-m) solutons at most) (If no adacent basc feasble soluton s better than the present, optmal!) Echange one varable n the basc varable set and on n nonbasc varable set n a way that the obectve functon value s mproved. Once the varable to echange s selected (p-th varable n the basc and q-th n the nonbasc), pvot by pq-th element! Row echelon form I B + B -1 N N = B -1 b (where B = B -1 b B -1 N N and N = ) B -1 N B B -1 b a11 a12 a 1 1n 1 b1 y1, m1 y1 n 1 y1 a 1 21 a22 a 2n 2 b y 2 2, m 1 y 2n 2 y 2 a 1 y m1 am2 amn n bm mm, 1 ymnn ym Obectve functon J = c B B + c N N = c B B N Assume q from nonbasc varables s changed from to 1: Impact of q on obectve B = B -1 b B -1 N N = B -1 b d q q = B -1 b d q, ( q = 1) where d q s q-th column of B -1 N. J' = c B (B -1 b d q ) + c N N = c B (B -1 b d q ) + c q III-5

6 Department of Chemcal and Bologcal Engneerng Improvement on obectve by ncludng q n the basc (Inner product rule) ΔJ =J' J = [c B (B -1 b - d q ) + c q ] c B B -1 b = c q c B d q c c cd q q B q relatve cost (or proft) of the nonbasc varable q should be negatve for mprovement n mnmzaton problem should be postve for mprovement n mamzaton problem For mnmzaton, consder a new basc varable whch has the most mprovement on obectve functon. Condton for optmalty (Mnmzaton) c q ( qm1,, n) q (A local mnmum s the global mnmum snce t s LP.) Determnng varable to enter bass (mn.): Choose q so that c mn c q Selecton of the leavng element from the basc varable set o acheve the greatest mprovement on obectve, the q should ncrease the obectve functon as much as possble, but B cannot be nonpostve n more than one element. Increase q untl any one of elements n B becomes zero ( p = ). y B N y y m 1 q q q ( 1, ) q - If y q s not postve, becomes more postve as q ncreases. (cannot be nonbasc) - Choose p so that the mamum ncrease n q wthout makng more than one basc varable nonpostve. Determnng varable to leave bass (mn.): Choose p so that (y / y q ) s smallest among y q > for = 1,, m. (Mnmum rato rule) Geometrcal Interpretaton of the basc feasble soluton A = b a a a Choose a a 1 2 n 1 2 m b b 2 b n m a as the bass so that 1 a a a b B 1 2 ( B > ) m Assume m=2 and n=4. A feasble soluton defnes a representaton of b as a postve combnaton of a 's. In ths eample, {a 1, a 3 }, {a 2, a 4 } and {a 3, a 4 } cannot result n basc feasble soluton. a 3 a 1 a 4 a 2 b III-6

7 Department of Chemcal and Bologcal Engneerng II. SIMPLEX MEHOD Standard LP problem can be wrtten as: mn Z c c B B N N B N b, B Subect to B N and N If B s the bass for a basc feasble soluton ( B = B -1 b>, N = ), B = B -1 b B -1 N N Z = c B B + c N N = c B (B -1 b B -1 N N ) + c N N = c B B -1 b + (c N c B B -1 N ) N = c B B -1 b + r N 1. Matr Form of smple method (ableau form) Obectve functon value 1 1 A b B N b I B N B b 1 1 (by ERO) c cb cn cn cbb N cbb b relatve (reduced) cost coeff. <Procedure> 1. Select m-ntal basc varables. 2. Convert the tableau nto the row echelon form by ERO's. 3. Choose a column whch has the largest negatve value of the reduced cost coeffcent (Select q). 4. Choose a pvot element n the q-th column by the mnmum rato rule. 5. Include q as a basc varable and p becomes a nonbasc varable. 6. Repeat the step 2-6 untl all the reduced costs are postve (Mnmzaton problem) Mamzaton problem 1. Replace Z wth Z. 2. Or, choose largest postve value of the relatve proft coeffcent n step 3 and repeat the procedure untl all the reduced costs are negatve. Alternatve Optma: If the reduced costs for nonbasc varables are not postve at the optmal soluton, ths ndcates the alternatve solutons whch wll not change the optmum value. Unbounded Optmum: If the mnmum rato rule cannot be determned (all negatve), ths ndcate the unbounded optmum. Degeneracy: If a basc feasble soluton contans zeros for one or more basc varables, ths ndcates the degenerate basc feasble soluton. It occurs f two or more rows te for the mnmum rato, or one or more elements of the rght-hand sde n the constrants (b s) n orgnal LP problem are zero. Perturb the pvot entry n the requrement vector (b) by a small amount ( ), then proceed as normal. Cyclng: If the degeneracy occurs (no mprovement wth new basc varable), no mprovement n the obectve functon s acheved for a whle. (Reducng calculaton effcency) If the teraton goes on ndefntely wthout mprovng the obectve functon value, t s called classcal cyclng or cyclng. It s not lkely n practce, but computer cyclng may occur! III-7

8 Department of Chemcal and Bologcal Engneerng Eample: ma Z subect to ( 1,2,3) Introducng three nonnegatve slack varables, the ntal tableau a 1 a 2 a 3 a 4 a 5 a 6 b a /a / / /2 r Select pvot element as 1 st column and 1 st row and perform ERO s. a 1 a 2 a 3 a 4 a 5 a 6 b a /a 1 1/2 1/2 1/ /2 5/2-1/ / bg r 1/2-3/2 3/2 3 Select pvot element as 3 rd column and 2 nd row and perform ERO s. a 1 a 2 a 3 a 4 a 5 a 6 b a /a 1 1/5 2/5-1/5 1/5 3/5 1-1/5 1/5 8/ r 11/1 6/5 3/1 27/5 All the relatve costs are postve: Optmal soluton s obtaned. 1 =1/5, 3 =8/5, 2 =, 4 =, 5 =, 6 =4, and Z= 27/5. III. WO-PHASE SIMPLEX MEHOD - o start the smple method, an ntal feasble soluton n canoncal form s needed. - Generally, the constrants are not gven n the canoncal form. Need to solve the lnear equaton to fnd a basc feasble soluton 1. Artfcal Varable If basc varables are not readly avalable from each constrant, add new artfcal varable for each constrants to form a basc soluton. <Eample> mn Z = s. t = 1, 1, 2, 3 o standard form (wth slack/surplus varable) = = = 1, 1 ~ 5 4 can be a basc varable. Need two more basc varables! Add 2 artfcal varables ( 6, 7 ) III-8

9 Department of Chemcal and Bologcal Engneerng = = = 1, 1 ~ 7 Basc feasble soluton : 4 =11, 6 = 3, 7 = 1, 1 ~ 3, 5 = (It s not feasble to orgnal problem snce 6 and 7 are not zero.) Need to make 6 and 7 zero ASAP for the feasble soluton to orgnal problem!! 2. wo-phase Smple Method <Phase I> o remove all the artfcal varables, set an artfcal obectve functon. mn w = s. t = = = 1, 1 ~ 7 If w becomes zero by smple method ( 6 = and 7 = ), then the soluton s a basc feasble soluton of the orgnal problem. If not, the orgnal problem s nfeasble. Start the ntal tableau calculatng reduced costs by makng the reduced costs for artfcal varables zero. <Phase II> Fnd the optmum of the orgnal problem wth the soluton from the Phase I wthout any artfcal varables. 3. Varables Wth Upper Bounds mn c Subect to A = b and h <Method 1> Change the problem to standard form mn c Subect to A = b, y =hand, y - he sze of coeffcent matr s changed from mn to (m+n)2n. - hs transformaton requres more memory and computaton tme. <Method 2> Defnton: An etended basc feasble soluton correspondng to the problem for the varables wth upper bounds s a feasble soluton for whch (n-m) varables are equal to ether ther lower (zero) or ther upper bound; and the remanng m basc varables correspond to lnearly ndependent column of A. - If there s no etended basc feasble soluton wth m basc varables, then the constrants are too tght and there s no soluton. - Assume that every etended basc feasble soluton s nondegenerate. - A varable at ts lower bound can only be ncreased, and an ncrease wll be benefcal f the correspondng relatve cost coeffcent s negatve. - A varable at ts upper bound can only be decreased, and the decrease wll be benefcal f the correspondng relatve cost coeffcent s postve. - heorem (Upper bound optmalty): An etended basc feasble soluton s optmal for the upper bound problem f for the nonbasc varables r f r f h III-9

10 Department of Chemcal and Bologcal Engneerng h - Defne new varables, (prevously was at lower bound) and (prevously was at upper bound). - Etended tableau 1 y1, m1 y1 n y1 1 y2, m1 y2n y2 1 ymm, 1 ymn ym rm 1 rn Z e e e e e 1 2 m m1 n - he e s ether + or dependng on the current soluton, - Strategy: or. e 1. Determne a nonbasc varable for whch r <. If no such varable ests, stop; the current soluton s optmal. (-th column s selected for basc) 2. Based on the three numbers, a) h, b) mn y / y, c) mn( y h) / y, y, y, follow the update strategy accordng to whch number s smallest. Case a) he varable goes to ts opposte bound: Subtract h tmes column from last column and change sgns of column. he bass does not change and no pvot s requred. Case b) he -th basc varable returns to ts old bound: Pvot on the -th element. Case c) he -th basc varable goes to ts opposte bound: Subtract h from y and change sgns of y and e. Pvot on the -th element. 3. Return to step 1. - Eample: mn Z Subec to , 1, 1, 5, Orgnal tableau s a 1 a 2 a 3 a 4 a 5 b a) b) c) h =5 - (5-7)/(-1)= /2 - r e =4 =2 =1 r 3 = = 1, r 4 = = 2, r 5 = = 5 he c) s the mnmum. Case c) should be appled. Before pvotng, a 1 a 2 a 3 a 4 a 5 b a) b) c) r e b = 75= 2 After pvotng, III-1

11 Department of Chemcal and Bologcal Engneerng a 1 a 2 a 3 a 4 a 5 b a) b) c) h =1 - (2-5)/(-1)= /4 - r e =3 =2 =4 he a) has the mnmum. Case a) should be appled. (b=b h a 3, a 3 =a 3, no pvot.) a 1 a 2 a 3 a 4 a 5 b a) b) c) r e =3 here s no r < for nonbasc varables. he optmum s obtaned! h 7 ( e ) y, 4 y4 3, h3 1 ( e3 ), and 5 ( e5 ) IV. REVISED SIMPLEX MEHOD - For large sze problem (>5 constrants), there are problems n memory and computaton tme, - For effcent computer mplementaton, some modfcatons of the smple method are needed. - Other columns besdes pvot column are not eplctly used. (f n>>m, waste of computaton) - he pvotng wll be appled to B -1 and y q, not the whole tableau. <Procedure> (Mnmzaton case) Gven a current bass B -1 and the current soluton B = y = B -1 b, 1. Calculate current reduced cost coeffcents: c c N ( N N If c, the optmal soluton s obtaned! (SOP) N 1 cb B ) 2. Determne whch a q s to enter the bass by selectng the most negatve reduced cost coeff. and calculate the column to be pvoted y q = B -1 a q. 3. If no y q >, stop! (he problem s unbounded.) Otherwse, calculate B /y q for y q > to determne whch vector s to leave the bass by mnmum rato rule. 4. Update B -1 and B = B -1 b, then return to step 1. Eample: ma Z subect to ( 1,2,3) c he orgnal tableau: a 1 a 2 a 3 a 4 a 5 a 6 b III-11

12 Department of Chemcal and Bologcal Engneerng Start wth ntal basc feasble soluton and correspondng B -1. var B -1 B y q B /y q / / /2 c c c B [ 3 1 3] [ ] I (nonbasc nde: I N =[1 2 3]) 1 N N B Update the tableau by pvotng wth new bass y 1 =B -1 a 1 =[2 1 2]. var B -1 B y q B /y q 1 1/ / N [ 1 3 ] [ 3 ] [1/ 2 3 ] Update the tableau wth new bass y 3 =B -1 a 3 =[1/2 5/2 ]. var B -1 B y q B /y q 1 1/2 1 1/2 2/1 3-1/ /2 8/ bg After pvotng, var B -1 B y q B /y q 1 3/5-1/5 1/5 1/2 3-1/5 2/5 8/5 5/ N [ 1 ] [ 3 3 ] [1/ 5 3/ 5 ] No nonpostve relatve cost! he optmal soluton s obtaned. 1 =1/5, 2 =, 3 =8/5, 4 =, 5 =, 6 =4 and Z= 31/5 38/5= 27/5. c B (nonbasc nde: I N =[2 3 4]) c B (nonbasc nde: I N =[2 4 5]) <Modfcatons> - Not to choose most negatve reduced cost n step 2, but to choose frst negatve cost more maor teratons but less computng tme n total. - If we start wth I as B -1 (bass), then the tableau of k-th teraton can be epressed as E where E s an ERO's matr nvolves all the pvotng operatons and s the ntal tableau. B -1 = E = E k E k-1 E 2 E 1 I n Step 1, λ = c B B -1 = c B E k E k-1 E 2 E 1 n Step 2, y q = B -1 a q = E k E k-1 E 2 E 1 a q n Step 4, B = B -1 b = E k E k-1 E 2 E 1 b he B -1 can be ncorporated n the tableau and updated by the recursve form : (B -1 ) k = E k (B -1 ) k-1 - It s not sensble to store whole E. It requres only to know y q and p to reconstruct E. 1 y1 q / ypq 1 y2q / ypq E (mm matr) 1/ y pq ymq / ypq 1 - If the teraton goes on, there could be some accumulaton of truncaton error. Check B B - b perodcally and f t s not near zero, then calculate the nverson of III-12

13 Department of Chemcal and Bologcal Engneerng B and set B = B -1 b. (renverson) - Revsed smple method can be reformulated usng B nstead of B -1. Instead of usng B -1, solve lnear equatons three tmes. By = b, λ B = c B, By q = a q for y, λ, y q Ba1 a2 am LU where U u u u (ntally obtaned) 1 2 m (upper trangular) Let B s the new bass where a column a k s replaced wth a q. B a 1 a a k1 k1 a a m q LU H L B L a1 L ak 1 L a k1 L am L aq 1 u 1 uk 1 uk 1 um L aq (Non-upper trangular! It has some subdagonals after (k-1)th column.) H can be constructed wthout addtonal computaton, snce u s are known and L -1 a q s a by-product n the computaton of y q. cf) Solvng lnear equaton by LU decomposton ) A=b=LU L(U)=Ly=b: Snce L s a lower trangular matr, y 1 =b 1 /l 11, y 2 =(b 2 l 21 y 1 )/l 22, y 3 =(b 3 l 31 y 1 l 32 y 2 )/l 33, and so on. ) U=y: Snce U s a upper trangular matr, n =y n /u nn = y n, n-1 =(y n-1 u (n-1)n n )/ u (n-1) (n-1), n-2 =(y n-2 u (n-2) (n-1) n-1 u (n-2)n n )/ u (n-2) (n-2), and so on. Reducton of H to upper dagonal matr: M for k, k1,, m-1 m 1 1 where m = obtaned from the Gaussan elmnaton to convert non-upper trangular matr to trangular matr form. (m = -h (+1) / h ) U M M M H (upper trangular matr wth unt dagonals) m1 m2 k k k1 m1 BLH LM M M U L LM M M k k1 m1 1 ( M s smply M wth the sgn of the off-dagonal term reversed.) cf) For the sake of storage convenence, U wll be decomposed as a upper dagonal matr wth unt dagonals n LU decomposton. III-13

14 - Department of Chemcal and Bologcal Engneerng V. DANZIG-WOLFE DECOMPOSIION MEHOD mn Z c Subect to A = b and - If A has the specal block-angular structure, L1 L2 L A1 A A2 A It becomes mn N 1 c 1 N N Subect to L =b, N A =b and ( 1,2,, N) Dvsons nto N subproblems wth a lnkng constrant of dmenson m. Let the constrant set for the -th subproblem be S = { : A = b, } and assume that each of the polytopes S ( = 1,, N) s ndeed bounded and hence a polyhedron (by placng artfcal large upper bounds on each ). And let the etreme ponts of S be { 1, 2,, K }. hen, K 1 where K 1 and for =1, K (lnear combnaton) 1 and the orgnal problem becomes: N N K N K N K Z c c c p p c N N K N K N K ( ) L L L q = b ( q L ) <Master problem> mn p Subect to Q =g and where [ ], g = [b, 1, 1,,1], 11 1K1 21 2K1 NKN K K N NK p [ c c c c c ] 1 2 N q11 q1 q 1 21 q2 q Q K K NK N III-14

15 Department of Chemcal and Bologcal Engneerng λ Mnmum relatve cost: * * r mn r 1 mn ( p B ) [1,, N] [1,, K ] pb N hs procedure wll calculate even for the relatve costs of basc varables that wll be zero. But t does not affect the results of the procedure. * q r mn ( 1 ) mn ( c m m 1) [1,, K ] c L e [1,, K ] where s the vector made up of frst m elements of. (he s are n S and they satsfy A =b.) <he -th subproblem> mn( c L ) Subect to A =b and Solve the -th subproblem to get problem. and calculate r * n the procedure of solvng master * Eample: mn Z Subect to L 2 L and ( 1,2,3,4) A A Slack varables wll be added, but the number of decson varables n the master problem wll be same as those of the orgnal problem. <Master problem: 6 varables and 4 constrants> mn( p p p p ) Subect to L L L L s , and,,,, s, s s 4 3 where p 11 =[ 1 2] 11, p 12 =[ 1 2] 12, p 21 =[ 4 3] 21, p 22 =[ 4 3] 22. A startng basc feasble soluton can be [ s 1, s 2, 11, 21 ] [4 311] (hus, t requres only 11 and 21 for revsed smple method.) and the convenent etreme ponts of the subsystems are 11 = and 21 =. o select the nonbasc varable to be basc varable, solve the two subproblems. mn( c1 L1) 1 mn( c2 L2) 2 s.t s.t 34 2 and ,, III-15

16 Department of Chemcal and Bologcal Engneerng where c 1 [ 1 2], c 2 [ 4 3], and [ ]. hen, fnd the mnmum relatve prce among two subproblem solutons ( 1 =[ 2], 2 =[1 1] and r 1 =([ 1 2] ) 1 = 4, r 2 =([ 4 3] ) 2 = 7) n order to get the nonbasc varable to enter as basc ( 22 for 22 =[1 1] ) and fnd the basc varable to be nonbasc usng mnmum rato rule ( 21 ). Iterate the procedure untl optmum s obtaned. VI. DUALIY Prmal LP mn c Dual LP ma λ b s. t. A b s. t. λ A c λ (Symmetrc form) - Consder a standard LP problem mn c mn c s. t. A b s. t. A b A b Its dual s: ma( ubvb) s. t. uavac u, v (Asymmetrc form) uv mn c A b s. t. A b ma b s. t. Ac ( s free) Lemma 1: Weak Dualty heorem If and λ are feasble for the asymmetrc prmal and ts dual problems, respectvely, then c λ b. pf) λ A c, and A=b c λ A = λ b. Remark: A feasble vector to ether problem yelds a bound on the obectve functon value of the other problem. Corollary: If and λ are feasble for the asymmetrc prmal and ts dual problems, respectvely, and f c =λ b, then and λ are optmal for ther respectve problems. heorem: Dualty heorem of LP If ether of the asymmetrc prmal and ts dual problems has a fnte optmal soluton, so does the other, and the correspondng values of the obectve functons are equal. If ether problem has an unbounded obectve, the other s not feasble. - Relatons between the prmal and dual problems Let A=[B N]. If a basc feasble soluton B =B -1 b s optmal, the relatve cost vector r must be nonnegatve n each component. III-16

17 Department of Chemcal and Bologcal Engneerng Let r c c B N c c B N 1 1 N N B N B 1 cb B (smple multpler). hen, at the optmal soluton A B N c c B N c c c 1 B B B N bc B bc c 1 B B B heorem: Alternatve Dualty heorem of LP Let the LP of the asymmetrc prmal problem have an optmal basc feasble soluton 1 correspondng to the bass B. hen the vector cb B s an optmal soluton to ts dual problem and the optmal values of both problems are equal. - Geometrc nterpretaton mn Z s. t ,,, In prmal space, fnd a postve lnear combnaton of a s to yeld resource vector b. (unque n ths case) a 3 a 2 a 4 a 1 b ma Z s. t In dual space, the dual feasble regon s determned by the orthogonal lnes to each a s of whch locaton s determned by the elements of the resource vector c. a 3 a 2 a 4 a 1 b - Smple Multplers cb B 1 he λ s a synthetc prce as a lnear combnaton of the orgnal costs. hs vector s not a soluton to dual problem unless B s an optmal bass for prmal. Nevertheless, t has economc nterpretaton (related to relatve cost, shadow prce). If the prmal problem s to produce m-products b at the mnmum cost of c by n-facltes wth the producton rate of each product A, then the dual problem s to mamze the product purchase (λ b) not by manufacturng whle the purchase prce (λ a ) at the same producton rate of each faclty should be less than the producton cost (λ a c or λ A c ). - Complementary slackness 1. Asymmetrc case (standard LP form, A = b): From the dualty theorem, λ b = c (λ A c ) = > mples λ a = c (s = ) λ a < c mples = (s > ). III-17

18 Department of Chemcal and Bologcal Engneerng 2. Symmetrc case (nonstandard LP form, A b): From the dualty theorem, λ b = c (λ A c ) > mples λ a c λ a = c (s λ = ) λ a < c mples. = (s = ) From the dualty theorem, λ b = c λ (A b) λ > mples a b a = b (s = ) a > b mples λ λ =. (where a s the -th row of A) - Physcal meanng of λ n terms of senstvty Let = [ B ] be the optmal basc feasble soluton and B be the correspondng optmal bass. We know that B = B -1 b and λ = c B B -1. Assume the requrement vector b s changed to b +Δb. he optmal soluton s then [ B +Δ B ] where Δ B = B -1 Δb. he correspondng ncrement n the cost obectve wll be ΔZ = c B Δ B = c B B -1 Δb = λ Δb or λ =Δz/Δb Senstvty of the optmal cost wth respect to b. (Margnal prce) VII. SENSIIVIY (POS-OPIMALIY) ANALYSIS - By changng nput coeffcents (resource or constrants coeffcents), the optmal value can be mproved consderably hen, t should be consdered to change the stuaton. - Decde the mportance of the data coeffcents whch enables to re-estmate the mportant data coeffcents Improve the accuracy, relablty of the model. Rangng of the Coeffcents - Obectve functon coeffcent (c ): wthn some ranges of each coeffcent, the optmal soluton wll not change even though the optmal value wll change by * Δ (the slope of the obectve functon wll change). 1 rn cn c BB N where c B c B ( for ) For the optmal soluton to be same, the new relatve costs for nonbasc varable should be nonnegatve despte the change n cost coeffcent c. 1 r N rn ( B N), (Mnmzaton) - Resource coeffcent (b ): wthn some ranges of each resource coeffcent, the optmal m wll not change even though the optmal soluton and value wll change (λ * Δ ). * 1 B B b where b b ( for ) For the optmal m to be same, the new optmal soluton should be postve despte the change n cost coeffcent b. 1 ( B ), B B 2 ob. fn 2 ob. fn (no change n ob. fn value) 1 1 ( 2 wll not est f t goes further) III-18

19 Department of Chemcal and Bologcal Engneerng Smultaneous Varatons n Parameters - 1% rule (For obectve functon coeffcents) Let c be the actual decrease (ncrease) n the obectve functon coeffcent of varable and c be the mamum decrease (ncrease) allowed by the senstvty analyss. c If 1 satsfes, the optmal soluton wll not change. he change n c obectve functon value wll be Z c. Remark: he falure of the 1% rule for obectve functon coeffcents does not mply that the optmal soluton wll change. - 1% rule (For resource coeffcent) Let b be the actual decrease (ncrease) n the resource coeffcent of the -th constrant and b be the mamum decrease (ncrease) allowed by the senstvty analyss. b If 1 satsfes, the optmal product m and the shadow prces wll not b * change. he change n obectve functon value wll be Z b. Addng more varables Suppose n+1 s added wth constrant coeffcent vector a n+1 and the cost c n+1. r [ 1] N c N N an rn 1 cn 1 an 1 where c N [ cn; cn 1]. If the r n+1 s nonnegatve, the n+1 should reman as a nonbasc varable that s zero. hus, r c a n1 n1 n1 hen, the new varable can be a basc varable that can have nonzero value and addng a new varable s meanngful. Eample: A factory can produce four products denoted by P 1, P 2, P 3 and P 4. Each product must be produced n each of two workshops. he processng tme (n hours per unt produced) are gven n the followng table. 4 hours of labor are P 1 P 2 P 3 P 4 avalable n each workshop. he proft margns are 4, 6, Workshop and 9 dollars per unt of P 1, P 2, P 3 and P 4 produced, respectvely. Everythng produced can be sold. hus, the mamzng proft, the followng lnear program can be used. Workshop Ma Subect to , 2, 3, 4 Introducng slack varables s 1 and s 2, and applyng the smple method, we get the fnal tableu: r (a) How many unts of P 1, P 2, P 3 and P 4 should be produced n order to mamze profts? (b) Assume that 2 unts of P 3 have been produced by mstake. What s the resultng decrease n proft? (c) In what range can the proft margn per unt of P 1 vary wthout changng the optmal * s 1 s 2 b III-19

20 Department of Chemcal and Bologcal Engneerng bass? (d) In what range can the proft margn per unt of P 2 vary wthout changng the optmal bass? (e) What s the margnal value of ncreasng the producton capacty of Workshop 1? (f) In what range can the capacty of Workshop 1 vary wthout changng the optmal bass? (g) Management s consderng the producton of a new product P 5 that would requre 2 hours n Workshop 1 and 1 hours n Workshop 2. What s the mnmum proft margn needed on ths new product to make t worth producng? Answers: (a) From the fnal tableau, we read that 2 =1 s basc and 1 = 3 = 4 = are nonbasc. So 1 unts of P 2 should be produced and none of P 1, P 3 and P 4. he resutng proft s $6 and that s the mamum possble, gven the constrants. (b) he reduced cost for 3 s 2 (found n Row 3 of the fnal tableau). hus, the effect on proft of producng 3 unts of P 3 s 2 3. If 2 unts of P 3 have been produced by mstake, then the proft wll be 22=$4 lower than the mamum stated n (a). (makng the coeffcent for 3 one and replace b 2 =2 and perform ERO for r 3 to be zero) (c) Let 4+Δ be the proft margn on P 1. he reduced cost remans nonnegatve n the fnal tableau f.5 Δ snce 2 s nonbasc. hat s Δ.5. herefore, as long as the proft margn on P 1 s less than 4.5, the optmal bass remans unchanged. (d) Let 6+Δ be the proft margn on P 2. Snce 2 s basc, we need to restore a correct bass. hs s done by addng Δ tmes Row 1 to Row 3. hs effects the reduced costs of the nonbasc varables, namely 1, 3, 4 and s 1. All these reduced costs must be nonnegatve. hs mples: (sgn change n relatve cost for mamzaton) 1 r r ( B N), (Snce 2 s the frst basc varable) N N Δ 2+2Δ +1.5Δ Δ Combnng all these nequaltes, we get Δ. So, as long as the proft margn on P 2 s 6 or greater, the optmal bass remans unchanged. (e) he margnal value of ncreasng capacty n Workshop 1 s 1 * cb B [6 ] [6 ] [1.5 ] (f) Let 4+Δ be the capacty of Workshop 1. he resultng RHS n the fnal tableau wll be: 1+.25Δ n Row 1, and 2.5Δ n Row 2. he optmal bass remans unchanged as long as these two quanttes are nonnegatve. Namely, 4 Δ 4. So, the optmal bass remans unchanged as long as the capacty of Workshop 1 s n the range to 8. ( B 1 B 1(1/ 4) 1 and B2 B2 ( 1/ 2) 1 ) (g) he effect on the optmum proft of producng 5 unts of P 5 would be * * * 5 1(2) 2(1) 1.5(2) (1) 3 c5 a. If the proft margn on P 5 s suffcent to offset ths, then P 5 should be produced. hat s, we should produce P 5 f ts proft margn s at least $3. III-2

21 Department of Chemcal and Bologcal Engneerng VIII. OHERS Dual Smple Method If a certan lnear programmng s solved, then a new problem s constructed by changng the resource vector, b. In ths case, the soluton may not be feasble to the new problem, but the soluton s a basc feasble soluton for the dual problem (satsfyng λ a c ). he bass B satsfes λ = c B B -1. However, B = B -1 b, called a dual feasble soluton, may not satsfy B and some B s are negatve. From the complementary slackness for asymmetrc case, > mples λ a = c λ a = c for = 1,, m z =λ a < c for = m+1,, n he new margnal prce vector s obtaned by the echange of one varable (-th). hen λ a should be less than c (c ε, ε>) and one of λ a among = m+1,, n should be c. Let the -th row of B -1 be u. and y be u a. hen, λ a = c for = 1,, m ( ) λ a = c ε λ a = z εy for = m+1,, n herefore, choose ε so that the only one of (z εy ) s becomes c. Snce z <c and ε>, the y should be negatve. <Procedure> 1. Gven a dual feasble soluton B, f B, then t s the optmal! If B s not nonnegatve, select an nde such that the -th component of B, B <. 2. If y = (B -1 N) for = 1, 2,, n, then the dual has no mamum. If y < for some, then let zk c k z c mn : y y k y 3. Form a new bass B by replacng a by a k. Usng ths bass determne the correspondng basc dual feasble soluton B and return to step 1. It does not requre an ntal basc feasble soluton for. Prmal-Dual Algorthm mn c ma b s. t. A b s. t. Ac ( s free) Gven a feasble soluton λ to the dual problem, let P={ =1,2,,m}. a c, P (basc) a c, P (nonbasc) Assocated restrcted prmal and dual problems: mn1y ma ub s. t. A y b s. t. u [ A I] [ 1], y III-21

22 Department of Chemcal and Bologcal Engneerng heorem: (Prmal-Dual optmalty theorem) Suppose the λ s feasble for the dual and that y= and B s the optmal for the assocated restrcted prmal. hen =[ B ; ] and λ are optmal for the orgnal prmal and dual problem, respectvely. <Procedure> 1. Gven a feasble soluton λ to the orgnal dual problem, set up the assocated restrcted prmal problem. 2. Optmze the assocated restrcted prmal. If the mnmal value of ths problem s zero, the correspondng soluton s optmal for the orgnal prmal problem by the prmal-dual optmalty theorem. 3. If the mnmal value of the assocated restrcted prmal s strctly postve, obtan the soluton u of the assocated restrcted dual from the fnal smple of the assocated restrcted prmal. If there s no for whch u a >, conclude the prmal has no feasble solutons. Else, defne the new dual feasble vector λ= λ +ε u where c a mn : ua ck ak ua k ua hen go back to Step 1 usng ths λ. Reducton of Lnear Inequaltes 1. Redundant equatons: Correspondng to the system of lnear constrants A=b,, the system s sad to have redundant equatons f there s a nonzero m-vector w satsfyng w A= and w b =. rank(a)<m: mposes unnecessary computaton It can be detected and elmnated n Phase I (f the tableau has zero rows). 2. Null varables: A varable n the system of lnear constrants A=b, s sad to be a null varable f = n every soluton. Elmnate the null varables and -th column of A from the system. Null Varable heorem: If the feasble regon S s not empty, the varable s a null varable f and only f there s a nonzero m-vector w such that w A and w b = and the -th component of w A s strctly postve. cf) If s a null varable the followng LP has the zero optmal value. mn( e) s. t. A b ma b s. t. A e hus, wth w = λ, w b =, w A and so on. 3. Nonetremal varables: A varable n the system of lnear constrants A=b, s nonetremal f the nequalty s redundant. reat them as free varables and elmnate them by usng equatons where they are epressed n terms of other varables If the nequalty, can be composed of a lnear combnaton of the nequaltes, A b, then s a nonetremal varable. III-22

23 Department of Chemcal and Bologcal Engneerng Nonetremal Varable heorem: If the feasble regon S s not empty, the varable s a nonetremal varable f and only f there s m-vector w and n-vector d such that w A=d and w b where d = 1 and d ( ). cf) Let wb ( ) and. mn ma b s. t. A b s. t. a ( ) ( ) a 1 Snce mn( ) w A=d and w b., b and. hus, wth w = λ, Karmarka s Algorthm (1984) for large-scale problem (Interor pont method) - Search n the strct nteror of the conve feasble regon. - Karmarkar's algorthm s usually more effcent f the problem sze s very large mn f ( ) c s. t. A b <Procedure> 1. Start at the centrod ( k ) of the smple comprsng A k k =b (feasble solutons) and proect f ( ) c onto the ntersecton of the equalty constrants. k1 k k k k k k k 1 k k P ( c ) ( IA (A A ) A ) c k 1 2. Fnd so that only one element of becomes zero. And use slghtly less value of,.e..98, so that the pont les strctly nsde the feasble regon. k 1 3. Rescale the varables and transfer back to the rescaled centrod. (Prmal affne scalng) k1 1 k k 1 k Dk, k 1 k c Dkc, and A A D k k 1 where D k s a dagonal matr wth the elements of n as dagonals If P( c ) and (AA ) A) c (Lagrange multpler), then stop. Else, go to Step 1. (For actve constrants, λ = and for nactve, λ >) cf) Karmarkar actually used a nonlnear transformaton k 1 D where e s an n-dmensonal vector of 1 s. ed 1 k n k 1 k k III-23

24 Department of Chemcal and Bologcal Engneerng Eample: mn f ( ) [1 2 3] s. t. [1 1 1] 1 1. Centrod= =[1/3 1/3 1/3], f ( ) [ 1 2 3] 1 2/3 1/3 1/3 P I 1 (3) /3 2/3 1/3 1 1/3 1/3 2/3 1 ( f ) 1/3 1/3 1/3 1 For feasblty and to be strct nteror, P ( 1/3.98 ) 2. Choose scalng matr D k =dag([ ]), then k k+1 = D -1 k k =[ ], A k A k+1 =A k D k =[ ], c k c k+1 =D k c k =[ ] 3. Go to Step 1 after checkng termnaton crtera. 1.98/ 3 1/ 3.2 / 3 <Prmal-dual method> From the constrans of prmal and dual problems and the complementary slackness, A b,, A s c, s, s ( 1,, n) Man dea of the method s to move through a sequence of strctly feasble prmal and dual solutons that come ncreasngly closer to satsfyng the complementary slackness condtons. A b,, A s c, s, s ( 1,, n) he dualty gap: c b s n hus, startng from some value of, decrease t satsfyng the constrants as fndng the soluton for changes n, y, and s. A,, A s, s, s s s ( 1,, n) he complementary slackness becomes S Xs e XSe where S and X are the dagonal matrces whos dagonals are elements of s and, respectvely. hen, ( AS XA ) AS ( e XSe) s A 1 1 S ( exse) ( S X) s and ma for all. hen ma mn( prmal, dual ) s mas where s prmal mn and mn dual (rato test) s s Smple method III-24

25 Department of Chemcal and Bologcal Engneerng QUADRAIC PROGRAMMING Reklats G. V., A. Ravndran, and K. M. Ragsdell, "Engneerng Optmzaton : Method and Applcaton," John Wley and Sons, NY, (Secton 11.2) I. BASIC PRINCIPLES Problem Statement mn f() = c +.5 Q subect to g() = h() = A b = Lagrangan functon and Lagrangan multpler Above problem can be rewrtten as mn L(, μ, λ) = f() μ g() λ h() subect to μ (λ s unspecfed) where L(, μ, λ) s called the Lagrangan functon, μ and λ are called Lagrange multplers. Kuhn-ucker Condtons (KC) Assume f, g and h are dfferentable. he vectors (N1), μ(j1), λ(k1) become a canddate for the optmal soluton f L ) f g( ) h( ) ) L g( ) s g() (use surplus varable s) L ) h ( ) h() = v) μ (λ s unspecfed) v) μ g () = for =1, 2,, J (complementary slackness condton). For complementary slackness condton, f the -th nequalty constrant s bndng (actve) g () = and f -th nequalty constrant s nonbndng (nactve), μ =. Solvng ) to v) : Kuhn-ucker problem - K- necessary condton for optmalty Let f, g and h be dfferentable, * be a feasble soluton. Assume that g( * ) for actve constrants and h( * ) are lnearly ndependent. cf) Defne the effectve constrants by h E () = {h (): h (*) =, = 1,, m}, where h E () s a (m E 1) vector, m E beng the number of effectve constrants, wth m E < n. hen, the constrant qualfcaton becomes: constrant qualfcaton (CQ): rank[h E (*)/] = m E. It s the regularty condtons on the feasble regon and dffcult to verfy. However, t s generally acceptable n practce. he CQ states that, at *, the m E effectve constrants are "lnearly ndependent around *". hs guarantees that the III-25

26 Department of Chemcal and Bologcal Engneerng mplct functon theorem can be used to solve the effectve constrants for m E of the varables and the result substtuted back nto the obectve functon. hen, * and some (μ *, λ * ) satsfy the Kuhn-ucker condton. When the constrant qualfcaton s not met at the optmum, there may not est a soluton to Kuhn-ucker problem. - K- suffcent condton for optmalty Let f be conve, g be all concave, and h be lnear. hen ( *, μ *, λ * ) whch satsfy the Kuhn-ucker condton s an optmal soluton. he Kuhn-ucker condton provdes some new nformaton. hey endogenously treat the constrants whch are bndng (or non-bndng). From the complementary slackness condton, f the -th constrant s non-bndng, g ( * )>, then the correspondng Lagrange multpler must be zero, * =, = 1,, m. And f the -th Lagrange multpler s postve, * >, then the correspondng constrant must be bndng, g ( * ) =, = 1,, n. he Lagrange multplers are now restrcted to be non-negatve: *. hs reflects the fact that we now have nequalty constrants. Indeed, we have seen that the Lagrange multpler can be nterpreted as the margnal value of the constrants. Relang an nequalty constrant means ncreasng the feasble set, generatng a non-decreasng value of the ndrect obectve functon, and thus a non-negatve margnal value of the constrants. In ths contet, a postve and large Lagrange multpler means that the correspondng constrant s "very bndng" and dentfes sgnfcant resource scarcty. Alternatvely, a small Lagrange multpler dentfes lttle resource scarcty, as the correspondng constrant s "barely bndng." A Lagrange multpler reaches ts lower bound ( * = ) when the -th constrant s non-bndng and becomes rrelevant to the decson. When Q s postve defnte or postve semdefnte for quadratc programmng problem, t s suffcent to solve the Kuhn-ucker condtons to fnd an optmal soluton to the quadratc problem. Lagrangan functon wth equalty constrants only mn f() + λ ( A + b) Optmalty condton f Q s postve defnte f () A λ = and A + b = f () = c + Q * 1 Q A c Q A c * A b A b By Frobenus-Schur nverson formula A B A A BD ( CA B) CA A BD ( CA B) C D ( DCA B) CA ( DCA B) * Q Q A ( AQ A ) AQ Q A ( AQ A ) c * ( AQ A ) AQ ( AQ A ) b Let * A ( AQ A ) AQ and * 1 1 * H Q Q A A. III-26

27 Department of Chemcal and Bologcal Engneerng * * * H A c * * 1 1 A ( AQ A ) b cf) When A and D are nvertble, (A + BCD) = A - A B(C + DA B) DA A B ( ABD C) ( ABD C) BD C D ( DCA B) CA ( DCA B) Recursve formula For a basc feasble soluton, A + b = and f ( ) = c + Q * * * * * * ( ) f ( ) * * 1 * 1 * H c A b H Q A A H A c ( AQA ) b ( A Q ( AQA ) A) A f ( ) * * ( ( AQA ) AQ Q( AQA ) A) A f( ) A f( ) II. FLECHER'S QP ALGORIHM QP Algorthm (Fletcher, 1971) mn f() = c +.5 Q (n decson varables) subect to A b (m nequalty constrants) <Procedure> 1. A feasble soluton s gven, and q-constrants are tght. Let A q be the constrants coeffcent matr wth q-actve constrants. * * 1 1 * Calculate A ( A Q A ) A Q and H Q Q A A and set k=. 2. Compute q q q q ( k1) * ( k) q q q q s H f ( ). If s (k+1) =, go to step If s (k+1), compute (k+1) = (k) + α *(k) s (k+1) and f ( k 1) ( ) where α *(k) = mn {1, α (k) p }, ( k) ( k) a b ( k1) p mn ; as ( 1,, ) ( k 1) q m as If α *(k) <1, then add p-th column of A (a p (k) ) to H * q and A * q, H * * * * q p p q q1 H HaaH q * aha p q p * * * * A ah q p q Aqap q1 * aha p q p 1 A and set k=k+1, q=q+1 and go to step2. If α *(k) =1, then set k=k+1 and go to step2. 4. Calculate ( k) ( k) A and r mn ; 1, 2,, q f ( ) ( k) * ( k) q. III-27

28 Department of Chemcal and Bologcal Engneerng If If (.e. all elements of ( k ) r ( k ) r ( k ) are nonnegatve), Stop (optmum)., delete r-th row of A * q (a r ) from H * q and A * q, and set q=q 1 and go to step2. r H H aa aqa * * r q 1 q r * A q1 * Aq r AQaa * q r r r r aqa III. COMPLEMENARY PIVO PROBLEMS (LEMKE, 1965) Problem Statement mn f() = c + Q subect to A b (n decson varables) (m nequalty constrants) Assume Q s symmetrc and s postve defnte or postve semdefnte. KC optmalty condton to the above conve quadratc program: c + (Q + Q ) μ λ A = μ = 2Q A λ + c s = A b, μ, λ, s μ + s λ = Let w s, 2Q A z, M and A hen, w = Mz + q and w z = wth w, z. Complementary problem c q b. - M s postve semdefnte snce Q s postve defnte or postve semdefnte. - If Q s set to zero, t becomes an LP. Defntons: 1. A nonnegatve soluton (w, z) to the system of the equaton w = Mz + q s called a feasble soluton to the complementary problem 2. A feasble soluton (w, z) to the complementary problem that also satsfes the complementarty condton s called a complementary soluton. - w z = w z = for all - he varables w and z for each s called a complementary par of varables. - If the element of the vector q are nonnegatve, then there ests an obvous complementary soluton gven by w = q and z =. (rval soluton) - If some elements of the vector q are negatve, then complementary soluton gven by w = q and z = would be nfeasble. Introduce a suffcently large artfcal varable z so that (q + z ) become nonnegatve. A basc feasble soluton s gven by w = q + z, z = for all = 1, 2,, n III-28

29 Department of Chemcal and Bologcal Engneerng z = mn (q ) (But w = Mz + q s not met.) called almost complementary soluton <Procedure> 1. o determne the ntal almost complementary soluton, the varable z s brought nto the bass, replacng the bass varable wth the most negatve value. (Let q s = mn q < ) hat s, z replaces w s from the bass by pvotng. w Mz z e = q w, z, z and w z = e (n1) = [1, 1,, 1] =[I M e q] (ntal tableau) 2. In order to mantan the complementarty, ether one of w s and z s should reman as a basc varable. So n the net tableau, the complement of the basc varable that ust left the bass n the last tableau should become a basc varable. (complementary rule) In order to mantan the nonnegatvty of the basc feasble soluton, use mnmum rato test to determne the varable to leave the bass. q k q mn ; 1, 2,, n and ms mks ms hat s, z s replaces w k from the bass by pvotng. 4. Snce w k left the bass, the varable z k s brought nto the bass by the complementary rule and the bass changes as before. If the mnmum rato s obtaned n row s, and z leaves the bass, the resultng basc soluton after performng the pvot operaton s the complementary soluton. If the mnmum rato test fals, snce all the coeffcents n the pvot column are nonpostve, ths mples no soluton to the complementary problem ests. In ths case, we say that the complementary problem has a ray soluton. (the gven lnear or quadratc program has no soluton) Eample: 2 2 mn f()= subect to and 1, 2 For f()= c + Q, c=[ 6 ], Q=[2 1; 1 2]. For A b, A=[ 1 1], b= 2, w=[μ 1 μ 2 s], z=[ 1 2 λ] M and q Bass w 1 w 2 w 3 z 1 z 2 z 3 z q w w w An almost complementary soluton s obtaned by replacng w 1 by z. Bass w 1 w 2 w 3 z 1 z 2 z 3 z q z w w From the complementarty, z 1 has to be a basc snce w 1 became nonbasc. he rato test: q /m s = 6/4, 6/6, 8/5. herefore choose w 2. III-29

30 Department of Chemcal and Bologcal Engneerng Bass w 1 w 2 w 3 z 1 z 2 z 3 z q z -1/3-2/ z 1-1/6 1/ w 3-1/6-5/ From the complementarty, z 2 has to be a basc snce w 2 became nonbasc. he rato test: q /m s = 2/2, -1/1, 3/4. herefore choose w 3. Bass w 1 w 2 w 3 z 1 z 2 z 3 z q z -1/4-1/4-1/2 1/2 1 1/2 z 1-5/24-1/24 1/4 1 1/4 7/4 z 2-1/24-5/24 1/4 1 1/4 3/4 From the complementarty, z 3 has to be a basc snce w 3 became nonbasc. he rato test: q /m s = 1, 7, 3. herefore choose z. Bass w 1 w 2 w 3 z 1 z 2 z 3 z q z 3-1/2-1/ z 1-1/12-1/12 1/2 1-1/2 3/2 z 2-1/12-1/12 1/2 1-1/2 1/2 Snce z left the bass, the complementary soluton s obtaned. z 1 = 1 =3/2, z 2 = 2 =1/2, z 3 =λ=1, w 1 = w 2 = w 3 = and f( * )= 11/2. III-3

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg prnceton unv. F 17 cos 521: Advanced Algorthm Desgn Lecture 7: LP Dualty Lecturer: Matt Wenberg Scrbe: LP Dualty s an extremely useful tool for analyzng structural propertes of lnear programs. Whle there

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpenCourseWare http://ocw.mt.edu 6.854J / 18.415J Advanced Algorthms Fall 2008 For nformaton about ctng these materals or our Terms of Use, vst: http://ocw.mt.edu/terms. 18.415/6.854 Advanced Algorthms

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

,, MRTS is the marginal rate of technical substitution

,, MRTS is the marginal rate of technical substitution Mscellaneous Notes on roducton Economcs ompled by eter F Orazem September 9, 00 I Implcatons of conve soquants Two nput case, along an soquant 0 along an soquant Slope of the soquant,, MRTS s the margnal

More information

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution.

Solutions HW #2. minimize. Ax = b. Give the dual problem, and make the implicit equality constraints explicit. Solution. Solutons HW #2 Dual of general LP. Fnd the dual functon of the LP mnmze subject to c T x Gx h Ax = b. Gve the dual problem, and make the mplct equalty constrants explct. Soluton. 1. The Lagrangan s L(x,

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

What is LP? LP is an optimization technique that allocates limited resources among competing activities in the best possible manner.

What is LP? LP is an optimization technique that allocates limited resources among competing activities in the best possible manner. (C) 998 Gerald B Sheblé, all rghts reserved Lnear Prograng Introducton Contents I. What s LP? II. LP Theor III. The Splex Method IV. Refneents to the Splex Method What s LP? LP s an optzaton technque that

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Formulas for the Determinant

Formulas for the Determinant page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use

More information

Which Separator? Spring 1

Which Separator? Spring 1 Whch Separator? 6.034 - Sprng 1 Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng 3 Margn of a pont " # y (w $ + b) proportonal

More information

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming OPTIMIATION Introducton ngle Varable Unconstraned Optmsaton Multvarable Unconstraned Optmsaton Lnear Programmng Chapter Optmsaton /. Introducton In an engneerng analss, sometmes etremtes, ether mnmum or

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

Duality in linear programming

Duality in linear programming MPRA Munch Personal RePEc Archve Dualty n lnear programmng Mhaela Albc and Dela Teselos and Raluca Prundeanu and Ionela Popa Unversty Constantn Brancoveanu Ramncu Valcea 7 January 00 Onlne at http://mpraubun-muenchende/986/

More information

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 )

Yong Joon Ryang. 1. Introduction Consider the multicommodity transportation problem with convex quadratic cost function. 1 2 (x x0 ) T Q(x x 0 ) Kangweon-Kyungk Math. Jour. 4 1996), No. 1, pp. 7 16 AN ITERATIVE ROW-ACTION METHOD FOR MULTICOMMODITY TRANSPORTATION PROBLEMS Yong Joon Ryang Abstract. The optmzaton problems wth quadratc constrants often

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Assortment Optimization under MNL

Assortment Optimization under MNL Assortment Optmzaton under MNL Haotan Song Aprl 30, 2017 1 Introducton The assortment optmzaton problem ams to fnd the revenue-maxmzng assortment of products to offer when the prces of products are fxed.

More information

Maximal Margin Classifier

Maximal Margin Classifier CS81B/Stat41B: Advanced Topcs n Learnng & Decson Makng Mamal Margn Classfer Lecturer: Mchael Jordan Scrbes: Jana van Greunen Corrected verson - /1/004 1 References/Recommended Readng 1.1 Webstes www.kernel-machnes.org

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso Supplement: Proofs and Techncal Detals for The Soluton Path of the Generalzed Lasso Ryan J. Tbshran Jonathan Taylor In ths document we gve supplementary detals to the paper The Soluton Path of the Generalzed

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

COS 521: Advanced Algorithms Game Theory and Linear Programming

COS 521: Advanced Algorithms Game Theory and Linear Programming COS 521: Advanced Algorthms Game Theory and Lnear Programmng Moses Charkar February 27, 2013 In these notes, we ntroduce some basc concepts n game theory and lnear programmng (LP). We show a connecton

More information

Welfare Properties of General Equilibrium. What can be said about optimality properties of resource allocation implied by general equilibrium?

Welfare Properties of General Equilibrium. What can be said about optimality properties of resource allocation implied by general equilibrium? APPLIED WELFARE ECONOMICS AND POLICY ANALYSIS Welfare Propertes of General Equlbrum What can be sad about optmalty propertes of resource allocaton mpled by general equlbrum? Any crteron used to compare

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Some modelling aspects for the Matlab implementation of MMA

Some modelling aspects for the Matlab implementation of MMA Some modellng aspects for the Matlab mplementaton of MMA Krster Svanberg krlle@math.kth.se Optmzaton and Systems Theory Department of Mathematcs KTH, SE 10044 Stockholm September 2004 1. Consdered optmzaton

More information

e - c o m p a n i o n

e - c o m p a n i o n OPERATIONS RESEARCH http://dxdoorg/0287/opre007ec e - c o m p a n o n ONLY AVAILABLE IN ELECTRONIC FORM 202 INFORMS Electronc Companon Generalzed Quantty Competton for Multple Products and Loss of Effcency

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M

CIS526: Machine Learning Lecture 3 (Sept 16, 2003) Linear Regression. Preparation help: Xiaoying Huang. x 1 θ 1 output... θ M x M CIS56: achne Learnng Lecture 3 (Sept 6, 003) Preparaton help: Xaoyng Huang Lnear Regresson Lnear regresson can be represented by a functonal form: f(; θ) = θ 0 0 +θ + + θ = θ = 0 ote: 0 s a dummy attrbute

More information

Lecture 3. Ax x i a i. i i

Lecture 3. Ax x i a i. i i 18.409 The Behavor of Algorthms n Practce 2/14/2 Lecturer: Dan Spelman Lecture 3 Scrbe: Arvnd Sankar 1 Largest sngular value In order to bound the condton number, we need an upper bound on the largest

More information

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem. prnceton u. sp 02 cos 598B: algorthms and complexty Lecture 20: Lft and Project, SDP Dualty Lecturer: Sanjeev Arora Scrbe:Yury Makarychev Today we wll study the Lft and Project method. Then we wll prove

More information

CHAPTER 6 CONSTRAINED OPTIMIZATION 1: K-T CONDITIONS

CHAPTER 6 CONSTRAINED OPTIMIZATION 1: K-T CONDITIONS Chapter 6: Constraned Optzaton CHAPER 6 CONSRAINED OPIMIZAION : K- CONDIIONS Introducton We now begn our dscusson of gradent-based constraned optzaton. Recall that n Chapter 3 we looked at gradent-based

More information

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence)

Dynamic Programming. Preview. Dynamic Programming. Dynamic Programming. Dynamic Programming (Example: Fibonacci Sequence) /24/27 Prevew Fbonacc Sequence Longest Common Subsequence Dynamc programmng s a method for solvng complex problems by breakng them down nto smpler sub-problems. It s applcable to problems exhbtng the propertes

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise. Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the

More information

Feature Selection: Part 1

Feature Selection: Part 1 CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?

More information

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS

8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS SECTION 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS 493 8.4 COMPLEX VECTOR SPACES AND INNER PRODUCTS All the vector spaces you have studed thus far n the text are real vector spaces because the scalars

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

On a direct solver for linear least squares problems

On a direct solver for linear least squares problems ISSN 2066-6594 Ann. Acad. Rom. Sc. Ser. Math. Appl. Vol. 8, No. 2/2016 On a drect solver for lnear least squares problems Constantn Popa Abstract The Null Space (NS) algorthm s a drect solver for lnear

More information

Optimization Methods: Linear Programming- Revised Simplex Method. Module 3 Lecture Notes 5. Revised Simplex Method, Duality and Sensitivity analysis

Optimization Methods: Linear Programming- Revised Simplex Method. Module 3 Lecture Notes 5. Revised Simplex Method, Duality and Sensitivity analysis Optmzaton Meods: Lnea Pogammng- Revsed Smple Meod Module Lectue Notes Revsed Smple Meod, Dualty and Senstvty analyss Intoducton In e pevous class, e smple meod was dscussed whee e smple tableau at each

More information

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41, The greatest common dvsor of two ntegers a and b (not both zero) s the largest nteger whch s a common factor of both a and b. We denote ths number by gcd(a, b), or smply (a, b) when there s no confuson

More information

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem

Interactive Bi-Level Multi-Objective Integer. Non-linear Programming Problem Appled Mathematcal Scences Vol 5 0 no 65 3 33 Interactve B-Level Mult-Objectve Integer Non-lnear Programmng Problem O E Emam Department of Informaton Systems aculty of Computer Scence and nformaton Helwan

More information

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

CHAPTER 7 CONSTRAINED OPTIMIZATION 2: SQP AND GRG

CHAPTER 7 CONSTRAINED OPTIMIZATION 2: SQP AND GRG Chapter 7: Constraned Optmzaton CHAPER 7 CONSRAINED OPIMIZAION : SQP AND GRG Introducton In the prevous chapter we eamned the necessary and suffcent condtons for a constraned optmum. We dd not, however,

More information

Lagrange Multipliers Kernel Trick

Lagrange Multipliers Kernel Trick Lagrange Multplers Kernel Trck Ncholas Ruozz Unversty of Texas at Dallas Based roughly on the sldes of Davd Sontag General Optmzaton A mathematcal detour, we ll come back to SVMs soon! subject to: f x

More information

e i is a random error

e i is a random error Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where + β + β e for,..., and are observable varables e s a random error How can an estmaton rule be constructed for the unknown

More information

PHYS 705: Classical Mechanics. Calculus of Variations II

PHYS 705: Classical Mechanics. Calculus of Variations II 1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary

More information

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra

MEM 255 Introduction to Control Systems Review: Basics of Linear Algebra MEM 255 Introducton to Control Systems Revew: Bascs of Lnear Algebra Harry G. Kwatny Department of Mechancal Engneerng & Mechancs Drexel Unversty Outlne Vectors Matrces MATLAB Advanced Topcs Vectors A

More information

Lecture 11. minimize. c j x j. j=1. 1 x j 0 j. +, b R m + and c R n +

Lecture 11. minimize. c j x j. j=1. 1 x j 0 j. +, b R m + and c R n + Topcs n Theoretcal Computer Scence May 4, 2015 Lecturer: Ola Svensson Lecture 11 Scrbes: Vncent Eggerlng, Smon Rodrguez 1 Introducton In the last lecture we covered the ellpsod method and ts applcaton

More information

How Strong Are Weak Patents? Joseph Farrell and Carl Shapiro. Supplementary Material Licensing Probabilistic Patents to Cournot Oligopolists *

How Strong Are Weak Patents? Joseph Farrell and Carl Shapiro. Supplementary Material Licensing Probabilistic Patents to Cournot Oligopolists * How Strong Are Weak Patents? Joseph Farrell and Carl Shapro Supplementary Materal Lcensng Probablstc Patents to Cournot Olgopolsts * September 007 We study here the specal case n whch downstream competton

More information

Computing Correlated Equilibria in Multi-Player Games

Computing Correlated Equilibria in Multi-Player Games Computng Correlated Equlbra n Mult-Player Games Chrstos H. Papadmtrou Presented by Zhanxang Huang December 7th, 2005 1 The Author Dr. Chrstos H. Papadmtrou CS professor at UC Berkley (taught at Harvard,

More information

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16 STAT 39: MATHEMATICAL COMPUTATIONS I FALL 218 LECTURE 16 1 why teratve methods f we have a lnear system Ax = b where A s very, very large but s ether sparse or structured (eg, banded, Toepltz, banded plus

More information

An Integrated OR/CP Method for Planning and Scheduling

An Integrated OR/CP Method for Planning and Scheduling An Integrated OR/CP Method for Plannng and Schedulng John Hooer Carnege Mellon Unversty IT Unversty of Copenhagen June 2005 The Problem Allocate tass to facltes. Schedule tass assgned to each faclty. Subect

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

SL n (F ) Equals its Own Derived Group

SL n (F ) Equals its Own Derived Group Internatonal Journal of Algebra, Vol. 2, 2008, no. 12, 585-594 SL n (F ) Equals ts Own Derved Group Jorge Macel BMCC-The Cty Unversty of New York, CUNY 199 Chambers street, New York, NY 10007, USA macel@cms.nyu.edu

More information

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Report on Image warping

Report on Image warping Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.

More information

Lecture 3 Specification

Lecture 3 Specification Lecture 3 Specfcaton 1 OLS Estmaton - Assumptons CLM Assumptons (A1) DGP: y = X + s correctly specfed. (A) E[ X] = 0 (A3) Var[ X] = σ I T (A4) X has full column rank rank(x)=k-, where T k. Q: What happens

More information

Fundamental loop-current method using virtual voltage sources technique for special cases

Fundamental loop-current method using virtual voltage sources technique for special cases Fundamental loop-current method usng vrtual voltage sources technque for specal cases George E. Chatzaraks, 1 Marna D. Tortorel 1 and Anastasos D. Tzolas 1 Electrcal and Electroncs Engneerng Departments,

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

More information

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information

Salmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2

Salmon: Lectures on partial differential equations. Consider the general linear, second-order PDE in the form. ,x 2 Salmon: Lectures on partal dfferental equatons 5. Classfcaton of second-order equatons There are general methods for classfyng hgher-order partal dfferental equatons. One s very general (applyng even to

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

More information

Support Vector Machines CS434

Support Vector Machines CS434 Support Vector Machnes CS434 Lnear Separators Many lnear separators exst that perfectly classfy all tranng examples Whch of the lnear separators s the best? + + + + + + + + + Intuton of Margn Consder ponts

More information

Lecture 10 Support Vector Machines. Oct

Lecture 10 Support Vector Machines. Oct Lecture 10 Support Vector Machnes Oct - 20-2008 Lnear Separators Whch of the lnear separators s optmal? Concept of Margn Recall that n Perceptron, we learned that the convergence rate of the Perceptron

More information

CHAPTER 7 CONSTRAINED OPTIMIZATION 1: THE KARUSH-KUHN-TUCKER CONDITIONS

CHAPTER 7 CONSTRAINED OPTIMIZATION 1: THE KARUSH-KUHN-TUCKER CONDITIONS CHAPER 7 CONSRAINED OPIMIZAION : HE KARUSH-KUHN-UCKER CONDIIONS 7. Introducton We now begn our dscusson of gradent-based constraned optzaton. Recall that n Chapter 3 we looked at gradent-based unconstraned

More information

SUMMARY OF STOICHIOMETRIC RELATIONS AND MEASURE OF REACTIONS' PROGRESS AND COMPOSITION FOR MULTIPLE REACTIONS

SUMMARY OF STOICHIOMETRIC RELATIONS AND MEASURE OF REACTIONS' PROGRESS AND COMPOSITION FOR MULTIPLE REACTIONS UMMAY OF TOICHIOMETIC ELATION AND MEAUE OF EACTION' POGE AND COMPOITION FO MULTIPLE EACTION UPDATED 0/4/03 - AW APPENDIX A. In case of multple reactons t s mportant to fnd the number of ndependent reactons.

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

The Second Anti-Mathima on Game Theory

The Second Anti-Mathima on Game Theory The Second Ant-Mathma on Game Theory Ath. Kehagas December 1 2006 1 Introducton In ths note we wll examne the noton of game equlbrum for three types of games 1. 2-player 2-acton zero-sum games 2. 2-player

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

Canonical transformations

Canonical transformations Canoncal transformatons November 23, 2014 Recall that we have defned a symplectc transformaton to be any lnear transformaton M A B leavng the symplectc form nvarant, Ω AB M A CM B DΩ CD Coordnate transformatons,

More information

The Study of Teaching-learning-based Optimization Algorithm

The Study of Teaching-learning-based Optimization Algorithm Advanced Scence and Technology Letters Vol. (AST 06), pp.05- http://dx.do.org/0.57/astl.06. The Study of Teachng-learnng-based Optmzaton Algorthm u Sun, Yan fu, Lele Kong, Haolang Q,, Helongang Insttute

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

A 2D Bounded Linear Program (H,c) 2D Linear Programming

A 2D Bounded Linear Program (H,c) 2D Linear Programming A 2D Bounded Lnear Program (H,c) h 3 v h 8 h 5 c h 4 h h 6 h 7 h 2 2D Lnear Programmng C s a polygonal regon, the ntersecton of n halfplanes. (H, c) s nfeasble, as C s empty. Feasble regon C s unbounded

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 31 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 6. Rdge regresson The OLSE s the best lnear unbased

More information

Support Vector Machines

Support Vector Machines CS 2750: Machne Learnng Support Vector Machnes Prof. Adrana Kovashka Unversty of Pttsburgh February 17, 2016 Announcement Homework 2 deadlne s now 2/29 We ll have covered everythng you need today or at

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

Digital Signal Processing

Digital Signal Processing Dgtal Sgnal Processng Dscrete-tme System Analyss Manar Mohasen Offce: F8 Emal: manar.subh@ut.ac.r School of IT Engneerng Revew of Precedent Class Contnuous Sgnal The value of the sgnal s avalable over

More information

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS) Some Comments on Acceleratng Convergence of Iteratve Sequences Usng Drect Inverson of the Iteratve Subspace (DIIS) C. Davd Sherrll School of Chemstry and Bochemstry Georga Insttute of Technology May 1998

More information

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule:

Common loop optimizations. Example to improve locality. Why Dependence Analysis. Data Dependence in Loops. Goal is to find best schedule: 15-745 Lecture 6 Data Dependence n Loops Copyrght Seth Goldsten, 2008 Based on sldes from Allen&Kennedy Lecture 6 15-745 2005-8 1 Common loop optmzatons Hostng of loop-nvarant computatons pre-compute before

More information

a b a In case b 0, a being divisible by b is the same as to say that

a b a In case b 0, a being divisible by b is the same as to say that Secton 6.2 Dvsblty among the ntegers An nteger a ε s dvsble by b ε f there s an nteger c ε such that a = bc. Note that s dvsble by any nteger b, snce = b. On the other hand, a s dvsble by only f a = :

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

Pattern Classification

Pattern Classification Pattern Classfcaton All materals n these sldes ere taken from Pattern Classfcaton (nd ed) by R. O. Duda, P. E. Hart and D. G. Stork, John Wley & Sons, 000 th the permsson of the authors and the publsher

More information

Linear Feature Engineering 11

Linear Feature Engineering 11 Lnear Feature Engneerng 11 2 Least-Squares 2.1 Smple least-squares Consder the followng dataset. We have a bunch of nputs x and correspondng outputs y. The partcular values n ths dataset are x y 0.23 0.19

More information

IJRSS Volume 2, Issue 2 ISSN:

IJRSS Volume 2, Issue 2 ISSN: IJRSS Volume, Issue ISSN: 49-496 An Algorthm To Fnd Optmum Cost Tme Trade Off Pars In A Fractonal Capactated Transportaton Problem Wth Restrcted Flow KAVITA GUPTA* S.R. ARORA** _ Abstract: Ths paper presents

More information