Linear Programming in Database

Size: px
Start display at page:

Download "Linear Programming in Database"

Transcription

1 9 Liner Progrmming in Dtse Akir Kwguchi nd Andrew Ngel Deprtment of Computer Science, The City College of New York. New York, New York United Sttes of Americ Keywords: liner progrmming, simple method, revised simple method, dtse, stored procedure. Astrct Liner progrmming is powerful optimiztion technique nd n importnt field in the res of science, engineering, nd usiness. Lrge-scle liner progrmming prolems rise in mny prcticl pplictions, nd solving these prolems requires n integrtion of dtnlysis nd dt-mnipultion cpilities. Dtse technology hs ecome centrl component of tody s informtion systems. Almost every type of orgniztion is now using dtse systems to store, mnipulte, nd retrieve dt. Nevertheless, little ttempt hs een mde to fcilitte generl liner progrmming solvers for dtse environments. Dozens of sophisticted tools nd softwre lirries tht implement liner progrmming models cn e found. ut, there is no dtse-emedded liner progrmming tool semlessly nd trnsprently utilized for dtse processing. The focus of the study in this chpter is to fill this technicl gp etween dt nlysis nd dt mnipultion, y solving lrge-scle liner progrmming prolems with pplictions uilt on the dtse environment. Specificlly, this chpter studies the representtion of the liner progrmming model in reltionl structures, s well s the computtionl method to solve the liner progrmming prolems. We hve developed set of redy to use stored procedures to solve generl liner progrmming prolems. A stored procedure is group of SQL sttements, precompiled nd physiclly stored within dtse, therey hving comple logic run inside the dtse. We show versions of procedures in the open-source ysql dtse nd commercil Orcle dtse system. The eperiments re performed with severl enchmrk prolems etrcted from the Netli lirry. Foundtions for nd preliminry eperimentl results of this study re presented. *. Introduction * This work hs een prtly supported y New York Stte Deprtment of Trnsporttion nd New York City Deprtment of Environment Protection.

2 34 New Developments in Rootics, Automtion nd Control Liner progrmming is powerful technique for deling with the prolem of llocting limited resources mong competing ctivities, s well s other prolems hving similr mthemticl formultion (Winston, 994, Richrd, 99, Wlsh, 985). It hs ecome n importnt field of optimiztion in the res of science nd engineering nd hs ecome stndrd tool of gret importnce for numerous usiness nd industril orgniztions. In prticulr, lrge-scle liner progrmming prolems rise in prcticl pplictions such s logistics for lrge spre-prts inventory, revenue mngement nd dynmic pricing, finnce, trnsporttion nd routing, network design, nd chip design (Hillier nd Lieermn, 2). While these prolems inevitly involve the nlysis of lrge mount of dt, there hs een reltively little work ddressing this in the dtse contet. Little serious ttempt hs een mde to fcilitte dt-driven nlysis with dt-oriented techniques. In tody s mrketplce, dozens of sophisticted tools nd softwre lirries tht implement liner progrmming models cn e found. Nevertheless, these products do not work with dtse systems semlessly. They rther require dditionl softwre lyers uilt on top of dtses to etrct nd trnsfer dt in the dtses. The focus of our study gthered here is to fill this technicl gp etween dt nlysis nd dt mnipultion y solving lrgescle liner progrmming prolems with pplictions uilt on the dtse environment. In mthemtics, liner progrmming prolems re optimiztion prolems in which the ojective function to chrcterize optimlity of prolem nd the constrints to epress specific conditions for tht prolem re ll liner (Hillier nd Lieermn, 2, Thoms H. Cormen nd Stein, 2). Two fmilies of solution methods, so-clled simple methods (Dntzig, 963) nd interior-point methods (Krmrkr, 984), re in wide use nd ville s computer progrms tody. oth methods progressively improve series of tril solutions y visiting edges of the fesile oundry or the points within the interior of the fesile region, until solution is reched tht stisfies the constrints nd cnnot e improved. In fct, it is known tht lrge prolem instnces render even the est of codes nerly unusle (Winston, 994). Furthermore, the progrm lirries ville tody re found outside the stndrd dtse environment, thus mndting the use of specil interfce to interct with these tools for liner progrmming computtions. This chpter gives detiled ccount of the methodology nd technicl issues relted to generl liner progrmming in the reltionl (or oject-reltionl) dtse environment. Our gol is to find suitle softwre pltform for solving optimiztion prolems on the etension of lrge mount of informtion orgnized nd structured in the reltionl dtses. In principle, whenever dt is ville in dtse, solving such prolems should e done in dtse wy, tht is, computtions should e closed in the world of the dtse. There is stndrd dtse lnguge, ANSI SQL, for the mnipultion of dt in the dtse, which hs grown to level comprle to most ordinry progrmming or scripting lnguges. Eliminting relince on commercil liner progrmming pckge, thus eliminting the overhed of dt trnsfer etween dtse nd pckge is wht we hope to chieve. There re lso the issues of trde-off. A sic nture of liner progrmming is collection of mtrices defining prolem nd sequence of lgeric opertions repetedly pplied to

3 Liner Progrmming in Dtse 34 these mtrices, hence giving perfect mtch for rry-sed progrmming in scientific computtions. In generl, the reltionl dtse is not designed for mtri opertions like solving liner progrmming prolems. Indeed, relizing mtri opertions on top of the stndrd reltionl (or oject-reltionl) structure is non-trivil. On the other hnd, t the hert of the dtse system is the ility to effectively mnge resources coupled with n efficient dt ccess mechnism. The response to user is mde y the est ville sequence of opertions, or so-clled optimized queries, on the ctul dt. When hndling etremely lrge mtrices, the system proly gives performnce dvntge over the unplnned or d hoc eecution of the progrm cusing n instile use of virtul memory (thus cusing thrshing) for the disposition of rrys. In this chpter, implementtion techniques nd key issues for this development re studied etensively. A model suitle to cpture the dynmics of liner progrmming computtions is incorported into the imed development, y wy of relizing set of procedurl interfces tht enles stndrd dtse lnguge to define prolems within dtse nd to derive optiml solutions for those prolems without requiring users to write detiled progrm sttements. Specificlly, we develop two sets of redy to use stored procedures to solve generl liner progrmming prolems. A stored procedure is group of SQL sttements, precompiled nd physiclly stored within dtse (Gulutzn nd Pelzer, 999, Gulutzn, 27). It forms logicl unit to encpsulte set of dtse opertions, defined with n ppliction progrm interfce to perform prticulr tsk, therey hving comple logic run inside the dtse. The ect implementtion of stored procedure vries from one dtse to nother, ut is supported y most mjor dtse vendors. To this end, we will show implementtions using ysql open-source dtse system nd freely ville Orcle Epress Edition selected from the commercil domin. Our choice of these populr dtse environments is to justify the fesiility of concepts nd to drw comprisons of their usility. The rest of this chpter is orgnized s follows: Section 2 defines the liner progrmming model nd introduces our pproch to epress the model in the reltionl dtse. Section 3 presents detils of developed simultion system nd eperimentl performnce studies. Section 4 discusses relted work, nd Section 5 concludes our work gthered in this chpter. 2. Fundmentls A liner progrmming prolem consists of collection of liner inequlities on numer of rel vriles nd fied liner function to mimize or minimize. In this section, we summrize the principle technicl issues in formulting the prolem nd some solution method in the reltionl dtse environment. 2. Liner Progrmming Principles Consider the mtri nottion epressed in the set of equtions () elow. The stndrd form of the liner progrmming prolem is to mimize n ojective function Z = c T, suject to the functionl constrints of A nd non-negtivity constrints of, with in this cse eing the n-dimensionl zero column vector. A coefficient mtri A nd column vectors c,, nd re defined in the ovious mnner such tht ech component of the column

