5 The Primal-Dual Method
|
|
- Robyn Johnston
- 5 years ago
- Views:
Transcription
1 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton over the last years, as t can be generalzed to more complex optmzaton settngs and can be used to derve approxmaton schemes for NP-hard problems. PDM s a vast topc, and we can only gve a very basc dea here. There are many flavors, versons and extensons to t. 1 In ts most basc form, the man prncple s to mprove a feasble dual soluton untl the prmal satsfes complementary slackness condtons, ndcatng optmalty n cases where strong dualty holds, or an approxmate soluton where t doesn t. 5.1 The prmal-dual method for lnear programs Assume we have a prmal mnmzaton and a dual maxmzaton problem n standard form,.e. and mn x n max y m c x Ax b x 0 b y A y c y 0 Recall the property of complementary slackness for optmal solutons x, y n LP: Prmal complementary slackness (PCS) : At least one of x j = 0 or a j y = c j must hold. Dual complementary slackness (DCS) : At least one of y = 0 or j a j x j = b must hold. The central observaton s that f strong dualty holds for all constrants n the prmal and the dual for some y, that y s n fact an optmal soluton. Hence, CS can be used as a certfcate for optmalty. Ths leads to the orgnal verson of the PDM for LPs, whch can be summarzed thusly: 1 If you are eager to fnd out more, there s an extensve recent revew ( document/ /), wth a free preprnt (.e. not peer-revewed) verson ( 5429). 1. Fnd some feasble dual soluton y. 2. Gven y, fnd some x that mnmzes the volaton of complementary slackness n the prmal. 3. If CS holds, y s optmal, and PDM termnates. 4. Otherwse, change y so as to mprove the dual objectve b y, and go to 2. Note that at ths pont, the soluton x obtaned n step 2. s not necessarly feasble and mght volate prmal constrants! Obvously, we requre some way to fnd x n step 2., and a way to measure whether complementary slackness holds, and f not, to what degree t s volated. Gven some feasble dual soluton y, let I := y = 0 be the set of all ndces for whch the dual varables are zero, and m J := j a j y = c j =1 the set of all ndces for whch the dual constrants are bndng. Obvously, I serves as an ndex for those prmal constrants for whch DCS holds because ther assocated dual varable y s zero, and J denotes the dual constrants that are bndng for a gven y. The complements of those sets are denoted by I and J. J s the set of ndces j for whch the dual constrants are not bndng, and hence x j would have to be zero for PCS to hold. Lkewse, I s the set of ndces for whch y > 0, and ths the prmal constrants would have to be bndng n order for DCS to hold. The dea s therefore to construct a new optmzaton problem called the restrcted prmal, n whch we try to reduce the slackness n the prmal constrants and the non-zeroness of the prmal varables x j, j J as much as we can. If and only f they are both zero, complementary slackness holds and y was an optmal soluton. Usng slack varables s to capture prmal constrant volatons, the restrcted prmal (RP) s defned as f RP = mn s + x j I j J I : j a j x j b I : j a j x j s = b s 0 x :33 1
2 If the soluton to the RP s zero, we know that complementary slackness holds, and, due to strong dualty, we have an optmal soluton for the prmal and the dual. In case the RP has a non-zero optmal value, we want to mprove the dual soluton b y. One way to do ths s to fnd a vector z such that b z > 0, whch leads to b y + b z = b (y + z) > b y To fnd such a z, we can use the followng observaton: the dual of the restrcted prmal, the restrcted dual, has the same objectve value as the restrcted prmal, due to strong dualty, and wll be strctly postve. We hence know that we can use the optmal soluton z of the restrcted prmal to mprove y. We derve the restrcted dual (RD) by our usual scheme, Ths leads to 0 x J mn 1 1 x J s x J x J s 0 z I A IJ A IJ O b I max b z z I A I J A I J E = b I f RD = max b z j J : a jz 0 j J : a jz 1 I : z 0 I : z 1 Notce that the last constrant does not seem to appear n the scheme; whle the prmal equalty constrant mposes no restrctons on y for I, due to E we also have z 1 and therefore z 1. However, whle z s guaranteed to mprove our dual soluton, the newly formed vector mght be volatng constrants A (y + z ) c, y + z 0 Ths can be salvaged by scalng z wth a small enough constant ε > 0 such that A (y + εz ) c, y + εz 0, Ths constant s easly derved: f I, then y + εz 0 for any ε 0. The same f true for those I for whch z 0. The only problematc case s for negatve z,.e. whenever I and 1 z < 0. To guarantee non-negatvty, we use y + εz 0 εz y ε y z and then take the mnmum across all those cases, ε mn y I z z < 0. Lkewse, for j J, the constrant a j (y + εz ) c holds snce and a j (y + εz ) = a j z 0 a j y + ε a j z The same holds for j J whenever a jz 0, hence the only problematc case s whenever j J and 0 < a jz 1. Then, a j y + ε a j z c j ε a j z c j a j y :33 2
3 and therefore for ε mn j J ε c j a j y a jz c j a j y a jz a j z > 0 the dual constrants are preserved. Choosng the smaller of those two ε-values takes us from a feasble dual soluton y to a better feasble dual soluton y + εz. The full verson of the prmal-dual method for LP s then obtaned as follows 1. Fnd some feasble dual soluton y. 2. Gven y, formulate the restrcted prmal and fnd the mnmum value of ts objectve f RP. 3. If f RP = 0, complementary slackness holds and y s optmal. Return. 4. Otherwse, formulate the restrcted dual. Determne the best ε and change y to y + εz so as to mprove the dual objectve b y, and go to step 2. One of the reasons to employ ths sort of algorthm s that the cost c vanshes. Ths turns a weghted problem nto an unweghted problem, and step 2 can potentally be solved usng effcent combnatoral optmzaton algorthms that do not rely on lnear programmng. 5.2 PDM for approxmaton schemes The prmal dual method can be used to derve approxmaton schemes for NP-hard problems. As a motvatng example, we consder the followng par of dscrete optmzaton problem: Let G = (V, E) be an undrected graph wth vertex set V and edge set E. The vertex cover problem asks to fnd the smallest subset V opt V such that each edge n G s ncdent to at least one node n V opt. Its ILP formulaton s straghtforward: mn v V x v (v, w) E : x v + x w 1 x v {0, 1} Its dual s the maxmum matchng problem, whch asks to fnd a maxmum set of edges such that no two edges share a node. It can be wrtten as max e E v V : w:(v,w) E y vw 1 y e {0, 1} If we were to wrte ths as a scheme, the matrx A would be the transpose of the nodeedge ncdence matrx. A node or edge s selected f ts varable s 1, and deselected f t s 0. In bpartte graphs, A s TUM, and thus we can solve both vertex cover as well as maxmum matchng n polynomal tme. Specfcally, maxmum matchng can be seen as a specal case of s-t-flow, by addng source and snk nodes as well as puttng drectonalty on the edges such that they all pont towards the second vertex partton. Strong dualty therefor provdes a smple proof for the followng mportant result: Theorem 1 (Kőng s theorem). In a bpartte graph, the number of edges n a maxmum matchng equals the number of nodes n a mnmum vertex cover. As a non-mandatory exercse, try and see how the PDM for LPs apples n ths case. Unfortunately, for general graphs, vertex cover s an NP-hard problem, whereas maxmum matchng s solvable n polynomal tme, e.g. usng Edmond s algorthm. We cannot expect strong dualty to hold. As we want to cover as many edges wth as few nodes as possble, there s an obvous greedy heurstc we could try n order to fnd a good approxmaton. Let s call t the naïve heurstc: 1. Pck the node v wth the hghest degree deg v,.e. the hghest number of ncdent edges. 2. Add v to the soluton, then delete v and all ts ncdent edges. 3. Repeat untl no edges are left. The queston arses whether the naïve heurstc comes wth any performance guarantees. To that end, let us assume w.l.o.g. that the nodes and edges are numbered n the order n whch they are selected, so v 1 s selected before v 2, and e 1 before e 2. v k and ts ncdent edges are selected n the k-th teraton. We are tryng to mnmze the the total number of selected nodes, hence our objectve functon s a cost functon, wth optmal value. Selectng a node adds 1 to the total cost. Equvalently, we can dstrbute the cost of selectng a node equally among all remanng edges ncdent to that node, hence n teraton k, each edge that gets deleted ncurs a cost of y e 1 deg(v k ) :33 3
4 Assume there are n nodes and m edges. Assume edge e j s ncdent to v k and removed durng the k-th teraton. We want to obtan a bound on how much cost s ncurred by removng e j. Snce larger node degrees means lower edge costs, we want to fnd a lower bound on the largest degree stll n the graph: Before enterng the k-th teraton, there are at least m j + 1 uncovered edges left n the graph. Obvously, f we could solve vertex cover optmally, we would requre no more than nodes to cover these remanng edges. We therefore have to dstrbute m j + 1 edges among (at most) nodes. Ths leads to a very basc but mportant result from Ramsey theory: f we were to have n pgeonholes and m pgeons, what s the mnmum number of pgeons n the most crowded hole? Theorem 2 (Pgeonhole prncple). In any partton of a set of m elements nto n blocks, there exsts a block wth at least m n elements. Ths means that somewhere n the graph, there exsts a node v wth m j + 1 deg(v) m j + 1, so the cost of removng e j s at most m j + 1. Over all m teratons, the cost ncurred by the naïve heurstc, f N H, s therefore bounded as m m f N H m j + 1 = = H m j j=1 where H m s the m-th harmonc number. Snce 2 H m O{log m} O{log(n 2 )} = O{2 log n} = O{log n}, the naïve heurstc s an O(log n)-approxmaton of vertex cover. That s not very exctng news: even for moderately szed problems wth 1000 nodes, the approxmaton rato can be almost seven! Even worse, the rato grows wth the problem sze. Ths case may serve as an example that sometmes the obvous approach s not as good a choce as we mght thnk. Instead, we wll turn to usng the PDM to derve a much better heurstc. For approxmaton schemes for problems lke vertex cover, we don t have strong dualty, and complementary slackness does not hold for a prmal and ts dual smultaneously. Instead, the PDM s modfed so that only prmal complementary slackness s enforced, whereas dual complementary slackness s relaxed: nstead of 2 We use O{f } for the set of functons growng not faster than f, and O(f ) for an element from ths set. In practce, the two are often not dstngushed. j=1 requrng constrants for non-zero varables to hold wth equalty, one can requre the slack to be wthn a certan bounded nterval. Ths leads to the followng relaxed complementary slackness condtons (stated here for a prmal mnmzaton problem n standard form): Relaxed PCS : For all j some α 1, at least one of x j = 0 or c j α a j y c j must hold. Relaxed DCS : For all and some β 1, at least one of y = 0 or β b j a j x j b must. So we have as well as c α A y c c x αy Ax b Ax βb y Ax βb y αy Ax αβb y As before, for a prmal mnmzaton problem, weak dualty mples that b y c x. Combnng the above yelds b y c x αβb y In other words, f relaxed complementary slackness holds, the optmal prmal soluton s between the optmal dual soluton and a constant factor of that soluton, hence αβ serves as an approxmaton rato. The prmal-dual method for ILP approxmatons works as follows: 1. Set x = y = Rase some of the y wthout volatng any dual constrants. 3. Whenever a dual constrant becomes bndng, freeze the dual varables occurrng n that constrant, and rase the assocated prmal varables. 4. Repeat from 2. untl all dual constrants become tght. In the begnnng, PCS s guaranteed by x j = 0. Makng the j-th dual constrant bndng frees up x j to take on a postve value wthout volatng PCS. Furthermore, we mantan dual feasblty by not rasng any frozen y, or ncreasng non-frozen ones by too much. Snce for general ILP strong dualty does not hold, we do not mantan DCS, but only ts relaxed form :33 4
5 We now have a prncpled way to derve an approxmaton heurstc for vertex cover: The prmary complementary slackness condton nvolves prmary node varables and dual constrants, so f x v > 0, then PCS s enforced by requrng w:(v,w) E y vw = 1 On the other hand, dual complementary slackness, nvolvng the dual edge varables and prmal constrants, says that f y e > 0 for some e = (v, w), we must have 3. Whenever a dual constrant becomes tght,.e. (u,w) δ(u) y vw = c u (the sum of ncdent edges equals the node weght), select that node (rase the prmal varable) and freeze the edges (fx values of dual varables, snce rasng them later would volate the constrant). 4. Repeat from 2. untl all edges are frozen. Check for yourself that ths s stll a 2-approxmaton n the weghted case! x v + x w = 1 However, as we sad before, n the prmal dual method, only the PCS s enforced, but the DCS s relaxed f necessary. The PDM proceeds lke ths: 1. Set y = 0, except for one entry y e = 1. Ths s a feasble matchng, as t obeys all dual constrants. Also, set x = 0; note ths s not a feasble prmal soluton, as t s not a vertex cover and volates prmal constrants. 2. We now have x e = 1 > 0 for some e := (v, w). Ths means that the dual constrants v, w are bndng (α = 1) and ther PCS s satsfed. Ths allows us to set x v = x w = 1, as they don t have to be zero anymore for PCS to hold. We thereby decrease the number of volated prmal constrants, as we added coverng nodes and x v + x w 1 now holds. However, DCS holds only n ts relaxed form, as x v + x w = 2 1, so β = 2. Ths means the algorthm s a 2-approxmaton of vertex cover! 3. If no more edge can be added, return. 4. Otherwse, pck another edge that does not share a node wth one we selected before. Ths mproves the dual objectve, snce the matchng gets larger. The prmal soluton mght stll not be a vertex cover and thus be nfeasble. Go to step 2. For the weghted mnmum vertex cover, the dual does not have a straghtforward nterpretaton such as matchng anymore. Stll, the PDM works: 1. Set all nodes and edges to Pck a non-frozen edge (u, v) (.e. dual varable), and rase ts value such that the sum of edges ncdent to node u does not exceed the cost of node u,.e. (u,w) δ(u) y vw c u, and lkewse for v :33 5
GSLM Operations Research II Fall 13/14
GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are
More informationLECTURE NOTES Duality Theory, Sensitivity Analysis, and Parametric Programming
CEE 60 Davd Rosenberg p. LECTURE NOTES Dualty Theory, Senstvty Analyss, and Parametrc Programmng Learnng Objectves. Revew the prmal LP model formulaton 2. Formulate the Dual Problem of an LP problem (TUES)
More information6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour
6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the
More informationThe Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique
//00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy
More information11. APPROXIMATION ALGORITHMS
Copng wth NP-completeness 11. APPROXIMATION ALGORITHMS load balancng center selecton prcng method: vertex cover LP roundng: vertex cover generalzed load balancng knapsack problem Q. Suppose I need to solve
More informationU.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 5 Luca Trevisan September 7, 2017
U.C. Bereley CS294: Beyond Worst-Case Analyss Handout 5 Luca Trevsan September 7, 207 Scrbed by Haars Khan Last modfed 0/3/207 Lecture 5 In whch we study the SDP relaxaton of Max Cut n random graphs. Quc
More informationOptimization Methods: Integer Programming Integer Linear Programming 1. Module 7 Lecture Notes 1. Integer Linear Programming
Optzaton Methods: Integer Prograng Integer Lnear Prograng Module Lecture Notes Integer Lnear Prograng Introducton In all the prevous lectures n lnear prograng dscussed so far, the desgn varables consdered
More informationSupport Vector Machines
/9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.
More informationComplex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.
Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal
More informationSmoothing Spline ANOVA for variable screening
Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory
More informationSolving two-person zero-sum game by Matlab
Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by
More informationSupport Vector Machines. CS534 - Machine Learning
Support Vector Machnes CS534 - Machne Learnng Perceptron Revsted: Lnear Separators Bnar classfcaton can be veed as the task of separatng classes n feature space: b > 0 b 0 b < 0 f() sgn( b) Lnear Separators
More informationKent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming
CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems
More informationSupport Vector Machines
Support Vector Machnes Decson surface s a hyperplane (lne n 2D) n feature space (smlar to the Perceptron) Arguably, the most mportant recent dscovery n machne learnng In a nutshell: map the data to a predetermned
More informationCMPS 10 Introduction to Computer Science Lecture Notes
CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not
More informationCompiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz
Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster
More informationCHAPTER 2 DECOMPOSITION OF GRAPHS
CHAPTER DECOMPOSITION OF GRAPHS. INTRODUCTION A graph H s called a Supersubdvson of a graph G f H s obtaned from G by replacng every edge uv of G by a bpartte graph,m (m may vary for each edge by dentfyng
More informationAn Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices
Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal
More informationMathematics 256 a course in differential equations for engineering students
Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the
More informationFixing Max-Product: Convergent Message Passing Algorithms for MAP LP-Relaxations
Fxng Max-Product: Convergent Message Passng Algorthms for MAP LP-Relaxatons Amr Globerson Tomm Jaakkola Computer Scence and Artfcal Intellgence Laboratory Massachusetts Insttute of Technology Cambrdge,
More informationProblem Set 3 Solutions
Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,
More informationCourse Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms
Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques
More informationCSE 326: Data Structures Quicksort Comparison Sorting Bound
CSE 326: Data Structures Qucksort Comparson Sortng Bound Steve Setz Wnter 2009 Qucksort Qucksort uses a dvde and conquer strategy, but does not requre the O(N) extra space that MergeSort does. Here s the
More informationCSE 326: Data Structures Quicksort Comparison Sorting Bound
CSE 326: Data Structures Qucksort Comparson Sortng Bound Bran Curless Sprng 2008 Announcements (5/14/08) Homework due at begnnng of class on Frday. Secton tomorrow: Graded homeworks returned More dscusson
More informationAn Optimal Algorithm for Prufer Codes *
J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,
More informationImproving Low Density Parity Check Codes Over the Erasure Channel. The Nelder Mead Downhill Simplex Method. Scott Stransky
Improvng Low Densty Party Check Codes Over the Erasure Channel The Nelder Mead Downhll Smplex Method Scott Stransky Programmng n conjuncton wth: Bors Cukalovc 18.413 Fnal Project Sprng 2004 Page 1 Abstract
More informationAn Application of Network Simplex Method for Minimum Cost Flow Problems
BALKANJM 0 (0) -0 Contents lsts avalable at BALKANJM BALKAN JOURNAL OF MATHEMATICS journal homepage: www.balkanjm.com An Applcaton of Network Smplex Method for Mnmum Cost Flow Problems Ergun EROGLU *a
More informationFeature Reduction and Selection
Feature Reducton and Selecton Dr. Shuang LIANG School of Software Engneerng TongJ Unversty Fall, 2012 Today s Topcs Introducton Problems of Dmensonalty Feature Reducton Statstc methods Prncpal Components
More informationFor instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)
Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A
More informationParallelism for Nested Loops with Non-uniform and Flow Dependences
Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr
More informationCS 534: Computer Vision Model Fitting
CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust
More information1 Introducton Effcent and speedy recovery of electrc power networks followng a major outage, caused by a dsaster such as extreme weather or equpment f
Effcent Recovery from Power Outage (Extended Summary) Sudpto Guha Λ Anna Moss y Joseph (Seff) Naor z Baruch Scheber x Abstract We study problems that are motvated by the real-lfe problem of effcent recovery
More informationNUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS
ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana
More informationRange images. Range image registration. Examples of sampling patterns. Range images and range surfaces
Range mages For many structured lght scanners, the range data forms a hghly regular pattern known as a range mage. he samplng pattern s determned by the specfc scanner. Range mage regstraton 1 Examples
More informationSENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR
SENSITIVITY ANALYSIS IN LINEAR PROGRAMMING USING A CALCULATOR Judth Aronow Rchard Jarvnen Independent Consultant Dept of Math/Stat 559 Frost Wnona State Unversty Beaumont, TX 7776 Wnona, MN 55987 aronowju@hal.lamar.edu
More informationGreedy Technique - Definition
Greedy Technque Greedy Technque - Defnton The greedy method s a general algorthm desgn paradgm, bult on the follong elements: confguratons: dfferent choces, collectons, or values to fnd objectve functon:
More informationProgramming in Fortran 90 : 2017/2018
Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values
More informationMore on the Linear k-arboricity of Regular Graphs R. E. L. Aldred Department of Mathematics and Statistics University of Otago P.O. Box 56, Dunedin Ne
More on the Lnear k-arborcty of Regular Graphs R E L Aldred Department of Mathematcs and Statstcs Unversty of Otago PO Box 56, Dunedn New Zealand Ncholas C Wormald Department of Mathematcs Unversty of
More informationRadial Basis Functions
Radal Bass Functons Mesh Reconstructon Input: pont cloud Output: water-tght manfold mesh Explct Connectvty estmaton Implct Sgned dstance functon estmaton Image from: Reconstructon and Representaton of
More informationHermite Splines in Lie Groups as Products of Geodesics
Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the
More informationMulticriteria Decision Making
Multcrtera Decson Makng Andrés Ramos (Andres.Ramos@comllas.edu) Pedro Sánchez (Pedro.Sanchez@comllas.edu) Sonja Wogrn (Sonja.Wogrn@comllas.edu) Contents 1. Basc concepts 2. Contnuous methods 3. Dscrete
More informationToday s Outline. Sorting: The Big Picture. Why Sort? Selection Sort: Idea. Insertion Sort: Idea. Sorting Chapter 7 in Weiss.
Today s Outlne Sortng Chapter 7 n Wess CSE 26 Data Structures Ruth Anderson Announcements Wrtten Homework #6 due Frday 2/26 at the begnnng of lecture Proect Code due Mon March 1 by 11pm Today s Topcs:
More informationModule Management Tool in Software Development Organizations
Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,
More informationAbstract Ths paper ponts out an mportant source of necency n Smola and Scholkopf's Sequental Mnmal Optmzaton (SMO) algorthm for SVM regresson that s c
Improvements to SMO Algorthm for SVM Regresson 1 S.K. Shevade S.S. Keerth C. Bhattacharyya & K.R.K. Murthy shrsh@csa.sc.ernet.n mpessk@guppy.mpe.nus.edu.sg cbchru@csa.sc.ernet.n murthy@csa.sc.ernet.n 1
More informationClustering on antimatroids and convex geometries
Clusterng on antmatrods and convex geometres YULIA KEMPNER 1, ILYA MUCNIK 2 1 Department of Computer cence olon Academc Insttute of Technology 52 Golomb tr., P.O. Box 305, olon 58102 IRAEL 2 Department
More informationDesign and Analysis of Algorithms
Desgn and Analyss of Algorthms Heaps and Heapsort Reference: CLRS Chapter 6 Topcs: Heaps Heapsort Prorty queue Huo Hongwe Recap and overvew The story so far... Inserton sort runnng tme of Θ(n 2 ); sorts
More informationAssignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.
Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton
More informationLecture 5: Multilayer Perceptrons
Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented
More informationMachine Learning. Support Vector Machines. (contains material adapted from talks by Constantin F. Aliferis & Ioannis Tsamardinos, and Martin Law)
Machne Learnng Support Vector Machnes (contans materal adapted from talks by Constantn F. Alfers & Ioanns Tsamardnos, and Martn Law) Bryan Pardo, Machne Learnng: EECS 349 Fall 2014 Support Vector Machnes
More information1 Introducton Gven a graph G = (V; E), a non-negatve cost on each edge n E, and a set of vertces Z V, the mnmum Stener problem s to nd a mnmum cost su
Stener Problems on Drected Acyclc Graphs Tsan-sheng Hsu y, Kuo-Hu Tsa yz, Da-We Wang yz and D. T. Lee? September 1, 1995 Abstract In ths paper, we consder two varatons of the mnmum-cost Stener problem
More informationBiostatistics 615/815
The E-M Algorthm Bostatstcs 615/815 Lecture 17 Last Lecture: The Smplex Method General method for optmzaton Makes few assumptons about functon Crawls towards mnmum Some recommendatons Multple startng ponts
More informationCHAPTER 3 SEQUENTIAL MINIMAL OPTIMIZATION TRAINED SUPPORT VECTOR CLASSIFIER FOR CANCER PREDICTION
48 CHAPTER 3 SEQUENTIAL MINIMAL OPTIMIZATION TRAINED SUPPORT VECTOR CLASSIFIER FOR CANCER PREDICTION 3.1 INTRODUCTION The raw mcroarray data s bascally an mage wth dfferent colors ndcatng hybrdzaton (Xue
More informationOptimizing Document Scoring for Query Retrieval
Optmzng Document Scorng for Query Retreval Brent Ellwen baellwe@cs.stanford.edu Abstract The goal of ths project was to automate the process of tunng a document query engne. Specfcally, I used machne learnng
More informationCS1100 Introduction to Programming
Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact
More informationEWA: Exact Wiring-Sizing Algorithm
EWA: Exact Wrng-Szng Algorthm Rony Kay, Gennady Bucheuv and Lawrence T. Plegg Carnege Mellon Unversty Department of Electrcal and Computer Engneerng Pttsburgh, PA 15213 ABSTRACT The wre szng problem under
More informationSubspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;
Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features
More informationClassification / Regression Support Vector Machines
Classfcaton / Regresson Support Vector Machnes Jeff Howbert Introducton to Machne Learnng Wnter 04 Topcs SVM classfers for lnearly separable classes SVM classfers for non-lnearly separable classes SVM
More informationIntra-Parametric Analysis of a Fuzzy MOLP
Intra-Parametrc Analyss of a Fuzzy MOLP a MIAO-LING WANG a Department of Industral Engneerng and Management a Mnghsn Insttute of Technology and Hsnchu Tawan, ROC b HSIAO-FAN WANG b Insttute of Industral
More informationLECTURE : MANIFOLD LEARNING
LECTURE : MANIFOLD LEARNING Rta Osadchy Some sldes are due to L.Saul, V. C. Raykar, N. Verma Topcs PCA MDS IsoMap LLE EgenMaps Done! Dmensonalty Reducton Data representaton Inputs are real-valued vectors
More informationApproximating Clique and Biclique Problems*
Ž. JOURNAL OF ALGORITHMS 9, 17400 1998 ARTICLE NO. AL980964 Approxmatng Clque and Bclque Problems* Dort S. Hochbaum Department of Industral Engneerng and Operatons Research and Walter A. Haas School of
More informationTPL-Aware Displacement-driven Detailed Placement Refinement with Coloring Constraints
TPL-ware Dsplacement-drven Detaled Placement Refnement wth Colorng Constrants Tao Ln Iowa State Unversty tln@astate.edu Chrs Chu Iowa State Unversty cnchu@astate.edu BSTRCT To mnmze the effect of process
More informationEfficient Distributed File System (EDFS)
Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate
More informationMeta-heuristics for Multidimensional Knapsack Problems
2012 4th Internatonal Conference on Computer Research and Development IPCSIT vol.39 (2012) (2012) IACSIT Press, Sngapore Meta-heurstcs for Multdmensonal Knapsack Problems Zhbao Man + Computer Scence Department,
More informationExercises (Part 4) Introduction to R UCLA/CCPR. John Fox, February 2005
Exercses (Part 4) Introducton to R UCLA/CCPR John Fox, February 2005 1. A challengng problem: Iterated weghted least squares (IWLS) s a standard method of fttng generalzed lnear models to data. As descrbed
More informationSorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions
Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place
More informationSequential search. Building Java Programs Chapter 13. Sequential search. Sequential search
Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to
More informationVirtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory
Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process
More informationArray transposition in CUDA shared memory
Array transposton n CUDA shared memory Mke Gles February 19, 2014 Abstract Ths short note s nspred by some code wrtten by Jeremy Appleyard for the transposton of data through shared memory. I had some
More informationPolyhedral Compilation Foundations
Polyhedral Complaton Foundatons Lous-Noël Pouchet pouchet@cse.oho-state.edu Dept. of Computer Scence and Engneerng, the Oho State Unversty Feb 8, 200 888., Class # Introducton: Polyhedral Complaton Foundatons
More informationR s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes
SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges
More informationNAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics
Introducton G10 NAG Fortran Lbrary Chapter Introducton G10 Smoothng n Statstcs Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Smoothng Methods... 2 2.2 Smoothng Splnes and Regresson
More informationLP Rounding for k-centers with Non-uniform Hard Capacities
LP Roundng for k-centers wth Non-unform Hard Capactes (Extended Abstract) Marek Cygan, MohammadTagh Hajaghay, Samr Khuller IDSIA, Unversty of Lugano, Swtzerland. Emal: marek@dsa.ch Department of Computer
More informationNon-Split Restrained Dominating Set of an Interval Graph Using an Algorithm
Internatonal Journal of Advancements n Research & Technology, Volume, Issue, July- ISS - on-splt Restraned Domnatng Set of an Interval Graph Usng an Algorthm ABSTRACT Dr.A.Sudhakaraah *, E. Gnana Deepka,
More informationRouting on Switch Matrix Multi-FPGA Systems
Routng on Swtch Matrx Mult-FPGA Systems Abdel Enou and N. Ranganathan Center for Mcroelectroncs Research Department of Computer Scence and Engneerng Unversty of South Florda Tampa, FL 33620 Abstract In
More informationChapter 6 Programmng the fnte element method Inow turn to the man subject of ths book: The mplementaton of the fnte element algorthm n computer programs. In order to make my dscusson as straghtforward
More informationMessage-Passing Algorithms for Quadratic Programming Formulations of MAP Estimation
Message-Passng Algorthms for Quadratc Programmng Formulatons of MAP Estmaton Akshat Kumar Department of Computer Scence Unversty of Massachusetts Amherst akshat@cs.umass.edu Shlomo Zlbersten Department
More informationCHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION
24 CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION The present chapter proposes an IPSO approach for multprocessor task schedulng problem wth two classfcatons, namely, statc ndependent tasks and
More informationSorting. Sorted Original. index. index
1 Unt 16 Sortng 2 Sortng Sortng requres us to move data around wthn an array Allows users to see and organze data more effcently Behnd the scenes t allows more effectve searchng of data There are MANY
More informationThe Codesign Challenge
ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.
More informationy and the total sum of
Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton
More informationA Facet Generation Procedure. for solving 0/1 integer programs
A Facet Generaton Procedure for solvng 0/ nteger programs by Gyana R. Parja IBM Corporaton, Poughkeepse, NY 260 Radu Gaddov Emery Worldwde Arlnes, Vandala, Oho 45377 and Wlbert E. Wlhelm Teas A&M Unversty,
More informationFair Allocation with Succinct Representation
Far Allocaton wth Succnct Representaton Saeed Alae Rav Kumar Dept. of Computer Scence Unversty of Maryland College Park, MD 074. {saeed, malekan}@cs.umd.edu Azarakhsh Malekan Erk Vee Yahoo! Research 701
More informationIntro. Iterators. 1. Access
Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy
More informationA New Approach For the Ranking of Fuzzy Sets With Different Heights
New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays
More informationParallel matrix-vector multiplication
Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more
More informationF Geometric Mean Graphs
Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.
More informationMachine Learning: Algorithms and Applications
14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of
More informationControl strategies for network efficiency and resilience with route choice
Control strateges for networ effcency and reslence wth route choce Andy Chow Ru Sha Centre for Transport Studes Unversty College London, UK Centralsed strateges UK 1 Centralsed strateges Some effectve
More informationCSCI 104 Sorting Algorithms. Mark Redekopp David Kempe
CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal
More informationAPPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT
3. - 5. 5., Brno, Czech Republc, EU APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT Abstract Josef TOŠENOVSKÝ ) Lenka MONSPORTOVÁ ) Flp TOŠENOVSKÝ
More informationAll-Pairs Shortest Paths. Approximate All-Pairs shortest paths Approximate distance oracles Spanners and Emulators. Uri Zwick Tel Aviv University
Approxmate All-Pars shortest paths Approxmate dstance oracles Spanners and Emulators Ur Zwck Tel Avv Unversty Summer School on Shortest Paths (PATH05 DIKU, Unversty of Copenhagen All-Pars Shortest Paths
More informationLOOP ANALYSIS. The second systematic technique to determine all currents and voltages in a circuit
LOOP ANALYSS The second systematic technique to determine all currents and voltages in a circuit T S DUAL TO NODE ANALYSS - T FRST DETERMNES ALL CURRENTS N A CRCUT AND THEN T USES OHM S LAW TO COMPUTE
More informationActive Contours/Snakes
Actve Contours/Snakes Erkut Erdem Acknowledgement: The sldes are adapted from the sldes prepared by K. Grauman of Unversty of Texas at Austn Fttng: Edges vs. boundares Edges useful sgnal to ndcate occludng
More informationTaxonomy of Large Margin Principle Algorithms for Ordinal Regression Problems
Taxonomy of Large Margn Prncple Algorthms for Ordnal Regresson Problems Amnon Shashua Computer Scence Department Stanford Unversty Stanford, CA 94305 emal: shashua@cs.stanford.edu Anat Levn School of Computer
More informationCost-efficient deployment of distributed software services
1/30 Cost-effcent deployment of dstrbuted software servces csorba@tem.ntnu.no 2/30 Short ntroducton & contents Cost-effcent deployment of dstrbuted software servces Cost functons Bo-nspred decentralzed
More informationPriority queues and heaps Professors Clark F. Olson and Carol Zander
Prorty queues and eaps Professors Clark F. Olson and Carol Zander Prorty queues A common abstract data type (ADT) n computer scence s te prorty queue. As you mgt expect from te name, eac tem n te prorty
More informationAlgebraic Connectivity Optimization of the Air Transportation Network
Algebrac Connectvty Optmzaton of the Ar Transportaton Netork Gregore Spers, Peng We, Dengfeng Sun Abstract In transportaton netorks the robustness of a netork regardng nodes and lnks falures s a key factor
More informationBrave New World Pseudocode Reference
Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be
More informationOverlapping Clustering with Sparseness Constraints
2012 IEEE 12th Internatonal Conference on Data Mnng Workshops Overlappng Clusterng wth Sparseness Constrants Habng Lu OMIS, Santa Clara Unversty hlu@scu.edu Yuan Hong MSIS, Rutgers Unversty yhong@cmc.rutgers.edu
More informationHarmonic Coordinates for Character Articulation PIXAR
Harmonc Coordnates for Character Artculaton PIXAR Pushkar Josh Mark Meyer Tony DeRose Bran Green Tom Sanock We have a complex source mesh nsde of a smpler cage mesh We want vertex deformatons appled to
More information