High-Contrast Algorithm Behavior Observation, Hypothesis, and Experimental Design

Size: px
Start display at page:

Download "High-Contrast Algorithm Behavior Observation, Hypothesis, and Experimental Design"

Transcription

1 Summary High-Contrast Algorithm Behavior Observation, Hypothesis, and Eperimental Design Matthias F. Stallmann and Franc Brglez Two competing algorithms: int-dual - all-integer dual simple old idea, only limited success cple - industrial strength optimizer Restricted domain (logic minimization). Etreme differences across instances: time out for one algorithm vs. seconds for the other. Want to profile the instances, or at least eplain the differences. EpCS, 7/6/4, San Diego EpCS, 7/6/4, San Diego Outline a typical problem instance Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work algorithms treated as black boes int-dual cple minimize subject to + 4 >= >= >= 4 >= 4 >= 3 4 >= 3 4 constraint matri pictorial representation EpCS, 7/6/4, San Diego 3 EpCS, 7/6/4, San Diego 4

2 A pattern? A pattern: Less pronounced # succ. completions, one hour original + 3 random row/col permutations dedicated fast processor alg N/33 med. mean stdev alg N/33 9 med. 5.9 mean stdev Intdual Intdual cple cple Benchmark: e64.b (logic synthesis) -- a canonical picture Benchmark: rot.b EpCS, 7/6/4, San Diego 5 EpCS, 7/6/4, San Diego 6 A pattern: Not much of one The pattern alg N/33 med. mean stdev Intdual cple Benchmark: ma4 Benchmark: e64.b int-dual Benchmark: ma4 cple EpCS, 7/6/4, San Diego 7 EpCS, 7/6/4, San Diego 8

3 Process for generating pictures this is as good as it gets... crossing minimization may still look random (moves nonzeros close to the diagonal) This is ma4 after crossing minimization EpCS, 7/6/4, San Diego 9 EpCS, 7/6/4, San Diego Conversion to block structure does not improve performance Basic idea crossing minimization int-dual performance: not necessarily improved More underlying structure => better for int-dual Less underlying structure => better for cple e64 as posted: 7.5 after minimization: 55. recall that median = 5.9 underlying block structure random permutations... } better aggregate performance for int-dual Why is this interesting? e.g., optimum for e64.b was unknown prior to int-dual What do we mean by structure? More precise (and testable) hypothesis? EpCS, 7/6/4, San Diego EpCS, 7/6/4, San Diego

4 Outline From observation to controlled eperiment Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work Behavior in the wild : algorithms on industrial instances Behavior in captivity : algorithms on carefully designed instances EpCS, 7/6/4, San Diego 3 EpCS, 7/6/4, San Diego 4 Instances with pure blocks Construction of blocks with added rows two pure blocks add new row(s) with random nonzeros below both blocks Create K copies of a small instance, arrange on diagonal, permute rows and columns randomly 3 times to obtain a class of equivalent instances. row factor = # of rows added each step repeat apply same process to new blocks Create 3 instances with different random choices of the nonzeros; randomly permute each one EpCS, 7/6/4, San Diego 5 EpCS, 7/6/4, San Diego 6

5 Blocks used in results reported here st5 - instance based on Steiner triples (5 vars, 35 const) maincont - small logic synthesis instances (6 vars, 5 const) f5m - slightly larger logic synthesis instance (75 vars, 87 const) Outline Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work EpCS, 7/6/4, San Diego 7 EpCS, 7/6/4, San Diego 8 Details and reporting results for st5, pure blocks Class of 3 random related instances blocks Intel(R) Xeon(TM) CPU 3.GHz, GB memory, 48 KB cache Report runtime only (seconds, time out = 6) int-dual cple > hours Here we report median only, but note number of successful completions, if not 3 EpCS, 7/6/4, San Diego 9 EpCS, 7/6/4, San Diego

6 results for maincont, pure blocks results for f5m, pure blocks blocks int-dual <. <. 4 < blocks int-dual cple > > > 6 cple <. <. <...5 > 6 9/3 completions > 6 between 4 and 8 blocks int-dual is roughly between O(n^) and O(n^3) cple is wildly eponential EpCS, 7/6/4, San Diego EpCS, 7/6/4, San Diego added rows? results for maincont, added rows 8 blocks with increasing row factor row fact net page... N/3 id >6 5 >6 >6 cple blank = neither dominates, X = neither finishes in hour I = int-dual dominates, C = cple dominates N/ mean = 59.9 stdev = Wild distributions EpCS, 7/6/4, San Diego 3 EpCS, 7/6/4, San Diego 4

7 this is not going well all is not lost: let s stick with what we know not much hope of a statistically meaningful comparison between int-dual and cple. too many variables: will anything hold up not clear what to measure id domain already very limited EpCS, 7/6/4, San Diego >6 >6 >6 int-dual gets worse as more random nonzeros are added (has been observed for columns, too) 5 Outline.... int-dual performs well on pure blocks cple performs badly on pure blocks EpCS, 7/6/4, San Diego 6 A viable hypothesis Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work int-dual runtime is predictable on pure-blocks instances and grows polynomially with increasing number of blocks cple runtime on pure-blocks instances becomes erratic as soon as an instance-dependent threshold is reached int-dual runtime increases and/or becomes erratic as the number of nonzeros added to a pure-blocks instance is increased erratic = heavy tail distribution (stdev >> mean >> median) or time outs and overflows EpCS, 7/6/4, San Diego 7 EpCS, 7/6/4, San Diego 8