4 New Developments in Rootics, Automtion nd Control 342 vector A is less thn or equl to the corresponding component of the column vector. ut ll forms of liner progrmming prolems rise in prctice, not just ones in the stndrd form, nd we must del with issues such s minimiztion ojectives, constrints of the form A or A =, vriles rnging in negtive vlues, nd so on. Adjustments cn e mde to trnsform every non-stndrd prolem into the stndrd form. So, we limit our discussion to the stndrd form of the prolem. = = = = = mn m m n n n n n c c c L L L A c,,,, () The gol is to find n optiml solution, tht is, the most fvorle vlues of the ojective function mong fesile ones for which ll the constrints re stisfied. The simple method (Dntzig, 963) is n lgeric itertive procedure where ech round of computtion involves solving system of equtions to otin new tril solution for the optimlity test. The simple method relies on the mthemticl property tht the ojective function s mimum must occur on corner of the spce ounded y the constrints of the fesile region. To pply the simple method, liner progrmming prolems must e converted into soclled ugmented form, y introducing non-negtive slck vriles to replce non-equlities with equlities in the constrints. The prolem cn then e rewritten in the following form: [ ] = = = I A c I A s 2 s T s s m n n n Z,,, (2) In equtions (2) ove,, column vector of slck vriles s, nd I is the m m identity mtri. Following the convention, the vriles set to zero y the simple method re clled nonsic vriles nd the others re clled sic vriles. If ll of the sic vriles re non-negtive, the solution is clled sic fesile solution. Two sic fesile solutions re djcent if ll ut one of their nonsic vriles re the sme. The spirit of the simple method utilizes rule for generting from ny given sic fesile solution new one differing from the old in respect of just one vrile. Thus, moving from the current sic fesile solution to n djcent one involves switching one vrile from nonsic to sic nd vice vers for one other vrile. This movement involves replcing one nonsic vrile (clled entering sic vrile) y new one (clled

5 Liner Progrmming in Dtse 343 leving sic vrile) nd identifying the new sic fesile solution. The simple lgorithm is summrized s follows: Simple ethod:. Initiliztion: trnsform the given prolem into n ugmented form, nd select originl vriles to e the nonsic vriles (i.e., = ), nd slck vrile to e the sic vriles (i.e., s = ). 2. Optimlity test: rewrite the ojective function y shifting ll the nonsic vriles to the right-hnd side, nd see if the sign of the coefficient of every nonsic vrile is positive, in which cse the solution is optiml. 3. Itertive Step: 3. Selecting n entering vrile: s the nonsic vrile whose coefficient is lrgest in the rewritten ojective function used in the optimlity test. 3.2 Selecting leving vrile: s the sic vrile tht reches zero first when the entering sic vrile is incresed, tht is, the sic vrile with the smllest upper ound. 3.3 Compute new sic fesile solution: y pplying the Guss-Jordn method of elimintion, nd pply the ove optimlity test. 2.2 Revised Simple ethod The computtion of the simple method cn e improved y reducing the numer of rithmetic opertions s well s the mount of round-off errors generted from these opertions (Hillier nd Lieermn, 2, Richrd, 99, Wlsh, 985). Notice tht n nonsic vriles from mong the n + m elements of [ T, s T] T re lwys set to zero. Thus, eliminting these n vriles y equting them to zero leves set of m equtions in m unknowns of the sic vriles. The spirit of the revised simple method (Hillier nd Lieermn, 2, Winston, 994) is to preserve only the pieces of informtion relevnt t ech itertion, which consists of the coefficients of the nonsic vriles in the ojective function, the coefficients of the entering sic vrile in the other equtions, nd the righthnd side of the equtions. Specificlly, consider the equtions (3) elow. The revised method ttempts to derive sic (squre) mtri of size m m y eliminting the columns corresponding to coefficients of nonsic vriles from [A, I] in equtions (2). Furthermore, let c T e the vector otined y eliminting the coefficients of nonsic vriles from [c T, T ] T nd reordering the elements to mtch the order of the sic vriles. Then, the vlues of the sic vriles ecome - nd Z = c T -. The equtions (2) ecome equivlent with equtions (3) fter ny itertion of the simple method. T c A c = 2 m A T 2 22 m 2 L L L c T m 2 m, mm Z T c = s (3)

6 344 New Developments in Rootics, Automtion nd Control This mens tht only - needs to e derived to e le to clculte ll the numers used in the simple method from the originl prmeters of A,, c providing efficiency nd numericl stility. 2.3 Reltionl Representtion A reltionl model provides single wy to represent dt s two-dimensionl tle or reltion. An n-ry reltion eing suset of the Crtesin product of n domins hs collection of rows clled tuples. Implementions of the simple nd revised simple methods must locte the ect position of the vlues for the equtions nd vriles of the liner progrmming prolem to solve. However, the position of the tuples in the tle is not relevnt in the reltionl model. y definition, tuple ordering nd mtri hndling re eyond the stndrd reltionl fetures, nd these re the most importnt issues tht need to e ddressed to implement the liner progrmming solver within the dtse using the simple method. We will eplore two distinct methods for representing mtrices in the reltionl model. Simple clcultions re most conveniently performed with the help of series of tles known s simple tleu (Dntzig, 963, Hillier nd Lieermn, 2). A simple tleu is tle tht contins ll the informtion necessry to move from one itertion to nother while performing the simple method. Let e column vector of m sic vriles otined y eliminting the nonsic vriles from nd s. Then, the initil tleu cn e epressed s, Z c A T I (4) The lgeric tretment sed on the revised simple method (Hillier nd Lieermn, 2, Willim H. Press nd Flnnery, 22) derives the vlues t ny itertion of the simple method s, Z T T c A c A c T c T (5) For the mtrices epressed (4) nd (5), the first two column elements do not need to e stored in persistent memory. Thus, the simple tleu cn e tle using the rest of the three column elements in the reltionl model. Creting tle instnces s simple tleu is perhps the most strighforwrd wy. Indeed, our ysql implementtion in the net section uses this representtion, in which liner progrmming prolem in the ugmented form (equtions (2)) cn e seen s reltion: tleu(id,,2, n, rhs)

7 Liner Progrmming in Dtse 345 A vrile of the constrints nd the ojective function ecomes n ttriute of the reltion, together with the right hnd side tht ecomes the rhs column on the tle. The id column serves s key tht cn uniquely determine every vrile of the constrints nd of the ojective function in the tuple. A constrint of the liner progrmming prolem in the ugmented form is identified y unique positive integer vlue rnging from to n in the id column, where n is the numer of constrints for the prolem plus the ojective function. Thus y pplying reltionl opertions, it is fesile to know the position of every constrint nd vrile for liner progrmming prolem, nd to proceed with the mtri opertions necessry to implement the simple lgorithm. See Figure for the tle instnce populted with simple emple. Fig.. Two representtions of the initil simple tleu in the reltionl dtse The min drwck of this design is fied structure of tle. An individul tle needs to e creted for ech prolem, nd the cost of defining (nd dropping) tle ecomes prt of the process implementing the simple method. The numer of tles in the dtse will increse s the collection of prolems to solve ccumultes. This my cuse dministrtive strin for dtse mngement. Sutle issues rise in the hndling of lrge-scle prolems. The tle mps to the full instnce of the mtri even if the prolem hs sprsely populted non-zero dt. Thousnds of zero vlues (or null vlues specific to dtse) held in tuple pile up significnt mount of spce. esides, tuple of lrge numer of non-zero vlues is prolemtic ecuse the physicl record holding such tuple my not fit into disk lock. Accessing spnned record over multiple disk locks is time-consuming. As n lterntive to the tle-s-tleu structure, element-y-element represention cn e considered. The simple tleu re decomposed to collection of vlues, ech of which is tuple consisting of tleu id, row position, column position, nd vlue in the specified position. This is to sy tht the tle no longer possesses the shpe of tleu ut hs the informtion to locte every element in the tleu. issing elements re zeros, thus spce efficient for sprse contents. A single tle cn gther ll the prolem instnces, in tht the elements in the specific tleu re found y the use of the tleu id. The size of the tuple is smll ecuse there re only four ttriutes in the tuple. In return, there is time

8 346 New Developments in Rootics, Automtion nd Control overhed for finding specific element in the tle. Our Orcle XE implementtion detiled in the net section utilizes this representtion. 3. System Development The vilility of rel-time dtses cple of ccepting nd solving liner progrmming prolems helps us emine the effectiveness nd prcticl usility in integrting liner progrmming tools into the dtse environment. Towrds this end, generl liner progrmming solver is developed on top of the de fcto stndrd dtse environment, with the comintion of PHP ppliction for the front-end nd ysql or Orcle ppliction for the ckend. Note tht the implementtion of this liner progrmming solver is strictly within the dtse technology, not relying on ny outside progrmming lnguge. Fig. 2. Architecture of the implemented liner progrmming solver The systems rchitecture is summrized in Figure 2. The PHP front-end enles the user to input the numer of vriles nd numer of constrints of the liner progrmming prolem to solve. With these vlues, it genertes dynmic We interfce to ccept the vlues of the ojective function nd the vlues of the constrining equtions. The We interfce lso llows the user to uplod file in PS (themticl Progrmming System) formt tht defines liner progrmming prolem. The PS file formt serves s stndrd for descriing nd rchiving liner progrmming nd mied integer progrmming prolems (Orgniztion, 27). A specil progrm is uilt to convert PS dt formt into SQL sttements for populting liner progrmming instnce. The min ojective of this development is to otin enchmrk performnces for lrge-scle liner progrmming prolems.

9 Liner Progrmming in Dtse 347 The ysql nd Orcle ck-ends perform itertive computtions y the use of set of stored procedures precompiled nd integrted into the dtse structure. The systems encpsulte n API for processing simple method tht requires the eecution of severl SQL queries to produce solution. The input nd output of the system re shown in Figure 3 in which ech tle of the right figure represents the tleu contining the vlues resulted from ech itertion of the simple method. The system presents successive trnsformtions nd optiml solution if it eists. Fig. 3. Simple method itertions nd optiml solution 3. Stored Procedure Implementtion ysql Stored procedures cn hve direct ccesses to the dt in the dtse, nd run their steps directly nd entirely within the dtse. The comple logic runs inside the dtse engine, thus fster in processing requests ecuse numerous contet switches nd gret del of network trffic cn e eliminted. The dtse system only needs to send the finl results ck to the user, doing wy with the overhed of communicting potentilly lrge mounts of interim dt ck nd forth (Gulutzn, 27, Gulutzn nd Pelzer, 999).

10 348 New Developments in Rootics, Automtion nd Control Nme m n Nonzeros Optiml vlue Time Stndrd devition ADLITTLE E+5 min sec. sec. AFIRO sec..67 sec. LEND E+ min. 5 sec. 3.2 sec. RANDY E+3 2 min sec. 9 sec. Tle. ysql Eperimentl set nd mesured eecution time Stored procedures re supported y most DSs, ut there is fir mount of vrition in their synt nd cpilities even their internl effects re lmost invisile. Our development uses ysql version t the time of this writing (s for ysql version 5, stored procedures re supported). The net code listing is the stored procedure used to crete the tle to store the liner progrmming prolem to e solved y the ppliction (Perez, 27). The first prt of the stored procedure consists of the prototype of the function nd the declrtion of the vriles to e used in the procedure. DELIITER $$ DROP PROCEDURE IF EXISTS lpsolver. cretetle $$ CREATE PROCEDURE lpsolver. cretetle (constrints INT, vriles INT) EGIN DECLARE i INT; DECLARE jitertor VARCHAR(5); DECLARE sttement VARCHAR(); DROP TALE IF EXISTS tleu; ecuse of the dynmic nture of the clcultions for solving liner progrmming prolems, our stored procedure relies on the etensive use of prepred SQL sttements. In the net code lock, the SQL sttement to crete tle is generted on the fly, sed on the numer of vriles nd constrints of the prolem to solve. The generted procedure is then pssed to the dtse for eecution. SET sttement = CREATE TALE tleu(id INT(5) PRIARY KEY, ; SET i = ; tle_loop:loop IF i > constrints + vriles + THEN LEAVE tle_loop; END IF; SET jitertor = CONCAT( j,i); SET sttement = CONCAT(sttement, jitertor); SET sttement = CONCAT(sttement, DOULE DEFAULT ); IF i <= constrints + vriles THEN SET sttement = CONCAT(sttement,, );

11 Liner Progrmming in Dtse 349 END IF; SET i = i + ; END LOOP tle_loop; SET sttement = CONCAT(sttement, ) ); = sttement; PREPARE s EXECUTE s; DEALLOCATE PREPARE s; END $$ DELIITER; 3.2 Eperimentl Results ysql To see the effectiveness of the implementtion, vrious liner progrmming prolems were selected from commonly ville Netli liner progrmming lirry (Orgniztion, 27). As one cse, see Tle for sufficiently lrge prolem set. The vlues m nd n indicte the size, m n, of the coefficient mtri A in equtions (), or equivlently, m is the numer of constrints nd n is the numer of decision vriles. All eperiments were performed y n Intel 586 sed stndlone mchine with.2 GHz CPU nd 52 memory tht ws running ysql The dt vlues were etrcted from Netli PS files to populte the prolems into the dtse prior to run the simple method. The time mesured does not include this dt preprtion process, ut only the eecution of the stored procedure to produce solution. The time listed in Tle is the verge of ten eecutions of ech prolem. The results re sed on the implementtion of the revised simple method contined in the stored procedures. One limiting fctor is the fct tht ysql llows to hve up to columns on tle. Given tht this implementtion is sed on mpping of simple tleu into dtse reltion, the numer of vriles plus the numer of constrints cnnot eceed the numer of columns llowed for ysql tle. This prohiited us from testing the prolems in the Netli lirry tht eceed the column size of. Finlly, we oserved one prolem when trying to find optiml solutions for lrger prolems with higher numers of columns, vriles nd zero elements. The computtion never cme to n end, indicting tht the prolem hd ecome unounded, which cn e ttriuted to the tleu ecoming illconditioned s consequence of trunction errors resulted from repeted mtri opertions (Kwguchi nd Perez, 27). 3.3 Stored Procedure Implementtion in Orcle XE A Liner Progrmming Solver ws implemented in Orcle XE stored procedures with simple we interfce uilt in PHP. Orcle XE is free version of the Orcle dtse system suject to some restrictions. Notly, Orcle XE will only utilize single processor, nd totl user dt is limited to 4 G. Still, stored procedures re entirely supported, s well s dvnced indeing techniques, mking Orcle XE n ttrctive lterntive. The we interfce shown in Figure 4 provides for cretion, editing, nd disply of lrge mtrices, nd llows the user to perform elementry mtri opertions. The Liner

12 35 New Developments in Rootics, Automtion nd Control Progrmming menu provides options for uploding nd prsing stndrd PS files, for solving the prolem utomticlly, nd for viewing performnce dt. The Work Tleu option is shown, nd provides n interfce where the user cn view the tleu, or ny portion of it. They cn choose n element to pivot on, or y clicking the suggest utton, the column nd row selected y the simple method is high-lighted nd displyed. This ws useful for deugging, ut lso serves s good eductionl tool since student cn go through the lgorithm step y step. Fig. 4. We interfce showing tleu with net itertion highlighted The dt model ws lso chnged in this implementtion to ddress the limittion of m numer of columns llowed in tle. Rther thn creting tle with enough columns to contin the simple tleu, mtri is represented y two tles, one descriing the properties, nd one contining the row position, column position, nd vlue of ech element. This hs the dded enefit of simplifying mtri opertions. Since the tles descried elow hold ny mtrices stored in the system, cretion, deletion, nd ltertion of mtrices relies only on INSERT, DELETE, nd UPDATE sttements, with no need for on the fly tle cretion or procedure compiltion. mtri_property(mtri_id, nme, row_size, column_size) mtri_vlues(mtri_id, row_position, column_position, vlue) Although llowing for n indefinite numer of columns in stored mtri, this model introduces prolem in dt look up. In the ysql implementtion, since ech row of the