8 why this is good not dependent on comparison between the algorithms not dependent on statistics etreme contrasts are what we observed initially -- so we need to deal with them appears to be true in a variety of circumstances even though instances are artificial, may eplain why int-dual has limited use Outline Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work EpCS, 7/6/4, San Diego 9 EpCS, 7/6/4, San Diego 3 row fact. id cple f5m, added rows 3 blocks, increasing row factor N/ >6 >6 >6 >6 >6 > N/3 distributions that are not erratic Outline Observation in a limited domain Initial eperiments: design Initial eperiments: results A hypothesis More eperimental evidence Theoretical eplanation Summary and future work EpCS, 7/6/4, San Diego 3 EpCS, 7/6/4, San Diego 3

9 All-Integer Dual Simple a pivot step verte cover of a triangle + >= e= 3 min e e e3 tableau 3 3 e e e e3 e3 choose variable to do the trick choose constraint to satisfy e 3 swap them now =, e= EpCS, 7/6/4, San Diego 33 EpCS, 7/6/4, San Diego 34 eample (continued) oops: solution is not integral 3/ / / / / / / / / 3/ / 3/ / / / another pivot... and another, but this one involves division by... and we get fractions. The LP solution is =, =, 3 = EpCS, 7/6/4, San Diego 35 EpCS, 7/6/4, San Diego 36

10 Maintaining an integer tableau int-dual: another look e e3 3 e e3 ct in pivot row means no change in pivot column e ct e 3 add a new constraint that must be met by all integer solutions = 3 =, cost = in pivot column means no change in pivot row EpCS, 7/6/4, San Diego 37 EpCS, 7/6/4, San Diego 38 int-dual on pure blocks why does int-dual work well on pure blocks? element of second block not changed by pivot in first block this phenomenon is not affected by random permutation because each block is solved independently progress is made in whatever block contains the pivot One out of three parts (of the hypothesis) eplained EpCS, 7/6/4, San Diego 39 EpCS, 7/6/4, San Diego 4

11 part : cple does badly on pure blocks cple is a branch and bound algorithm branching tree for one block y tree for two blocks Note: this is a gross oversimplification Summary Some observations about algorithm behavior on industrial benchmarks Hypothesis specializes observations to a limited, verifiable domain Etensive eperiments consistent with hypothesis Partial theoretical eplanation for hypothesis Aside: int-dual dates to 96 s; eperiments in early 97 s deemed it good for small instances of set cover (but impractical otherwise) EpCS, 7/6/4, San Diego 4 EpCS, 7/6/4, San Diego 4 Future work Thanks... better understanding of both algorithms to eplain what s going on pure branch and bound instead of cple eperiments to eplore variations on variables (how to add rows, columns too, add entries) observations in other domains (particular where there has been success with int-dual) other approaches to claiming one algorithm better than another where distributions are crazy can we learn from outliers, i.e., easy and hard instances of a class Xiao Yu Li, now at Amazon, started us down this path Eric Sills, NCSU High Performance Computing Center, helped with hardware and software availability Source code for software and (eventually) instance classes and results at EpCS, 7/6/4, San Diego 43 EpCS, 7/6/4, San Diego 44

Franklin Math Bowl 2007 Group Problem Solving Test 6 th Grade

Franklin Math Bowl 2007 Group Problem Solving Test 6 th Grade Group Problem Solving Test 6 th Grade 1. Consecutive integers are integers that increase by one. For eample, 6, 7, and 8 are consecutive integers. If the sum of 9 consecutive integers is 9, what is the

More information

Statistical Modeling and Analysis of Scientific Inquiry: The Basics of Hypothesis Testing

Statistical Modeling and Analysis of Scientific Inquiry: The Basics of Hypothesis Testing Statistical Modeling and Analysis of Scientific Inquiry: The Basics of Hypothesis Testing So, What is Statistics? Theory and techniques for learning from data How to collect How to analyze How to interpret

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.4 THE MATRIX EQUATION A = b MATRIX EQUATION A = b m n Definition: If A is an matri, with columns a 1, n, a n, and if is in, then the product of A and, denoted by

More information

Matt Heavner CSE710 Fall 2009

Matt Heavner CSE710 Fall 2009 Matt Heavner mheavner@buffalo.edu CSE710 Fall 2009 Problem Statement: Given a set of cities and corresponding locations, what is the shortest closed circuit that visits all cities without loops?? Fitness

More information

Honors Advanced Algebra Unit 2 Polynomial Operations September 14, 2016 Task 7: What s Your Identity?