13 Liner Progrmming in Dtse 35 mtri ws tuple in the reltion, once row is retrieved y the dtse, every element in the row is either in min memory or efficiently uffered since the tuple is stored contiguously on disk. ut in the Orcle implementtion, getting ech element in row could require new disk red. Fortuntely, Orcle XE supports Hsh Inde for fst retrievl of tuples tht shre common hsh vlue. Since in the Orcle model, ny two elements in the sme row shre the sme mtri_id nd row_position, we cn uild such n inde. In the Orcle XE environment, this is chieved y first creting hsh cluster (equivlent to hsh uckets), then creting the tle tht is designted to e stored in the cluster ccording to hsh of t lest one of its ttriutes. CREATE CLUSTER tri_inde (mtid NUER, rowpos NUER) SIZE 52 SINGLE TALE HASHKEYS ; CREATE TALE "VALUE" ( "ATID" NUER NOT NULL ENALE, "ROWPOS" NUER NOT NULL ENALE, "COLPOS" NUER NOT NULL ENALE, "CELL_VALUE" NUER(26,4) NOT NULL ENALE, CONSTRAINT "VALUE_UK" UNIQUE ("ATID", "ROWPOS", "COLPOS") ENALE, CONSTRAINT "VALUE_FK" FOREIGN KEY ("ATID") REFERENCES "PROPERTY" ("ATID") ON DELETE CASCADE ENALE ) CLUSTER "tri_inde" ("ATID", "ROWPOS"); To ctully enefit from this inde, it is necessry to mke use of Cursors in the stored procedures tht operte on the mtrices. Cursors re fetured in mny dtse systems, nd provide n interfce to declre comple SELECT sttements nd iterte over the results. y declring cursors, rther thn using SELECT sttement inside FOR loop, the query optimizer is etter le to tke dvntge of the hsh inde nd retrieve entire rows of the mtri with miniml disk I/O. Implementing the solver in this wy resulted in more thn 5% performnce increse, prticulrly s prolem size ws incresed. Nme m n Non zeros Optiml Vlue (clculted) Std. Err. Itertions Avg. Time (sec) ISRAEL % LOTFI % AFIRO %.4.52 SC % SC % ADLITTLE % LEND % RANDY % Tle 2. Orcle Eperimentl set nd mesured eecution time Std. Dev

14 352 New Developments in Rootics, Automtion nd Control 3.4 Eperimentl Results Orcle XE As efore, set of liner progrmming prolems ws selected from the Netli lirry (Orgniztion, 27). The results re presented in Tle 2, where gin, m is the numer of constrints nd n is the numer of decision vriles. The stndrd error is clculted sed on the optiml vlue our solver returned compred to the optiml vlues pulished y Netli.The Orcle eperiments were run on n Intel D865GV ord with 3 GHz Pentium 4 CPU nd 2 G memory running Orcle XE g. Other prmeters nd timing of the eperiment re s descried in 3.2. While the model used in the Orcle implementtion does llow for storge nd simple mnipultion of mtrices lrger thn, it did not solve ll the prolems eperienced in the ysql version. Trunction nd rounding errors creted devince from the pulished optiml vlue, hence the inclusion of stndrd error in Tle 2. For lrger prolems, this sometimes degenerted to n ill-conditioned stte, s with the ysql implementtion nd the lgorithm my not finish or my report incorrect results s with RANDY. Rounding errors were sometimes more of n issue in the Orcle implementtion ecuse it uses the ig vrint of the Simple method when deling with prolems in non-stndrd form. riefly, this involves introducing rtificil vriles to mke ech constrint fesile for the sic solution nd penlizing those rtificil vriles with lrge coefficient in the ojective function, this penlty eing the ig. While this method is esy to implement, it requires more itertions, which introduces more potentil for rounding/trunction errors. 4. Relted Work A vst mount of effort for the estlishment of theory nd prctice is oserved tody. Certin specil cses of liner progrmming, such s network flow prolems nd multicommodity flow prolems re considered importnt enough to hve generted much reserch on specilized lgorithms for their solution (Winston, 994, Thoms H. Cormen nd Stein, 2, Hillier nd Lieermn, 2). A numer of lgorithms for other types of optimiztion prolems work y solving liner progrmming prolems s su-prolems. Historiclly, ides from liner progrmming hve inspired mny of the centrl concepts of optimiztion theory, such s dulity, decomposition, nd the importnce of conveity nd its generliztions (Hillier nd Lieermn, 2). There re pproches considered to fit liner progrmming model, such s integer progrmming nd nonliner progrmming (Alender, 998, Richrd, 99, Hillier nd Lieermn, 2). ut, our reserch focuses on the re of itertive methods for solving liner systems. Some of the most significnt contriutions nd the chin of contriutions uilding on ech other re summrized in (Sd nd vn der Vorst, 2), especilly survey of the trnsition from simple methods to interior-point methods is presented in (Wng, 99). In terms of implementtion techniques, the work of (orgn, 976, Shmir, 987) provided us with introductory sources for reference. There re online mterils such s (Optimiztion Technology Center nd Lortory, 27, Orgniztion, 27) to help us understnd the detils nd pln for eperimentl design.

15 Liner Progrmming in Dtse 353 The contents of this chpter re etended from the work gthered in (Kwguchi nd Perez, 27), in which the eperimentl performnce of ysql implementtion is shown. A more detiled implementtion of ysql stored procedures cn e found in (Perez, 27). 5. Conclusion The suject of this reserch is to respond lck of dtse tools for solving liner progrmming prolem defined within dtse. We descried the im nd pproch for integrting liner progrmming method into tody s dtse system, with our gol in mind to estlish semless nd trnsprent interfce etween them. As demonstrted, this is fesile y the use of stored procedures, the emerging dtse progrmming stndrd tht llows for comple logic to e emedded s n API in the dtse, thus simplifying dt mngement nd enhncing overll performnce. As summry, contriutions of the discussions presented in this chpter re threefold: First, we present detiled ccount on the methodology nd technicl issues to integrte generl liner progrmming method into reltionl dtses. Second, we present the development s forms of stored procedures for tody s representtive dtse systems. Third, we present n eperimentl performnce study sed on comprehensive system tht implements ll these concepts. Our implementtion of generl liner progrmming solvers is on top of the PHP, ysql, nd Orcle softwre lyers. The eperiments with severl enchmrk prolems etrcted from Netli lirry showed its correct optiml solutions nd sic performnce mesures. However, due to the methods used, rounding errors were still n issue for lrge prolems despite the system hving the cpcity to work with lrge mtrices. We thus pln to continue this reserch in severl directions. Although the Orcle system cn work with lrge mtrices, oth implementtions hve too much rounding error to solve liner progrmming prolems tht would e considered lrge y commercil stndrds. This should e ddressed y the implementtion of more roust method. Overll, the code must e optimized to reduce the eecution time, which could lso e improved y tuning the size nd numer of hsh uckets in the inde. We will perform more eperiments to collect dditionl performnce mesures. Non-liner nd other optimiztion methods should lso e eplored. 6. References Alender, S. (998). Theory of Liner nd Integer Progrmming. John Wiley & Sons, New York, NY. Dntzig, G.. (963). Liner Progrmming nd Etensions. Princeton University Press, Princeton, N.J. Gulutzn, P. (27). ysql 5. New Fetures: Stored Procedures. ysql A, Gulutzn, P. nd Pelzer, T. (999). SQL-99 Complete, Relly. CP ooks. Hillier, F. S. nd Lieermn, G. J. (2). Introduction to Opertions Reserch. cgrw-hill, 8th edition. Krmrkr, N. K. (984). A new polynomil-time lgorithm for liner progrmming nd etensions. Comintoric, 4:

16 354 New Developments in Rootics, Automtion nd Control Kwguchi, A. nd Perez, A. J. (27). Liner progrmming for dtse environment. ICINCO-ICSO 27: 86-9 orgn, S. S. (976). A comprison of simple method lgorithms. ster s thesis, University of Florid. Optimiztion Technology Center, N. U. nd Lortory, A. N. (27). The liner progrmming frequently sked questions. Orgniztion, T. N. (27). The netli repository t utk nd ornl. Perez, A. J. (27). Liner progrmming for dtse environment. ster s thesis, City College of New York. Richrd,. D. (99). Introduction To Liner Progrmming: Applictions nd Etensions. rcel Dekker, New York, NY. Sd, Y. nd vn der Vorst, H. (2). Itertive solution of liner systems in the 2-th century. JCA. Shmir, R. (987). The efficiency of the simple method: survey. nge. Sci., 33(3): Thoms H. Cormen, Chrles E. Leiserson, R. L. R. nd Stein, C. (2). Introduction to Algorithms, Chpter29: Liner Progrmming. IT Press nd cgrw-hill, 2nd edition. Wlsh, G. R. (985). An Introduction to Liner Progrmming. John Wiley & Sons, New York, NY. Wng, X. (99). From simple methods to interior-point methods: A rief survey on liner progrmming lgorithms. Willim H. Press, Sul A. Teukolsky, W. T. V. nd Flnnery,. P. (22). Numericl Recipes in C++: The Art of Scientific Computing. Cmridge University. Winston, W. L. (994). Opertions Reserch, Applictions nd Algorithms. Duury Press.

17 New Developments in Rootics Automtion nd Control Edited y Aleksndr Lzinic ISN Hrd cover, 45 pges Pulisher InTech Pulished online, Octoer, 28 Pulished in print edition Octoer, 28 This ook represents the contriutions of the top reserchers in the field of rootics, utomtion nd control nd will serve s vlule tool for professionls in these interdisciplinry fields. It consists of 25 chpter tht introduce oth sic reserch nd dvnced developments covering the topics such s kinemtics, dynmic nlysis, ccurcy, optimiztion design, modelling, simultion nd control. Without dout, the ook covers gret del of recent reserch, nd s such it works s vlule source for reserchers interested in the involved sujects. How to reference In order to correctly reference this scholrly work, feel free to copy nd pste the following: Akir Kwguchi nd Andrew Ngel (28). Liner Progrmming in Dtse, New Developments in Rootics Automtion nd Control, Aleksndr Lzinic (Ed.), ISN: , InTech, Aville from: ng_in_dtse InTech Europe University Cmpus STeP Ri Slvk Krutzek 83/A 5 Rijek, Croti Phone: +385 (5) F: +385 (5) InTech Chin Unit 45, Office lock, Hotel Equtoril Shnghi No.65, Yn An Rod (West), Shnghi, 24, Chin Phone: F:

EQUATIONS OF LINES AND PLANES

EQUATIONS OF LINES AND PLANES EQUATIONS OF LINES AND PLANES MATH 195, SECTION 59 (VIPUL NAIK) Corresponding mteril in the ook: Section 12.5. Wht students should definitely get: Prmetric eqution of line given in point-direction nd twopoint

More information

Reasoning to Solve Equations and Inequalities

Reasoning to Solve Equations and Inequalities Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing

More information

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered: Appendi D: Completing the Squre nd the Qudrtic Formul Fctoring qudrtic epressions such s: + 6 + 8 ws one of the topics introduced in Appendi C. Fctoring qudrtic epressions is useful skill tht cn help you

More information

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001

CS99S Laboratory 2 Preparation Copyright W. J. Dally 2001 October 1, 2001 CS99S Lortory 2 Preprtion Copyright W. J. Dlly 2 Octoer, 2 Ojectives:. Understnd the principle of sttic CMOS gte circuits 2. Build simple logic gtes from MOS trnsistors 3. Evlute these gtes to oserve logic

More information

Revisions published in the University of Innsbruck Bulletin of 18 June 2014, Issue 31, No. 509

Revisions published in the University of Innsbruck Bulletin of 18 June 2014, Issue 31, No. 509 Plese note: The following curriculum is for informtion purposes only nd not leglly inding. The leglly inding version is pulished in the pertinent University of Innsruck Bulletins. Originl version pulished

More information

How To Network A Smll Business

How To Network A Smll Business Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

5 a LAN 6 a gateway 7 a modem

5 a LAN 6 a gateway 7 a modem STARTER With the help of this digrm, try to descrie the function of these components of typicl network system: 1 file server 2 ridge 3 router 4 ckone 5 LAN 6 gtewy 7 modem Another Novell LAN Router Internet

More information

Regular Sets and Expressions

Regular Sets and Expressions Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite

More information

Small Businesses Decisions to Offer Health Insurance to Employees

Small Businesses Decisions to Offer Health Insurance to Employees Smll Businesses Decisions to Offer Helth Insurnce to Employees Ctherine McLughlin nd Adm Swinurn, June 2014 Employer-sponsored helth insurnce (ESI) is the dominnt source of coverge for nonelderly dults

More information

Or more simply put, when adding or subtracting quantities, their uncertainties add.

Or more simply put, when adding or subtracting quantities, their uncertainties add. Propgtion of Uncertint through Mthemticl Opertions Since the untit of interest in n eperiment is rrel otined mesuring tht untit directl, we must understnd how error propgtes when mthemticl opertions re

More information

How To Set Up A Network For Your Business

How To Set Up A Network For Your Business Why Network is n Essentil Productivity Tool for Any Smll Business TechAdvisory.org SME Reports sponsored by Effective technology is essentil for smll businesses looking to increse their productivity. Computer

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

Scalable Mining of Large Disk-based Graph Databases

Scalable Mining of Large Disk-based Graph Databases Sclle Mining of Lrge Disk-sed Grph Dtses Chen Wng Wei Wng Jin Pei Yongti Zhu Bile Shi Fudn University, Chin, {chenwng, weiwng1, 2465, shi}@fudn.edu.cn Stte University of New York t Bufflo, USA & Simon

More information

Hillsborough Township Public Schools Mathematics Department Computer Programming 1

Hillsborough Township Public Schools Mathematics Department Computer Programming 1 Essentil Unit 1 Introduction to Progrmming Pcing: 15 dys Common Unit Test Wht re the ethicl implictions for ming in tody s world? There re ethicl responsibilities to consider when writing computer s. Citizenship,

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn

P.3 Polynomials and Factoring. P.3 an 1. Polynomial STUDY TIP. Example 1 Writing Polynomials in Standard Form. What you should learn 33337_0P03.qp 2/27/06 24 9:3 AM Chpter P Pge 24 Prerequisites P.3 Polynomils nd Fctoring Wht you should lern Polynomils An lgeric epression is collection of vriles nd rel numers. The most common type of

More information

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process An Undergrdute Curriculum Evlution with the Anlytic Hierrchy Process Les Frir Jessic O. Mtson Jck E. Mtson Deprtment of Industril Engineering P.O. Box 870288 University of Albm Tuscloos, AL. 35487 Abstrct

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd processes. Introducing technology

More information

AntiSpyware Enterprise Module 8.5

AntiSpyware Enterprise Module 8.5 AntiSpywre Enterprise Module 8.5 Product Guide Aout the AntiSpywre Enterprise Module The McAfee AntiSpywre Enterprise Module 8.5 is n dd-on to the VirusScn Enterprise 8.5i product tht extends its ility

More information

ClearPeaks Customer Care Guide. Business as Usual (BaU) Services Peace of mind for your BI Investment