Honors Advanced Algebra Unit 2 Polynomial Operations September 14, 2016 Task 7: What s Your Identity? Honors Advanced Algebra Name Unit Polynomial Operations September 14, 016 Task 7: What s Your Identity? MGSE9 1.A.APR.4 Prove polynomial identities and use them to describe numerical relationships. MGSE9

More information

A Review of Linear Programming

A Review of Linear Programming A Review of Linear Programming Instructor: Farid Alizadeh IEOR 4600y Spring 2001 February 14, 2001 1 Overview In this note we review the basic properties of linear programming including the primal simplex

More information

Expression arrays, normalization, and error models

Expression arrays, normalization, and error models 1 Epression arrays, normalization, and error models There are a number of different array technologies available for measuring mrna transcript levels in cell populations, from spotted cdna arrays to in

More information

Honours Advanced Algebra Unit 2: Polynomial Functions What s Your Identity? Learning Task (Task 8) Date: Period:

Honours Advanced Algebra Unit 2: Polynomial Functions What s Your Identity? Learning Task (Task 8) Date: Period: Honours Advanced Algebra Name: Unit : Polynomial Functions What s Your Identity? Learning Task (Task 8) Date: Period: Introduction Equivalent algebraic epressions, also called algebraic identities, give

More information

CPS 616 ITERATIVE IMPROVEMENTS 10-1

CPS 616 ITERATIVE IMPROVEMENTS 10-1 CPS 66 ITERATIVE IMPROVEMENTS 0 - APPROACH Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change

More information

Central Limit Theorem and the Law of Large Numbers Class 6, Jeremy Orloff and Jonathan Bloom

Central Limit Theorem and the Law of Large Numbers Class 6, Jeremy Orloff and Jonathan Bloom Central Limit Theorem and the Law of Large Numbers Class 6, 8.5 Jeremy Orloff and Jonathan Bloom Learning Goals. Understand the statement of the law of large numbers. 2. Understand the statement of the

More information

IMPROVING THE PERFORMANCE OF SPARSE LU MATRIX FACTORIZATION USING A SUPERNODAL ALGORITHM

IMPROVING THE PERFORMANCE OF SPARSE LU MATRIX FACTORIZATION USING A SUPERNODAL ALGORITHM IMPROVING THE PERFORMANCE OF SPARSE LU MATRIX FACTORIZATION USING A SUPERNODAL ALGORITHM Bogdan OANCEA PhD, Associate Professor, Artife University, Bucharest, Romania E-mail: oanceab@ie.ase.ro Abstract:

More information

Matrix equation Ax = b