ClearPeaks Customer Care Guide. Business as Usual (BaU) Services Peace of mind for your BI Investment ClerPeks Customer Cre Guide Business s Usul (BU) Services Pece of mind for your BI Investment ClerPeks Customer Cre Business s Usul Services Tble of Contents 1. Overview...3 Benefits of Choosing ClerPeks

More information

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( ) Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +

More information

Small Business Networking

Small Business Networking Why network is n essentil productivity tool for ny smll business Effective technology is essentil for smll businesses looking to increse the productivity of their people nd business. Introducing technology

More information

Note: Principal version Modification Amendment Equivalence list Consolidated version from October 1 2014

Note: Principal version Modification Amendment Equivalence list Consolidated version from October 1 2014 Note: The following curriculum is consolidted version. It is leglly non-inding nd for informtionl purposes only. The leglly inding versions re found in the University of Innsruck Bulletins (in Germn).

More information

Morgan Stanley Ad Hoc Reporting Guide

Morgan Stanley Ad Hoc Reporting Guide spphire user guide Ferury 2015 Morgn Stnley Ad Hoc Reporting Guide An Overview For Spphire Users 1 Introduction The Ad Hoc Reporting tool is ville for your reporting needs outside of the Spphire stndrd

More information

Enterprise Risk Management Software Buyer s Guide

Enterprise Risk Management Software Buyer s Guide Enterprise Risk Mngement Softwre Buyer s Guide 1. Wht is Enterprise Risk Mngement? 2. Gols of n ERM Progrm 3. Why Implement ERM 4. Steps to Implementing Successful ERM Progrm 5. Key Performnce Indictors

More information

Factoring Polynomials

Factoring Polynomials Fctoring Polynomils Some definitions (not necessrily ll for secondry school mthemtics): A polynomil is the sum of one or more terms, in which ech term consists of product of constnt nd one or more vribles

More information

JaERM Software-as-a-Solution Package

JaERM Software-as-a-Solution Package JERM Softwre-s--Solution Pckge Enterprise Risk Mngement ( ERM ) Public listed compnies nd orgnistions providing finncil services re required by Monetry Authority of Singpore ( MAS ) nd/or Singpore Stock

More information

Modular Generic Verification of LTL Properties for Aspects

Modular Generic Verification of LTL Properties for Aspects Modulr Generic Verifiction of LTL Properties for Aspects Mx Goldmn Shmuel Ktz Computer Science Deprtment Technion Isrel Institute of Technology {mgoldmn, ktz}@cs.technion.c.il ABSTRACT Aspects re seprte

More information

Homework 3 Solutions

Homework 3 Solutions CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.

More information

GFI MilArchiver 6 vs C2C Archive One Policy Mnger GFI Softwre www.gfi.com GFI MilArchiver 6 vs C2C Archive One Policy Mnger GFI MilArchiver 6 C2C Archive One Policy Mnger Who we re Generl fetures Supports

More information

GFI MilArchiver 6 vs Quest Softwre Archive Mnger GFI Softwre www.gfi.com GFI MilArchiver 6 vs Quest Softwre Archive Mnger GFI MilArchiver 6 Quest Softwre Archive Mnger Who we re Generl fetures Supports

More information

RTL Power Optimization with Gate-level Accuracy

RTL Power Optimization with Gate-level Accuracy RTL Power Optimiztion with Gte-level Accurcy Qi Wng Cdence Design Systems, Inc Sumit Roy Clypto Design Systems, Inc 555 River Oks Prkwy, Sn Jose 95125 2903 Bunker Hill Lne, Suite 208, SntClr 95054 qwng@cdence.com

More information

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control Chpter 5 Configurtion of ISDN Protocols This chpter provides instructions for configuring the ISDN protocols in the SP201 for signling conversion. Use the sections tht reflect the softwre you re configuring.

More information

SPECIAL PRODUCTS AND FACTORIZATION

SPECIAL PRODUCTS AND FACTORIZATION MODULE - Specil Products nd Fctoriztion 4 SPECIAL PRODUCTS AND FACTORIZATION In n erlier lesson you hve lernt multipliction of lgebric epressions, prticulrly polynomils. In the study of lgebr, we come

More information

Pentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful

Pentominoes. Pentominoes. Bruce Baguley Cascade Math Systems, LLC. The pentominoes are a simple-looking set of objects through which some powerful Pentominoes Bruce Bguley Cscde Mth Systems, LLC Astrct. Pentominoes nd their reltives the polyominoes, polycues, nd polyhypercues will e used to explore nd pply vrious importnt mthemticl concepts. In this

More information

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

Bayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the

More information

Simulation of operation modes of isochronous cyclotron by a new interative method

Simulation of operation modes of isochronous cyclotron by a new interative method NUKLEONIKA 27;52(1):29 34 ORIGINAL PAPER Simultion of opertion modes of isochronous cyclotron y new intertive method Ryszrd Trszkiewicz, Mrek Tlch, Jcek Sulikowski, Henryk Doruch, Tdeusz Norys, Artur Srok,

More information

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY

PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive

More information

Section 5-4 Trigonometric Functions

Section 5-4 Trigonometric Functions 5- Trigonometric Functions Section 5- Trigonometric Functions Definition of the Trigonometric Functions Clcultor Evlution of Trigonometric Functions Definition of the Trigonometric Functions Alternte Form

More information

A Study on Autonomous Cooperation between Things in Web of Things

A Study on Autonomous Cooperation between Things in Web of Things A Study on Autonomous Coopertion etween Things in We of Things Jehk Yu, Hyunjoong Kng, Hyo-Chn Bng, MyungNm Be 2 Electronics nd Telecommunictions Reserch Institute, 38 Gjeongno, Yuseong-gu, Dejeon, 305-700,

More information

Techniques for Requirements Gathering and Definition. Kristian Persson Principal Product Specialist

Techniques for Requirements Gathering and Definition. Kristian Persson Principal Product Specialist Techniques for Requirements Gthering nd Definition Kristin Persson Principl Product Specilist Requirements Lifecycle Mngement Elicit nd define business/user requirements Vlidte requirements Anlyze requirements

More information

Concept Formation Using Graph Grammars

Concept Formation Using Graph Grammars Concept Formtion Using Grph Grmmrs Istvn Jonyer, Lwrence B. Holder nd Dine J. Cook Deprtment of Computer Science nd Engineering University of Texs t Arlington Box 19015 (416 Ytes St.), Arlington, TX 76019-0015

More information

New Internet Radio Feature

New Internet Radio Feature XXXXX XXXXX XXXXX /XW-SMA3/XW-SMA4 New Internet Rdio Feture EN This wireless speker hs een designed to llow you to enjoy Pndor*/Internet Rdio. In order to ply Pndor/Internet Rdio, however, it my e necessry

More information

In addition, the following elements form an integral part of the Agency strike prevention plan:

In addition, the following elements form an integral part of the Agency strike prevention plan: UNITED STTES DEPRTMENT OF GRICULTURE Wshington, DC 20250 Federl Grin Inspection Service FGIS Directive 4711.2 6/16/80 STRIKE PREVENTION ND STRIKE CONTINGENCY PLNS I PURPOSE This Instruction: Estlishes

More information

Introducing Kashef for Application Monitoring

Introducing Kashef for Application Monitoring WextWise 2010 Introducing Kshef for Appliction The Cse for Rel-time monitoring of dtcenter helth is criticl IT process serving vriety of needs. Avilbility requirements of 6 nd 7 nines of tody SOA oriented

More information

How To Make A Network More Efficient

How To Make A Network More Efficient Rethinking Virtul Network Emedding: Sustrte Support for Pth Splitting nd Migrtion Minln Yu, Yung Yi, Jennifer Rexford, Mung Ching Princeton University Princeton, NJ {minlnyu,yyi,jrex,chingm}@princeton.edu

More information

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324

A.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324 A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................

More information

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator

1. Find the zeros Find roots. Set function = 0, factor or use quadratic equation if quadratic, graph to find zeros on calculator AP Clculus Finl Review Sheet When you see the words. This is wht you think of doing. Find the zeros Find roots. Set function =, fctor or use qudrtic eqution if qudrtic, grph to find zeros on clcultor.

More information

Welch Allyn CardioPerfect Workstation Installation Guide

Welch Allyn CardioPerfect Workstation Installation Guide Welch Allyn CrdioPerfect Worksttion Instlltion Guide INSTALLING CARDIOPERFECT WORKSTATION SOFTWARE & ACCESSORIES ON A SINGLE PC For softwre version 1.6.5 or lter For network instlltion, plese refer to

More information

Integration. 148 Chapter 7 Integration

Integration. 148 Chapter 7 Integration 48 Chpter 7 Integrtion 7 Integrtion t ech, by supposing tht during ech tenth of second the object is going t constnt speed Since the object initilly hs speed, we gin suppose it mintins this speed, but

More information

Combined Liability Insurance. Information and Communication Technology Proposal form

Combined Liability Insurance. Information and Communication Technology Proposal form Comined Liility Insurnce Informtion nd Communiction Technology Proposl form Comined Liility Insurnce Informtion nd Communiction Technology - Proposl form This proposl form must e completed nd signed y

More information

9 CONTINUOUS DISTRIBUTIONS

9 CONTINUOUS DISTRIBUTIONS 9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete

More information

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.

Treatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3. The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only

More information

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES

LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of

More information

Unleashing the Power of Cloud

Unleashing the Power of Cloud Unleshing the Power of Cloud A Joint White Pper by FusionLyer nd NetIQ Copyright 2015 FusionLyer, Inc. All rights reserved. No prt of this publiction my be reproduced, stored in retrievl system, or trnsmitted,

More information

Gene Expression Programming: A New Adaptive Algorithm for Solving Problems

Gene Expression Programming: A New Adaptive Algorithm for Solving Problems Gene Expression Progrmming: A New Adptive Algorithm for Solving Prolems Cândid Ferreir Deprtmento de Ciêncis Agráris Universidde dos Açores 9701-851 Terr-Chã Angr do Heroísmo, Portugl Complex Systems,

More information

Tool Support for Feature-Oriented Software Development

Tool Support for Feature-Oriented Software Development Tool Support for Feture-Oriented Softwre Development FetureIDE: An Eclipse-Bsed Approch Thoms Leich leich@iti.cs.unimgdeurg.de Sven Apel pel@iti.cs.unimgdeurg.de Lur Mrnitz mrnitz@cs.unimgdeurg.de ABSTRACT

More information

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.

Use Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions. Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd

More information

Binary Representation of Numbers Autar Kaw

Binary Representation of Numbers Autar Kaw Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy

More information

2 DIODE CLIPPING and CLAMPING CIRCUITS

2 DIODE CLIPPING and CLAMPING CIRCUITS 2 DIODE CLIPPING nd CLAMPING CIRCUITS 2.1 Ojectives Understnding the operting principle of diode clipping circuit Understnding the operting principle of clmping circuit Understnding the wveform chnge of

More information

Section 7-4 Translation of Axes

Section 7-4 Translation of Axes 62 7 ADDITIONAL TOPICS IN ANALYTIC GEOMETRY Section 7-4 Trnsltion of Aes Trnsltion of Aes Stndrd Equtions of Trnslted Conics Grphing Equtions of the Form A 2 C 2 D E F 0 Finding Equtions of Conics In the

More information

Vector differentiation. Chapters 6, 7

Vector differentiation. Chapters 6, 7 Chpter 2 Vectors Courtesy NASA/JPL-Cltech Summry (see exmples in Hw 1, 2, 3) Circ 1900 A.D., J. Willird Gis invented useful comintion of mgnitude nd direction clled vectors nd their higher-dimensionl counterprts

More information

Vendor Rating for Service Desk Selection

Vendor Rating for Service Desk Selection Vendor Presented By DATE Using the scores of 0, 1, 2, or 3, plese rte the vendor's presenttion on how well they demonstrted the functionl requirements in the res below. Also consider how efficient nd functionl

More information

Answer, Key Homework 10 David McIntyre 1

Answer, Key Homework 10 David McIntyre 1 Answer, Key Homework 10 Dvid McIntyre 1 This print-out should hve 22 questions, check tht it is complete. Multiple-choice questions my continue on the next column or pge: find ll choices efore mking your

More information

Operations with Polynomials

Operations with Polynomials 38 Chpter P Prerequisites P.4 Opertions with Polynomils Wht you should lern: Write polynomils in stndrd form nd identify the leding coefficients nd degrees of polynomils Add nd subtrct polynomils Multiply

More information

2. Transaction Cost Economics

2. Transaction Cost Economics 3 2. Trnsction Cost Economics Trnsctions Trnsctions Cn Cn Be Be Internl Internl or or Externl Externl n n Orgniztion Orgniztion Trnsctions Trnsctions occur occur whenever whenever good good or or service

More information

2 Workload and duration of the Program 3 Courses 4 Types of course units and number of participants

2 Workload and duration of the Program 3 Courses 4 Types of course units and number of participants The English version of the consolidted curriculum for the "Bchelor Progrm in Mngement nd Economics" is not leglly inding nd is for informtionl purposes only. The leglly inding text which regultes the different

More information

IaaS Configuration for Virtual Platforms

IaaS Configuration for Virtual Platforms IS Configurtion for Virtul Pltforms vcloud Automtion Center 6.0 This document supports the version of ech product listed nd supports ll susequent versions until the document is replced y new edition. To

More information

Utilization of Smoking Cessation Benefits in Medicaid Managed Care, 2009-2013

Utilization of Smoking Cessation Benefits in Medicaid Managed Care, 2009-2013 Utiliztion of Smoking Cesstion Benefits in Medicid Mnged Cre, 2009-2013 Office of Qulity nd Ptient Sfety New York Stte Deprtment of Helth Jnury 2015 Introduction According to the New York Stte Tocco Control

More information

Curriculum for the Master Program in Business Education at the University of Innsbruck School of Management

Curriculum for the Master Program in Business Education at the University of Innsbruck School of Management The English version of the curriculum for the Mster Progrm in Business Eduction is not leglly inding nd is for informtionl purposes only. The legl sis is regulted in the curriculum pulished in the University

More information

ORBITAL MANEUVERS USING LOW-THRUST

ORBITAL MANEUVERS USING LOW-THRUST Proceedings of the 8th WSEAS Interntionl Conference on SIGNAL PROCESSING, ROBOICS nd AUOMAION ORBIAL MANEUVERS USING LOW-HRUS VIVIAN MARINS GOMES, ANONIO F. B. A. PRADO, HÉLIO KOII KUGA Ntionl Institute

More information

Portfolio approach to information technology security resource allocation decisions

Portfolio approach to information technology security resource allocation decisions Portfolio pproch to informtion technology security resource lloction decisions Shivrj Knungo Deprtment of Decision Sciences The George Wshington University Wshington DC 20052 knungo@gwu.edu Abstrct This

More information

Additional Protocol to the Convention on Human Rights and Biomedicine concerning Genetic Testing for Health Purposes

Additional Protocol to the Convention on Human Rights and Biomedicine concerning Genetic Testing for Health Purposes Council of Europe Trety Series - No. 203 Additionl Protocol to the Convention on Humn Rights nd Biomedicine concerning Genetic Testing for Helth Purposes Strsourg, 27.XI.2008 2 CETS 203 Humn Rights nd

More information

Value Function Approximation using Multiple Aggregation for Multiattribute Resource Management

Value Function Approximation using Multiple Aggregation for Multiattribute Resource Management Journl of Mchine Lerning Reserch 9 (2008) 2079-2 Submitted 8/08; Published 0/08 Vlue Function Approximtion using Multiple Aggregtion for Multittribute Resource Mngement Abrhm George Wrren B. Powell Deprtment

More information

NQF Level: 2 US No: 7480

NQF Level: 2 US No: 7480 NQF Level: 2 US No: 7480 Assessment Guide Primry Agriculture Rtionl nd irrtionl numers nd numer systems Assessor:.......................................... Workplce / Compny:.................................

More information

Math 135 Circles and Completing the Square Examples

Math 135 Circles and Completing the Square Examples Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for

More information

HP Application Lifecycle Management

HP Application Lifecycle Management HP Appliction Lifecycle Mngement Softwre Version: 11.00 Tutoril Document Relese Dte: Novemer 2010 Softwre Relese Dte: Novemer 2010 Legl Notices Wrrnty The only wrrnties for HP products nd services re set

More information

VoIP for the Small Business

VoIP for the Small Business Reducing your telecommunictions costs VoIP (Voice over Internet Protocol) offers low cost lterntive to expensive trditionl phone services nd is rpidly becoming the communictions system of choice for smll

More information

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report DlNBVRGH + + THE CITY OF EDINBURGH COUNCIL Sickness Absence Monitoring Report Executive of the Council 8fh My 4 I.I...3 Purpose of report This report quntifies the mount of working time lost s result of

More information

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany

g(y(a), y(b)) = o, B a y(a)+b b y(b)=c, Boundary Value Problems Lecture Notes to Accompany Lecture Notes to Accompny Scientific Computing An Introductory Survey Second Edition by Michel T Heth Boundry Vlue Problems Side conditions prescribing solution or derivtive vlues t specified points required

More information

Helicopter Theme and Variations

Helicopter Theme and Variations Helicopter Theme nd Vritions Or, Some Experimentl Designs Employing Pper Helicopters Some possible explntory vribles re: Who drops the helicopter The length of the rotor bldes The height from which the

More information

APPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS

APPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS APPLICATION NOTE Revision 3.0 MTD/PS-0534 August 13, 2008 KODAK IMAGE SENDORS COLOR CORRECTION FOR IMAGE SENSORS TABLE OF FIGURES Figure 1: Spectrl Response of CMOS Imge Sensor...3 Figure 2: Byer CFA Ptterns...4

More information

Your duty, however, does not require disclosure of matter:

Your duty, however, does not require disclosure of matter: Your Duty of Disclosure Before you enter into contrct of generl insurnce with n insurer, you hve duty, under the Insurnce Contrcts Act 1984 (Cth), to disclose to the insurer every mtter tht you know, or

More information

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity

Babylonian Method of Computing the Square Root: Justifications Based on Fuzzy Techniques and on Computational Complexity Bbylonin Method of Computing the Squre Root: Justifictions Bsed on Fuzzy Techniques nd on Computtionl Complexity Olg Koshelev Deprtment of Mthemtics Eduction University of Texs t El Pso 500 W. University

More information

Small Business Cloud Services

Small Business Cloud Services Smll Business Cloud Services Summry. We re thick in the midst of historic se-chnge in computing. Like the emergence of personl computers, grphicl user interfces, nd mobile devices, the cloud is lredy profoundly

More information

Blackbaud The Raiser s Edge

Blackbaud The Raiser s Edge Riser s Edge Slesce.com Comprison Summry Introduction (continued) Chrt -(continued) Non-Prit Strter Pck Compny Bckground Optionl Technology Both Slesce modules supports hs become include over Slesce.com

More information

Physics 43 Homework Set 9 Chapter 40 Key

Physics 43 Homework Set 9 Chapter 40 Key Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x

More information

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010

Learning Outcomes. Computer Systems - Architecture Lecture 4 - Boolean Logic. What is Logic? Boolean Logic 10/28/2010 /28/2 Lerning Outcomes At the end of this lecture you should: Computer Systems - Architecture Lecture 4 - Boolen Logic Eddie Edwrds eedwrds@doc.ic.c.uk http://www.doc.ic.c.uk/~eedwrds/compsys (Hevily sed

More information

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers. 2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this

More information

All pay auctions with certain and uncertain prizes a comment

All pay auctions with certain and uncertain prizes a comment CENTER FOR RESEARC IN ECONOMICS AND MANAGEMENT CREAM Publiction No. 1-2015 All py uctions with certin nd uncertin prizes comment Christin Riis All py uctions with certin nd uncertin prizes comment Christin

More information

Graphs on Logarithmic and Semilogarithmic Paper

Graphs on Logarithmic and Semilogarithmic Paper 0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl

More information

Test Management using Telelogic DOORS. Francisco López Telelogic DOORS Specialist

Test Management using Telelogic DOORS. Francisco López Telelogic DOORS Specialist Test Mngement using Telelogic DOORS Frncisco López Telelogic DOORS Specilist Introduction Telelogic solution for Requirements Mngement DOORS Requirements mngement nd trcebility pltform for complex systems

More information

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right.

Multiplication and Division - Left to Right. Addition and Subtraction - Left to Right. Order of Opertions r of Opertions Alger P lese Prenthesis - Do ll grouped opertions first. E cuse Eponents - Second M D er Multipliction nd Division - Left to Right. A unt S hniqu Addition nd Sutrction

More information

Facilitating Rapid Analysis and Decision Making in the Analytical Lab.

Facilitating Rapid Analysis and Decision Making in the Analytical Lab. Fcilitting Rpid Anlysis nd Decision Mking in the Anlyticl Lb. WHITE PAPER Sponsored by: Accelrys, Inc. Frnk Brown, Ph.D., Chief Science Officer, Accelrys Mrch 2009 Abstrct Competitive success requires

More information

SINCLAIR COMMUNITY COLLEGE DAYTON, OHIO DEPARTMENT SYLLABUS FOR COURSE IN MAT 1470 - COLLEGE ALGEBRA (4 SEMESTER HOURS)

SINCLAIR COMMUNITY COLLEGE DAYTON, OHIO DEPARTMENT SYLLABUS FOR COURSE IN MAT 1470 - COLLEGE ALGEBRA (4 SEMESTER HOURS) SINCLAIR COMMUNITY COLLEGE DAYTON, OHIO DEPARTMENT SYLLABUS FOR COURSE IN MAT 470 - COLLEGE ALGEBRA (4 SEMESTER HOURS). COURSE DESCRIPTION: Polynomil, rdicl, rtionl, exponentil, nd logrithmic functions

More information

0.1 Basic Set Theory and Interval Notation

0.1 Basic Set Theory and Interval Notation 0.1 Bsic Set Theory nd Intervl Nottion 3 0.1 Bsic Set Theory nd Intervl Nottion 0.1.1 Some Bsic Set Theory Notions Like ll good Mth ooks, we egin with definition. Definition 0.1. A set is well-defined

More information

Implementation Evaluation Modeling of Selecting ERP Software Based on Fuzzy Theory

Implementation Evaluation Modeling of Selecting ERP Software Based on Fuzzy Theory Implementtion Evlution Modeling of Selecting ERP Softwre Bsed on Fuzzy Theory Xukn Xu 1, Ydong Jing 1 nd Zheng Shi 2 1 Informtion Mngement Deprtment, Chngzhou Cmpus, Hohi University, Chngzhou 213022, Jingsu,

More information

Object Semantics. 6.170 Lecture 2

Object Semantics. 6.170 Lecture 2 Object Semntics 6.170 Lecture 2 The objectives of this lecture re to: to help you become fmilir with the bsic runtime mechnism common to ll object-oriented lnguges (but with prticulr focus on Jv): vribles,

More information

Application-Level Traffic Monitoring and an Analysis on IP Networks

Application-Level Traffic Monitoring and an Analysis on IP Networks Appliction-Level Trffic Monitoring nd n Anlysis on IP Networks Myung-Sup Kim, Young J. Won, nd Jmes Won-Ki Hong Trditionl trffic identifiction methods bsed on wellknown port numbers re not pproprite for

More information