Matrix equation Ax = b Fall 2017 Matrix equation Ax = b Authors: Alexander Knop Institute: UC San Diego Previously On Math 18 DEFINITION If v 1,..., v l R n, then a set of all linear combinations of them is called Span {v 1,...,

More information

2 3 x = 6 4. (x 1) 6

2 3 x = 6 4. (x 1) 6 Solutions to Math 201 Final Eam from spring 2007 p. 1 of 16 (some of these problem solutions are out of order, in the interest of saving paper) 1. given equation: 1 2 ( 1) 1 3 = 4 both sides 6: 6 1 1 (

More information

Think about systems of linear equations, their solutions, and how they might be represented with matrices.

Think about systems of linear equations, their solutions, and how they might be represented with matrices. Think About This Situation Unit 4 Lesson 3 Investigation 1 Name: Think about systems of linear equations, their solutions, and how they might be represented with matrices. a Consider a system of two linear

More information

Paula s Peaches (Learning Task)

Paula s Peaches (Learning Task) Paula s Peaches (Learning Task) Name Date Mathematical Goals Factorization Solving quadratic equations Essential Questions How do we use quadratic functions to represent contetual situations? How do we

More information

NIT #7 CORE ALGE COMMON IALS

NIT #7 CORE ALGE COMMON IALS UN NIT #7 ANSWER KEY POLYNOMIALS Lesson #1 Introduction too Polynomials Lesson # Multiplying Polynomials Lesson # Factoring Polynomials Lesson # Factoring Based on Conjugate Pairs Lesson #5 Factoring Trinomials

More information

In Chapters 3 and 4 we introduced linear programming

In Chapters 3 and 4 we introduced linear programming SUPPLEMENT The Simplex Method CD3 In Chapters 3 and 4 we introduced linear programming and showed how models with two variables can be solved graphically. We relied on computer programs (WINQSB, Excel,

More information

Ch. 7.1 Polynomial Degree & Finite Differences

Ch. 7.1 Polynomial Degree & Finite Differences Ch. 7.1 Polynomial Degree & Finite Differences Learning Intentions: Define terminology associated with polynomials: term, monomial, binomial & trinomial. Use the finite differences method to determine

More information

Composition of and the Transformation of Functions

Composition of and the Transformation of Functions 1 3 Specific Outcome Demonstrate an understanding of operations on, and compositions of, functions. Demonstrate an understanding of the effects of horizontal and vertical translations on the graphs of

More information

Revised Simplex Method

Revised Simplex Method DM545 Linear and Integer Programming Lecture 7 Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 2 Motivation Complexity of single pivot operation

More information

Elimination Method Streamlined

Elimination Method Streamlined Elimination Method Streamlined There is a more streamlined version of elimination method where we do not have to write all of the steps in such an elaborate way. We use matrices. The system of n equations

More information

Name Period Date. RNS1.3 Scientific Notation Read and write large and small numbers. Use scientific notation to write numbers and solve problems.

Name Period Date. RNS1.3 Scientific Notation Read and write large and small numbers. Use scientific notation to write numbers and solve problems. Name Period Date REAL NUMBER SYSTEM Student Pages for Packet : RNS. Conjectures About Make conjectures about multiplication with eponents. Use eponent definitions and rules to simplify epressions. RNS.

More information

Table of Contents. Unit 3: Rational and Radical Relationships. Answer Key...AK-1. Introduction... v

Table of Contents. Unit 3: Rational and Radical Relationships. Answer Key...AK-1. Introduction... v These materials may not be reproduced for any purpose. The reproduction of any part for an entire school or school system is strictly prohibited. No part of this publication may be transmitted, stored,

More information

a+bi form abscissa absolute value x x x absolute value equation x x absolute value function absolute value inequality x x accurate adjacent angles

a+bi form abscissa absolute value x x x absolute value equation x x absolute value function absolute value inequality x x accurate adjacent angles Words CR PS Reason Comm Geom ALG Stat Prob NSO a+bi form abscissa absolute value absolute value equation absolute value function absolute value inequality accurate adjacent angles adjacent sides algebraic

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.1 SYSTEMS OF LINEAR EQUATIONS LINEAR EQUATION,, 1 n A linear equation in the variables equation that can be written in the form a a a b 1 1 2 2 n n a a is an where

More information

Linear & Integer programming

Linear & Integer programming ELL 894 Performance Evaluation on Communication Networks Standard form I Lecture 5 Linear & Integer programming subject to where b is a vector of length m c T A = b (decision variables) and c are vectors

More information

DM545 Linear and Integer Programming. Lecture 7 Revised Simplex Method. Marco Chiarandini

DM545 Linear and Integer Programming. Lecture 7 Revised Simplex Method. Marco Chiarandini DM545 Linear and Integer Programming Lecture 7 Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 2 Motivation Complexity of single pivot operation

More information

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0

Slack Variable. Max Z= 3x 1 + 4x 2 + 5X 3. Subject to: X 1 + X 2 + X x 1 + 4x 2 + X X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Simplex Method Slack Variable Max Z= 3x 1 + 4x 2 + 5X 3 Subject to: X 1 + X 2 + X 3 20 3x 1 + 4x 2 + X 3 15 2X 1 + X 2 + 4X 3 10 X 1 0, X 2 0, X 3 0 Standard Form Max Z= 3x 1 +4x 2 +5X 3 + 0S 1 + 0S 2

More information

Introduction to statistics

Introduction to statistics Introduction to statistics Literature Raj Jain: The Art of Computer Systems Performance Analysis, John Wiley Schickinger, Steger: Diskrete Strukturen Band 2, Springer David Lilja: Measuring Computer Performance:

More information

A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2.

A = Chapter 6. Linear Programming: The Simplex Method. + 21x 3 x x 2. C = 16x 1. + x x x 1. + x 3. 16,x 2. Chapter 6 Linear rogramming: The Simple Method Section The Dual roblem: Minimization with roblem Constraints of the Form Learning Objectives for Section 6. Dual roblem: Minimization with roblem Constraints

More information

2.6 Complexity Theory for Map-Reduce. Star Joins 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51

2.6 Complexity Theory for Map-Reduce. Star Joins 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51 2.6. COMPLEXITY THEORY FOR MAP-REDUCE 51 Star Joins A common structure for data mining of commercial data is the star join. For example, a chain store like Walmart keeps a fact table whose tuples each

More information

Exponential Functions, Logarithms, and e

Exponential Functions, Logarithms, and e Chapter 3 Starry Night, painted by Vincent Van Gogh in 1889 The brightness of a star as seen from Earth is measured using a logarithmic scale Eponential Functions, Logarithms, and e This chapter focuses

More information

Math 180A. Lecture 16 Friday May 7 th. Expectation. Recall the three main probability density functions so far (1) Uniform (2) Exponential.

Math 180A. Lecture 16 Friday May 7 th. Expectation. Recall the three main probability density functions so far (1) Uniform (2) Exponential. Math 8A Lecture 6 Friday May 7 th Epectation Recall the three main probability density functions so far () Uniform () Eponential (3) Power Law e, ( ), Math 8A Lecture 6 Friday May 7 th Epectation Eample

More information

MATLAB Project: LU Factorization

MATLAB Project: LU Factorization Name Purpose: To practice Lay's LU Factorization Algorithm and see how it is related to MATLAB's lu function. Prerequisite: Section 2.5 MATLAB functions used: *, lu; and ludat and gauss from Laydata4 Toolbox

More information

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3

IE 400 Principles of Engineering Management. The Simplex Algorithm-I: Set 3 IE 4 Principles of Engineering Management The Simple Algorithm-I: Set 3 So far, we have studied how to solve two-variable LP problems graphically. However, most real life problems have more than two variables!

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algera 1.4 THE MATRIX EQUATION A MATRIX EQUATION A mn Definition: If A is an matri, with columns a 1,, a n, and if is in R n, then the product of A and, denoted y A, is the

More information

1. Computação Evolutiva

1. Computação Evolutiva 1. Computação Evolutiva Renato Tinós Departamento de Computação e Matemática Fac. de Filosofia, Ciência e Letras de Ribeirão Preto Programa de Pós-Graduação Em Computação Aplicada 1.6. Aspectos Teóricos*

More information

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. Review for Exam. Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. x + y z = 2 x + 2y + z = 3 x + y + (a 2 5)z = a 2 The augmented matrix for

More information

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 11

EEC 686/785 Modeling & Performance Evaluation of Computer Systems. Lecture 11 EEC 686/785 Modeling & Performance Evaluation of Computer Systems Lecture Department of Electrical and Computer Engineering Cleveland State University wenbing@ieee.org (based on Dr. Raj Jain s lecture

More information

ECE 307 Techniques for Engineering Decisions

ECE 307 Techniques for Engineering Decisions ECE 7 Techniques for Engineering Decisions Introduction to the Simple Algorithm George Gross Department of Electrical and Computer Engineering University of Illinois at Urbana-Champaign ECE 7 5 9 George

More information

Chapter 1 Linear Programming. Paragraph 5 Duality

Chapter 1 Linear Programming. Paragraph 5 Duality Chapter 1 Linear Programming Paragraph 5 Duality What we did so far We developed the 2-Phase Simplex Algorithm: Hop (reasonably) from basic solution (bs) to bs until you find a basic feasible solution

More information

Definition 2.3. We define addition and multiplication of matrices as follows.

Definition 2.3. We define addition and multiplication of matrices as follows. 14 Chapter 2 Matrices In this chapter, we review matrix algebra from Linear Algebra I, consider row and column operations on matrices, and define the rank of a matrix. Along the way prove that the row

More information

APPLICATIONS OF DIFFERENTIATION

APPLICATIONS OF DIFFERENTIATION 4 APPLICATIONS OF DIFFERENTIATION APPLICATIONS OF DIFFERENTIATION 4.8 Newton s Method In this section, we will learn: How to solve high degree equations using Newton s method. INTRODUCTION Suppose that

More information

Unit 11 - Solving Quadratic Functions PART ONE

Unit 11 - Solving Quadratic Functions PART ONE Unit 11 - Solving Quadratic Functions PART ONE PREREQUISITE SKILLS: students should be able to add, subtract and multiply polynomials students should be able to factor polynomials students should be able

More information

Constructing Critical Indecomposable Codes

Constructing Critical Indecomposable Codes Constructing Critical Indecomposable Codes Judy L. Walker 1 Abstract Critical indecomposable codes were introduced by Assmus [1], who also gave a recursive construction for these objects. One of the key

More information

Common Core State Standards for Activity 14. Lesson Postal Service Lesson 14-1 Polynomials PLAN TEACH

Common Core State Standards for Activity 14. Lesson Postal Service Lesson 14-1 Polynomials PLAN TEACH Postal Service Lesson 1-1 Polynomials Learning Targets: Write a third-degree equation that represents a real-world situation. Graph a portion of this equation and evaluate the meaning of a relative maimum.

More information

In this unit we will study exponents, mathematical operations on polynomials, and factoring.

In this unit we will study exponents, mathematical operations on polynomials, and factoring. GRADE 0 MATH CLASS NOTES UNIT E ALGEBRA In this unit we will study eponents, mathematical operations on polynomials, and factoring. Much of this will be an etension of your studies from Math 0F. This unit

More information

Math Models of OR: Sensitivity Analysis

Math Models of OR: Sensitivity Analysis Math Models of OR: Sensitivity Analysis John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 8 USA October 8 Mitchell Sensitivity Analysis / 9 Optimal tableau and pivot matrix Outline Optimal

More information

MA554 Assessment 1 Cosets and Lagrange s theorem

MA554 Assessment 1 Cosets and Lagrange s theorem MA554 Assessment 1 Cosets and Lagrange s theorem These are notes on cosets and Lagrange s theorem; they go over some material from the lectures again, and they have some new material it is all examinable,

More information

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra MTH6140 Linear Algebra II Notes 2 21st October 2010 2 Matrices You have certainly seen matrices before; indeed, we met some in the first chapter of the notes Here we revise matrix algebra, consider row

More information

Chapter 9 Regression. 9.1 Simple linear regression Linear models Least squares Predictions and residuals.

Chapter 9 Regression. 9.1 Simple linear regression Linear models Least squares Predictions and residuals. 9.1 Simple linear regression 9.1.1 Linear models Response and eplanatory variables Chapter 9 Regression With bivariate data, it is often useful to predict the value of one variable (the response variable,

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Measuring Goodness of an Algorithm. Asymptotic Analysis of Algorithms. Measuring Efficiency of an Algorithm. Algorithm and Data Structure

Measuring Goodness of an Algorithm. Asymptotic Analysis of Algorithms. Measuring Efficiency of an Algorithm. Algorithm and Data Structure Measuring Goodness of an Algorithm Asymptotic Analysis of Algorithms EECS2030 B: Advanced Object Oriented Programming Fall 2018 CHEN-WEI WANG 1. Correctness : Does the algorithm produce the expected output?

More information

Simplex Algorithm Using Canonical Tableaus

Simplex Algorithm Using Canonical Tableaus 41 Simplex Algorithm Using Canonical Tableaus Consider LP in standard form: Min z = cx + α subject to Ax = b where A m n has rank m and α is a constant In tableau form we record it as below Original Tableau

More information

L1-5. Reducing Rows 11 Aug 2014

L1-5. Reducing Rows 11 Aug 2014 L1-5. Reducing Rows 11 Aug 2014 Never send a human to do a machine's job. Agent Smith Primary concepts: Row-echelon form, reduced row-echelon form, Gauss-Jordan elimination method Online tetbook (Hefferon)

More information

Linear Independence x

Linear Independence x Linear Independence A consistent system of linear equations with matrix equation Ax = b, where A is an m n matrix, has a solution set whose graph in R n is a linear object, that is, has one of only n +

More information

Cosets and Lagrange s theorem

Cosets and Lagrange s theorem Cosets and Lagrange s theorem These are notes on cosets and Lagrange s theorem some of which may already have been lecturer. There are some questions for you included in the text. You should write the

More information

Fundamentals of Algebra, Geometry, and Trigonometry. (Self-Study Course)

Fundamentals of Algebra, Geometry, and Trigonometry. (Self-Study Course) Fundamentals of Algebra, Geometry, and Trigonometry (Self-Study Course) This training is offered eclusively through the Pennsylvania Department of Transportation, Business Leadership Office, Technical

More information

Ch. 9.3 Vertex to General Form. of a Parabola

Ch. 9.3 Vertex to General Form. of a Parabola Ch. 9.3 Verte to General Form Learning Intentions: of a Parabola Change a quadratic equation from verte to general form. Learn to square a binomial & factor perfectsquare epressions using rectangle diagrams.

More information

Chapter 4 The Simplex Algorithm Part II

Chapter 4 The Simplex Algorithm Part II Chapter 4 The Simple Algorithm Part II Based on Introduction to Mathematical Programming: Operations Research, Volume 4th edition, by Wayne L Winston and Munirpallam Venkataramanan Lewis Ntaimo L Ntaimo

More information

7.3 Adding and Subtracting Rational Expressions

7.3 Adding and Subtracting Rational Expressions 7.3 Adding and Subtracting Rational Epressions LEARNING OBJECTIVES. Add and subtract rational epressions with common denominators. 2. Add and subtract rational epressions with unlike denominators. 3. Add

More information

A3. Statistical Inference

A3. Statistical Inference Appendi / A3. Statistical Inference / Mean, One Sample-1 A3. Statistical Inference Population Mean μ of a Random Variable with known standard deviation σ, and random sample of size n 1 Before selecting

More information

How to Plan Experiments

How to Plan Experiments How to Plan Eperiments Formulate a hypothesis Choose independent variable values Eperimental planning Scientific method Statistical design of eperiments Setting specifications Formulating a Hypothesis

More information

Polynomial Degree and Finite Differences

Polynomial Degree and Finite Differences CONDENSED LESSON 7.1 Polynomial Degree and Finite Differences In this lesson, you Learn the terminology associated with polynomials Use the finite differences method to determine the degree of a polynomial

More information

1. Write three things you already know about expressions. Share your work with a classmate. Did your classmate understand what you wrote?

1. Write three things you already know about expressions. Share your work with a classmate. Did your classmate understand what you wrote? LESSON 1: RATIONAL EXPONENTS 1. Write three things you already know about epressions. Share your work with a classmate. Did your classmate understand what you wrote?. Write your wonderings about working

More information

Multimapping Abstractions and Hierarchical Heuristic Search

Multimapping Abstractions and Hierarchical Heuristic Search Multimapping Abstractions and Hierarchical Heuristic Search Bo Pang Computing Science Department University of Alberta Edmonton, AB Canada T6G 2E8 (bpang@ualberta.ca) Robert C. Holte Computing Science

More information

Lecture 8: Column Generation

Lecture 8: Column Generation Lecture 8: Column Generation (3 units) Outline Cutting stock problem Classical IP formulation Set covering formulation Column generation A dual perspective 1 / 24 Cutting stock problem 2 / 24 Problem description

More information

Math 1553 Worksheet 5.3, 5.5

Math 1553 Worksheet 5.3, 5.5 Math Worksheet, Answer yes / no / maybe In each case, A is a matrix whose entries are real a) If A is a matrix with characteristic polynomial λ(λ ), then the - eigenspace is -dimensional b) If A is an

More information

June Mr. Brown

June Mr. Brown June 06 Hello, future Algebra II students: The packet attached to this letter contains a series of problems that will overview the Algebra I skills you must have mastered in order to have a good start

More information

Mon Apr dot product, length, orthogonality, projection onto the span of a single vector. Announcements: Warm-up Exercise:

Mon Apr dot product, length, orthogonality, projection onto the span of a single vector. Announcements: Warm-up Exercise: Math 2270-004 Week 2 notes We will not necessarily finish the material from a gien day's notes on that day. We may also add or subtract some material as the week progresses, but these notes represent an

More information

Contents. Counting Methods and Induction

Contents. Counting Methods and Induction Contents Counting Methods and Induction Lesson 1 Counting Strategies Investigations 1 Careful Counting... 555 Order and Repetition I... 56 3 Order and Repetition II... 569 On Your Own... 573 Lesson Counting

More information

y = x Example 1 Polynomial, Radical, and Rational Functions LESSON FIVE - Rational Functions I Lesson Notes x y

y = x Example 1   Polynomial, Radical, and Rational Functions LESSON FIVE - Rational Functions I Lesson Notes x y y = Polynomial, Radical, and Rational Functions Eample a) Fill in the table of values for the function y =. y Reciprocal of a Linear Function. Reciprocal of a Linear Function b) Draw the graph of the function

More information

Where would you rather live? (And why?)

Where would you rather live? (And why?) Where would you rather live? (And why?) CityA CityB Where would you rather live? (And why?) CityA CityB City A is San Diego, CA, and City B is Evansville, IN Measures of Dispersion Suppose you need a new

More information

Essential Question How can you cube a binomial? Work with a partner. Find each product. Show your steps. = (x + 1) Multiply second power.

Essential Question How can you cube a binomial? Work with a partner. Find each product. Show your steps. = (x + 1) Multiply second power. 4.2 Adding, Subtracting, and Multiplying Polynomials COMMON CORE Learning Standards HSA-APR.A.1 HSA-APR.C.4 HSA-APR.C.5 Essential Question How can you cube a binomial? Cubing Binomials Work with a partner.

More information

SMO vs PDCO for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines

SMO vs PDCO for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines vs for SVM: Sequential Minimal Optimization vs Primal-Dual interior method for Convex Objectives for Support Vector Machines Ding Ma Michael Saunders Working paper, January 5 Introduction In machine learning,

More information

Algebra II Notes Rational Functions Unit Rational Functions. Math Background

Algebra II Notes Rational Functions Unit Rational Functions. Math Background Algebra II Notes Rational Functions Unit 6. 6.6 Rational Functions Math Background Previously, you Simplified linear, quadratic, radical and polynomial functions Performed arithmetic operations with linear,

More information

This ensures that we walk downhill. For fixed λ not even this may be the case.

This ensures that we walk downhill. For fixed λ not even this may be the case. Gradient Descent Objective Function Some differentiable function f : R n R. Gradient Descent Start with some x 0, i = 0 and learning rate λ repeat x i+1 = x i λ f(x i ) until f(x i+1 ) ɛ Line Search Variant

More information

Lecture 21: Algebraic Computation Models

Lecture 21: Algebraic Computation Models princeton university cos 522: computational complexity Lecture 21: Algebraic Computation Models Lecturer: Sanjeev Arora Scribe:Loukas Georgiadis We think of numerical algorithms root-finding, gaussian

More information

Integer Programming and Branch and Bound

Integer Programming and Branch and Bound Courtesy of Sommer Gentry. Used with permission. Integer Programming and Branch and Bound Sommer Gentry November 4 th, 003 Adapted from slides by Eric Feron and Brian Williams, 6.40, 00. Integer Programming

More information

2 Generating Functions

2 Generating Functions 2 Generating Functions In this part of the course, we re going to introduce algebraic methods for counting and proving combinatorial identities. This is often greatly advantageous over the method of finding

More information

REPRESENTATIONS OF S n AND GL(n, C)

REPRESENTATIONS OF S n AND GL(n, C) REPRESENTATIONS OF S n AND GL(n, C) SEAN MCAFEE 1 outline For a given finite group G, we have that the number of irreducible representations of G is equal to the number of conjugacy classes of G Although

More information

3.3.1 Linear functions yet again and dot product In 2D, a homogenous linear scalar function takes the general form:

3.3.1 Linear functions yet again and dot product In 2D, a homogenous linear scalar function takes the general form: 3.3 Gradient Vector and Jacobian Matri 3 3.3 Gradient Vector and Jacobian Matri Overview: Differentiable functions have a local linear approimation. Near a given point, local changes are determined by

More information

Turing Machines Part II

Turing Machines Part II Turing Machines Part II Hello Hello Condensed Slide Slide Readers! Readers! This This lecture lecture is is almost almost entirely entirely animations that that show show how how each each Turing Turing

More information

Sparsity. The implication is that we would like to find ways to increase efficiency of LU decomposition.

Sparsity. The implication is that we would like to find ways to increase efficiency of LU decomposition. Sparsity. Introduction We saw in previous notes that the very common problem, to solve for the n vector in A b ( when n is very large, is done without inverting the n n matri A, using LU decomposition.

More information

Math Models of OR: The Revised Simplex Method

Math Models of OR: The Revised Simplex Method Math Models of OR: The Revised Simplex Method John E. Mitchell Department of Mathematical Sciences RPI, Troy, NY 12180 USA September 2018 Mitchell The Revised Simplex Method 1 / 25 Motivation Outline 1

More information

ACTIVITY 14 Continued

ACTIVITY 14 Continued 015 College Board. All rights reserved. Postal Service Write your answers on notebook paper. Show your work. Lesson 1-1 1. The volume of a rectangular bo is given by the epression V = (10 6w)w, where w

More information

The dual simplex method with bounds

The dual simplex method with bounds The dual simplex method with bounds Linear programming basis. Let a linear programming problem be given by min s.t. c T x Ax = b x R n, (P) where we assume A R m n to be full row rank (we will see in the

More information

Computing Generator in Cyclotomic Integer Rings

Computing Generator in Cyclotomic Integer Rings A subfield algorithm for the Principal Ideal Problem in L 1 K 2 and application to the cryptanalysis of a FHE scheme Jean-François Biasse 1 Thomas Espitau 2 Pierre-Alain Fouque 3 Alexandre Gélin 2 Paul

More information

The Simplex Algorithm

The Simplex Algorithm 8.433 Combinatorial Optimization The Simplex Algorithm October 6, 8 Lecturer: Santosh Vempala We proved the following: Lemma (Farkas). Let A R m n, b R m. Exactly one of the following conditions is true:.

More information

A Comparison of Some Methods for Bounding Connected and Disconnected Solution Sets of Interval Linear Systems

A Comparison of Some Methods for Bounding Connected and Disconnected Solution Sets of Interval Linear Systems A Comparison of Some Methods for Bounding Connected and Disconnected Solution Sets of Interval Linear Systems R. Baker Kearfott December 4, 2007 Abstract Finding bounding sets to solutions to systems of

More information

Matching Polynomials of Graphs

Matching Polynomials of Graphs Spectral Graph Theory Lecture 25 Matching Polynomials of Graphs Daniel A Spielman December 7, 2015 Disclaimer These notes are not necessarily an accurate representation of what happened in class The notes

More information

Lecture 11: Post-Optimal Analysis. September 23, 2009

Lecture 11: Post-Optimal Analysis. September 23, 2009 Lecture : Post-Optimal Analysis September 23, 2009 Today Lecture Dual-Simplex Algorithm Post-Optimal Analysis Chapters 4.4 and 4.5. IE 30/GE 330 Lecture Dual Simplex Method The dual simplex method will

More information

SOLVING INTEGER LINEAR PROGRAMS. 1. Solving the LP relaxation. 2. How to deal with fractional solutions?

SOLVING INTEGER LINEAR PROGRAMS. 1. Solving the LP relaxation. 2. How to deal with fractional solutions? SOLVING INTEGER LINEAR PROGRAMS 1. Solving the LP relaxation. 2. How to deal with fractional solutions? Integer Linear Program: Example max x 1 2x 2 0.5x 3 0.2x 4 x 5 +0.6x 6 s.t. x 1 +2x 2 1 x 1 + x 2

More information

Eigenvectors and Eigenvalues 1

Eigenvectors and Eigenvalues 1 Ma 2015 page 1 Eigenvectors and Eigenvalues 1 In this handout, we will eplore eigenvectors and eigenvalues. We will begin with an eploration, then provide some direct eplanation and worked eamples, and

More information

Part 1. The Review of Linear Programming

Part 1. The Review of Linear Programming In the name of God Part 1. The Review of Linear Programming 1.5. Spring 2010 Instructor: Dr. Masoud Yaghini Outline Introduction Formulation of the Dual Problem Primal-Dual Relationship Economic Interpretation

More information

Ross Program 2017 Application Problems

Ross Program 2017 Application Problems Ross Program 2017 Application Problems This document is part of the application to the Ross Mathematics Program, and is posted at http://u.osu.edu/rossmath/. The Admission Committee will start reading

More information

1 Kernel methods & optimization

1 Kernel methods & optimization Machine Learning Class Notes 9-26-13 Prof. David Sontag 1 Kernel methods & optimization One eample of a kernel that is frequently used in practice and which allows for highly non-linear discriminant functions

More information

CSC Design and Analysis of Algorithms. LP Shader Electronics Example

CSC Design and Analysis of Algorithms. LP Shader Electronics Example CSC 80- Design and Analysis of Algorithms Lecture (LP) LP Shader Electronics Example The Shader Electronics Company produces two products:.eclipse, a portable touchscreen digital player; it takes hours

More information

CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES. D. Katz

CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES. D. Katz CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES D. Katz The purpose of this note is to present the rational canonical form and Jordan canonical form theorems for my M790 class. Throughout, we fix

More information