Demo AS Discrete Questions

Size: px
Start display at page:

Download "Demo AS Discrete Questions"

Transcription

1 emo S iscrete Questions Please answer on file paper. : ind the Minimum Spanning Tree using Prim's lgorithm starting from vertex : J rcs/length: rcs/length: : ind the Minimum Spanning Tree using Prim's lgorithm starting from vertex : rcs: Total length= rcs: Total length= ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

2 : ind the Minimum Spanning Tree using Kruskal's lgorithm: rcs/length: J rcs/length: : ind the shortest route from to the ringed vertex using ijkstra's lgorithm: Route/Length: J Route/Length: ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

3 : ind the shortest route starting and finishing at which includes every edge. Pairings/est solution: Pairings/est solution: : ind a amiltonian cycle using the Nearest Neighbour algorithm (start at the ringed vertex): ycle/length: ycle/length: ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

4 : ind a lower bound for the Travelling Salesperson Problem (remove the ringed vertex): Lower ound: Lower ound: : Use the first fit algorithm to pack these objects into bins: (in size ) (in size ) : Use the first fit decreasing algorithm to pack these objects into bins: (in size ) (in size ) : Use the full bin algorithm to pack these objects into bins: (in size ) (in size ) : rrange the following lists in ascending order using ubble Sort: : rrange the following lists in ascending order using Shuttle Sort: : ind the order of each algorithm, given its efficiency: Time taken = n Time taken = n + n + n + n! : Solve the following: n algorithm has order n and takes seconds to solve a problem of size. stimate the time taken to solve a problem of size. n algorithm has order n and takes seconds to solve a problem of size. stimate the time taken to solve a problem of size. ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

5 : ive the following Linear Programming terms: ind the largest value of n inequality corresponding to a restriction on the problem c) corner of the region of allowable points d) ind the smallest value of : Maximise each objective function: P = x + y P = x + y : Solve using the Simplex algorithm: P x y s t value P x y s t value : Solve using the Simplex algorithm: P x y z s t u value P x y z s t u value ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

6 nswers: emo S iscrete Questions : J rcs:,,,,,, J,,. Total length= rcs:,,,,,,,. Total length= : rcs:,,,,. Total length= rcs:,,,,,. Total length= ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

7 : rcs:,,,,,,,. Total length= J rcs:,,,,, J,,,. Total length= :, Route: J. Length=,, J, Route:. Length=, ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

8 : Pairings: : : Tot: : : Tot: : : Tot: Poss. route: Length: + = : Pairings: : : Tot: : : Tot: : : Tot: Poss. route: Length: + = ycle:. Length= ycle:. Length= ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

9 : Length = + = Length = + = : (in size ) in : [] in : [] in : [] in : [] (in size ) in : [] in : [] in : [] in : [] : (in size ) in : [] in : [] in : [] in : [] in : [] (in size ) in : [] in : [] in : [] in : [] in : [] : (in size ) in : [] in : [] in : [] (in size ) in : [] in : [] in : [] in : [] in : [] in : [] : ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

10 : : Order n Order n! : seconds seconds : Maximise onstraint c) Vertex d) Minimise : Max value = at (, ) Max value = at (, ) ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

11 : teration : teration : P x y s t value P x y s t value teration : P x y s t value Optimal solution: P x y s t value P =, x =, y = teration : P x y s t value Optimal solution: P x y s t value P =, x =, y = ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

12 : teration : P x y z s t u value Optimal solution: P x y z s t u value P =, x =, y = ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

13 teration : P x y z s t u value teration : P x y z s t u value Optimal solution: P x y z s t u value P =, x =, y = ree worksheet created by MTSprint. emo S iscrete Questions: MTSprint,

Demo AS Discrete Questions

Demo AS Discrete Questions emo S iscrete Questions Please answer on file paper. www.mathsprint.co.uk : ind the Minimum Spanning Tree using Prim's lgorithm starting from vertex : rcs/length: rcs/length: : ind the Minimum Spanning

More information

CSE202: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD

CSE202: Algorithm Design and Analysis. Ragesh Jaiswal, CSE, UCSD Fractional knapsack Problem Fractional knapsack: You are a thief and you have a sack of size W. There are n divisible items. Each item i has a volume W (i) and a total value V (i). Design an algorithm

More information

Chapter wise Question bank

Chapter wise Question bank GOVERNMENT ENGINEERING COLLEGE - MODASA Chapter wise Question bank Subject Name Analysis and Design of Algorithm Semester Department 5 th Term ODD 2015 Information Technology / Computer Engineering Chapter

More information

UNIT 2. Greedy Method GENERAL METHOD

UNIT 2. Greedy Method GENERAL METHOD UNIT 2 GENERAL METHOD Greedy Method Greedy is the most straight forward design technique. Most of the problems have n inputs and require us to obtain a subset that satisfies some constraints. Any subset

More information

IEOR E4004: Introduction to OR: Deterministic Models

IEOR E4004: Introduction to OR: Deterministic Models IEOR E4004: Introduction to OR: Deterministic Models 1 Dynamic Programming Following is a summary of the problems we discussed in class. (We do not include the discussion on the container problem or the

More information

What is Greedy Approach? Control abstraction for Greedy Method. Three important activities

What is Greedy Approach? Control abstraction for Greedy Method. Three important activities 0-0-07 What is Greedy Approach? Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each decision is locally optimal. These locally optimal solutions will finally

More information

Fundamental Algorithms - Surprise Test

Fundamental Algorithms - Surprise Test Technische Universität München Fakultät für Informatik Lehrstuhl für Effiziente Algorithmen Dmytro Chibisov Sandeep Sadanandan Winter Semester 007/08 Sheet Model Test January 16, 008 Fundamental Algorithms

More information

Essays on Some Combinatorial Optimization Problems with Interval Data

Essays on Some Combinatorial Optimization Problems with Interval Data Essays on Some Combinatorial Optimization Problems with Interval Data a thesis submitted to the department of industrial engineering and the institute of engineering and sciences of bilkent university

More information

Homework solutions, Chapter 8

Homework solutions, Chapter 8 Homework solutions, Chapter 8 NOTE: We might think of 8.1 as being a section devoted to setting up the networks and 8.2 as solving them, but only 8.2 has a homework section. Section 8.2 2. Use Dijkstra

More information

Use a graphing calculator to approximate all real solutions of the equation. 1) f(x) = x3-3x2-36x A) 36, 3, 108 B) -6, 3, 6 C) -3, 3, 6 D) 3

Use a graphing calculator to approximate all real solutions of the equation. 1) f(x) = x3-3x2-36x A) 36, 3, 108 B) -6, 3, 6 C) -3, 3, 6 D) 3 Assignment 1 Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Use a graphing calculator to approximate all real solutions of the equation. 1)

More information

THE TRAVELING SALESMAN PROBLEM FOR MOVING POINTS ON A LINE

THE TRAVELING SALESMAN PROBLEM FOR MOVING POINTS ON A LINE THE TRAVELING SALESMAN PROBLEM FOR MOVING POINTS ON A LINE GÜNTER ROTE Abstract. A salesperson wants to visit each of n objects that move on a line at given constant speeds in the shortest possible time,

More information

Mathematics Standard 2

Mathematics Standard 2 Western Mathematics Exams Mathematics Standard SOLUTIONS Multiple Choice Worked Solutions No Working Answer The shape is a sector and we want its area, so from the formula sheet the C formula is. The radius,

More information

Lecture 10: The knapsack problem

Lecture 10: The knapsack problem Optimization Methods in Finance (EPFL, Fall 2010) Lecture 10: The knapsack problem 24.11.2010 Lecturer: Prof. Friedrich Eisenbrand Scribe: Anu Harjula The knapsack problem The Knapsack problem is a problem

More information

Optimization Methods in Management Science

Optimization Methods in Management Science Problem Set Rules: Optimization Methods in Management Science MIT 15.053, Spring 2013 Problem Set 6, Due: Thursday April 11th, 2013 1. Each student should hand in an individual problem set. 2. Discussing

More information

Issues. Senate (Total = 100) Senate Group 1 Y Y N N Y 32 Senate Group 2 Y Y D N D 16 Senate Group 3 N N Y Y Y 30 Senate Group 4 D Y N D Y 22

Issues. Senate (Total = 100) Senate Group 1 Y Y N N Y 32 Senate Group 2 Y Y D N D 16 Senate Group 3 N N Y Y Y 30 Senate Group 4 D Y N D Y 22 1. Every year, the United States Congress must approve a budget for the country. In order to be approved, the budget must get a majority of the votes in the Senate, a majority of votes in the House, and

More information

DM559/DM545 Linear and integer programming

DM559/DM545 Linear and integer programming Department of Mathematics and Computer Science University of Southern Denmark, Odense May 22, 2018 Marco Chiarandini DM559/DM55 Linear and integer programming Sheet, Spring 2018 [pdf format] Contains Solutions!

More information

0/1 knapsack problem knapsack problem

0/1 knapsack problem knapsack problem 1 (1) 0/1 knapsack problem. A thief robbing a safe finds it filled with N types of items of varying size and value, but has only a small knapsack of capacity M to use to carry the goods. More precisely,

More information

Setting Up Linear Programming Problems

Setting Up Linear Programming Problems Setting Up Linear Programming Problems A company produces handmade skillets in two sizes, big and giant. To produce one big skillet requires 3 lbs of iron and 6 minutes of labor. To produce one giant skillet

More information

Calculation, Hypothecation and meeting regulatory requirements. James Sharpe / Manal Leach 30 September 2016

Calculation, Hypothecation and meeting regulatory requirements. James Sharpe / Manal Leach 30 September 2016 Calculation, Hypothecation and meeting regulatory requirements James Sharpe / Manal Leach 30 September 2016 1 } Background } Matching Adjustment (MA) what is it? } Meeting eligibility requirements } Matching

More information

Advanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras

Advanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Dept of Management Studies Indian Institute of Technology, Madras Lecture 23 Minimum Cost Flow Problem In this lecture, we will discuss the minimum cost

More information

CSV 886 Social Economic and Information Networks. Lecture 4: Auctions, Matching Markets. R Ravi

CSV 886 Social Economic and Information Networks. Lecture 4: Auctions, Matching Markets. R Ravi CSV 886 Social Economic and Information Networks Lecture 4: Auctions, Matching Markets R Ravi ravi+iitd@andrew.cmu.edu Schedule 2 Auctions 3 Simple Models of Trade Decentralized Buyers and sellers have

More information

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 21 Successive Shortest Path Problem In this lecture, we continue our discussion

More information

Sublinear Time Algorithms Oct 19, Lecture 1

Sublinear Time Algorithms Oct 19, Lecture 1 0368.416701 Sublinear Time Algorithms Oct 19, 2009 Lecturer: Ronitt Rubinfeld Lecture 1 Scribe: Daniel Shahaf 1 Sublinear-time algorithms: motivation Twenty years ago, there was practically no investigation

More information

Maximum Contiguous Subsequences

Maximum Contiguous Subsequences Chapter 8 Maximum Contiguous Subsequences In this chapter, we consider a well-know problem and apply the algorithm-design techniques that we have learned thus far to this problem. While applying these

More information

56:171 Operations Research Midterm Exam Solutions Fall 1994

56:171 Operations Research Midterm Exam Solutions Fall 1994 56:171 Operations Research Midterm Exam Solutions Fall 1994 Possible Score A. True/False & Multiple Choice 30 B. Sensitivity analysis (LINDO) 20 C.1. Transportation 15 C.2. Decision Tree 15 C.3. Simplex

More information

Cross-Monotonic Cost-Sharing Schemes for Combinatorial Optimization Games: A Survey

Cross-Monotonic Cost-Sharing Schemes for Combinatorial Optimization Games: A Survey Cross-Monotonic Cost-Sharing Schemes for Combinatorial Optimization Games: A Survey Siamak Tazari University of British Columbia Department of Computer Science Vancouver, British Columbia siamakt@cs.ubc.ca

More information

Read the following situation to determine whether the inequality correctly models the company s information.

Read the following situation to determine whether the inequality correctly models the company s information. Algebra 1 EOC Review #7 m w2q0y1c7h \KquntBaE qsoohfhthwwabrhei vlxlvcc.e a naslzlu BrniVgwhgtosV er_e\sxeerivdeado. Additional Practice 1) Selected-Response Name Date Period Sandra sells necklaces at

More information

CSCE 750, Fall 2009 Quizzes with Answers

CSCE 750, Fall 2009 Quizzes with Answers CSCE 750, Fall 009 Quizzes with Answers Stephen A. Fenner September 4, 011 1. Give an exact closed form for Simplify your answer as much as possible. k 3 k+1. We reduce the expression to a form we ve already

More information

EE365: Risk Averse Control

EE365: Risk Averse Control EE365: Risk Averse Control Risk averse optimization Exponential risk aversion Risk averse control 1 Outline Risk averse optimization Exponential risk aversion Risk averse control Risk averse optimization

More information

Network Analysis Basic Components. The Other View. Some Applications. Continued. Goal of Network Analysis. RK Jana

Network Analysis Basic Components. The Other View. Some Applications. Continued. Goal of Network Analysis. RK Jana Network nalysis RK Jana asic omponents ollections of interconnected linear forms: Lines Intersections Regions (created by the partitioning of space by the lines) Planar (streets, all on same level, vertices

More information

Setting Up Linear Programming Problems

Setting Up Linear Programming Problems Setting Up Linear Programming Problems A company produces handmade skillets in two sizes, big and giant. To produce one big skillet requires 3 lbs of iron and 6 minutes of labor. To produce one giant skillet

More information

Chapter 2 Linear programming... 2 Chapter 3 Simplex... 4 Chapter 4 Sensitivity Analysis and duality... 5 Chapter 5 Network... 8 Chapter 6 Integer

Chapter 2 Linear programming... 2 Chapter 3 Simplex... 4 Chapter 4 Sensitivity Analysis and duality... 5 Chapter 5 Network... 8 Chapter 6 Integer 目录 Chapter 2 Linear programming... 2 Chapter 3 Simplex... 4 Chapter 4 Sensitivity Analysis and duality... 5 Chapter 5 Network... 8 Chapter 6 Integer Programming... 10 Chapter 7 Nonlinear Programming...

More information

The homework is due on Wednesday, September 7. Each questions is worth 0.8 points. No partial credits.

The homework is due on Wednesday, September 7. Each questions is worth 0.8 points. No partial credits. Homework : Econ500 Fall, 0 The homework is due on Wednesday, September 7. Each questions is worth 0. points. No partial credits. For the graphic arguments, use the graphing paper that is attached. Clearly

More information

56:171 Operations Research Midterm Exam Solutions October 19, 1994

56:171 Operations Research Midterm Exam Solutions October 19, 1994 56:171 Operations Research Midterm Exam Solutions October 19, 1994 Possible Score A. True/False & Multiple Choice 30 B. Sensitivity analysis (LINDO) 20 C.1. Transportation 15 C.2. Decision Tree 15 C.3.

More information

PARELLIZATION OF DIJKSTRA S ALGORITHM: COMPARISON OF VARIOUS PRIORITY QUEUES

PARELLIZATION OF DIJKSTRA S ALGORITHM: COMPARISON OF VARIOUS PRIORITY QUEUES PARELLIZATION OF DIJKSTRA S ALGORITHM: COMPARISON OF VARIOUS PRIORITY QUEUES WIKTOR JAKUBIUK, KESHAV PURANMALKA 1. Introduction Dijkstra s algorithm solves the single-sourced shorest path problem on a

More information

CSE 21 Winter 2016 Homework 6 Due: Wednesday, May 11, 2016 at 11:59pm. Instructions

CSE 21 Winter 2016 Homework 6 Due: Wednesday, May 11, 2016 at 11:59pm. Instructions CSE 1 Winter 016 Homework 6 Due: Wednesday, May 11, 016 at 11:59pm Instructions Homework should be done in groups of one to three people. You are free to change group members at any time throughout the

More information

Roll No. :... Invigilator s Signature :.. CS/B.TECH(IT)/SEM-5/M(CS)-511/ OPERATIONS RESEARCH AND OPTIMIZATION TECHNIQUES

Roll No. :... Invigilator s Signature :.. CS/B.TECH(IT)/SEM-5/M(CS)-511/ OPERATIONS RESEARCH AND OPTIMIZATION TECHNIQUES Name : Roll No. :.... Invigilator s Signature :.. CS/B.TECH(IT)/SEM-5/M(CS)-511/2011-12 2011 OPERATIONS RESEARCH AND OPTIMIZATION TECHNIQUES Time Allotted : 3 Hours Full Marks : 70 The figures in the margin

More information

56:171 Operations Research Midterm Examination Solutions PART ONE

56:171 Operations Research Midterm Examination Solutions PART ONE 56:171 Operations Research Midterm Examination Solutions Fall 1997 Write your name on the first page, and initial the other pages. Answer both questions of Part One, and 4 (out of 5) problems from Part

More information

Homework #4. CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class

Homework #4. CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class Homework #4 CMSC351 - Spring 2013 PRINT Name : Due: Thu Apr 16 th at the start of class o Grades depend on neatness and clarity. o Write your answers with enough detail about your approach and concepts

More information

PERT 12 Quantitative Tools (1)

PERT 12 Quantitative Tools (1) PERT 12 Quantitative Tools (1) Proses keputusan dalam operasi Fundamental Decisin Making, Tabel keputusan. Konsep Linear Programming Problem Formulasi Linear Programming Problem Penyelesaian Metode Grafis

More information

Strong Subgraph k-connectivity of Digraphs

Strong Subgraph k-connectivity of Digraphs Strong Subgraph k-connectivity of Digraphs Yuefang Sun joint work with Gregory Gutin, Anders Yeo, Xiaoyan Zhang yuefangsun2013@163.com Department of Mathematics Shaoxing University, China July 2018, Zhuhai

More information

UNIVERSITY OF KWAZULU-NATAL

UNIVERSITY OF KWAZULU-NATAL UNIVERSITY OF KWAZULU-NATAL EXAMINATIONS: June 006 Subject, course and code: Mathematics 34 (MATH34P Duration: 3 hours Total Marks: 00 INTERNAL EXAMINERS: Mrs. A. Campbell, Mr. P. Horton, Dr. M. Banda

More information

Handout 8: Introduction to Stochastic Dynamic Programming. 2 Examples of Stochastic Dynamic Programming Problems

Handout 8: Introduction to Stochastic Dynamic Programming. 2 Examples of Stochastic Dynamic Programming Problems SEEM 3470: Dynamic Optimization and Applications 2013 14 Second Term Handout 8: Introduction to Stochastic Dynamic Programming Instructor: Shiqian Ma March 10, 2014 Suggested Reading: Chapter 1 of Bertsekas,

More information

Step 2: Determine the objective and write an expression for it that is linear in the decision variables.

Step 2: Determine the objective and write an expression for it that is linear in the decision variables. Portfolio Modeling Using LPs LP Modeling Technique Step 1: Determine the decision variables and label them. The decision variables are those variables whose values must be determined in order to execute

More information

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT. BF360 Operations Research

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT. BF360 Operations Research SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BF360 Operations Research Unit 3 Moses Mwale e-mail: moses.mwale@ictar.ac.zm BF360 Operations Research Contents Unit 3: Sensitivity and Duality 3 3.1 Sensitivity

More information

Paper F2. Management Accounting. Fundamentals Pilot Paper Knowledge module. The Association of Chartered Certified Accountants. Time allowed: 2 hours

Paper F2. Management Accounting. Fundamentals Pilot Paper Knowledge module. The Association of Chartered Certified Accountants. Time allowed: 2 hours Fundamentals Pilot Paper Knowledge module Management ccounting Time allowed: 2 hours LL FIFTY questions are compulsory and MUST be attempted. Paper F2 o NOT open this paper until instructed by the supervisor.

More information

56:171 Operations Research Midterm Examination Solutions PART ONE

56:171 Operations Research Midterm Examination Solutions PART ONE 56:171 Operations Research Midterm Examination Solutions Fall 1997 Answer both questions of Part One, and 4 (out of 5) problems from Part Two. Possible Part One: 1. True/False 15 2. Sensitivity analysis

More information

Recitation 1. Solving Recurrences. 1.1 Announcements. Welcome to 15210!

Recitation 1. Solving Recurrences. 1.1 Announcements. Welcome to 15210! Recitation 1 Solving Recurrences 1.1 Announcements Welcome to 1510! The course website is http://www.cs.cmu.edu/ 1510/. It contains the syllabus, schedule, library documentation, staff contact information,

More information

56:171 Operations Research Midterm Examination October 28, 1997 PART ONE

56:171 Operations Research Midterm Examination October 28, 1997 PART ONE 56:171 Operations Research Midterm Examination October 28, 1997 Write your name on the first page, and initial the other pages. Answer both questions of Part One, and 4 (out of 5) problems from Part Two.

More information

CMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS

CMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS CMPSCI 311: Introduction to Algorithms Second Midterm Practice Exam SOLUTIONS November 17, 2016. Name: ID: Instructions: Answer the questions directly on the exam pages. Show all your work for each question.

More information

Node betweenness centrality: the definition.

Node betweenness centrality: the definition. Brandes algorithm These notes supplement the notes and slides for Task 11. They do not add any new material, but may be helpful in understanding the Brandes algorithm for calculating node betweenness centrality.

More information

For every job, the start time on machine j+1 is greater than or equal to the completion time on machine j.

For every job, the start time on machine j+1 is greater than or equal to the completion time on machine j. Flow Shop Scheduling - makespan A flow shop is one where all the jobs visit all the machine for processing in the given order. If we consider a flow shop with n jobs and two machines (M1 and M2), all the

More information

Atomic Routing Games on Maximum Congestion

Atomic Routing Games on Maximum Congestion Atomic Routing Games on Maximum Congestion Costas Busch, Malik Magdon-Ismail {buschc,magdon}@cs.rpi.edu June 20, 2006. Outline Motivation and Problem Set Up; Related Work and Our Contributions; Proof Sketches;

More information

1.2: USING ALGEBRA(meaning no calculators), find the Intersection of the two Lines.

1.2: USING ALGEBRA(meaning no calculators), find the Intersection of the two Lines. Math 125 Final Exam Practice HAPTE 1: 1.1: List the Intercepts of each Equation and then sketch the graph 18x+ 10y = 90 b) 16x+ 24y = 432 c) 25x+ 10y = 500 1.2: USING ALGEBA(meaning no calculators), find

More information

Delay Budgeting in Sequential Circuit with Application on FPGA Placement

Delay Budgeting in Sequential Circuit with Application on FPGA Placement 13.2 Delay Budgeting in Sequential Circuit with Application on FPGA Placement Chao-Yang Yeh and Malgorzata Marek-Sadowska Department of Electrical and Computer Engineering, University of California, Santa

More information

Fibonacci Heaps Y Y o o u u c c an an s s u u b b m miitt P P ro ro b blle e m m S S et et 3 3 iin n t t h h e e b b o o x x u u p p fro fro n n tt..

Fibonacci Heaps Y Y o o u u c c an an s s u u b b m miitt P P ro ro b blle e m m S S et et 3 3 iin n t t h h e e b b o o x x u u p p fro fro n n tt.. Fibonacci Heaps You You can can submit submit Problem Problem Set Set 3 in in the the box box up up front. front. Outline for Today Review from Last Time Quick refresher on binomial heaps and lazy binomial

More information

Questions Directory. Chapter 3, Production process improvement. Chapter 4, Planning techniques. Chapter 5, Workforce motivation

Questions Directory. Chapter 3, Production process improvement. Chapter 4, Planning techniques. Chapter 5, Workforce motivation Questions Directory Chapter 3, Production process improvement 1. Method study exercise 451 2. Time study exercise 456 3. Time study and activity sampling comparison 458 4. Site layout exercise 458 5. Activity

More information

Dynamic Programming cont. We repeat: The Dynamic Programming Template has three parts.

Dynamic Programming cont. We repeat: The Dynamic Programming Template has three parts. Page 1 Dynamic Programming cont. We repeat: The Dynamic Programming Template has three parts. Subproblems Sometimes this is enough if the algorithm and its complexity is obvious. Recursion Algorithm Must

More information

MgtOp 470 Business Modeling with Spreadsheets Washington State University Sample Final Exam

MgtOp 470 Business Modeling with Spreadsheets Washington State University Sample Final Exam MgtOp 470 Business Modeling with Spreadsheets Washington State University Sample Final Exam Section 1 Multiple Choice 1. An information desk at a rest stop receives requests for assistance (from one server).

More information

Final Project. College Algebra. Upon successful completion of this course, the student will be able to:

Final Project. College Algebra. Upon successful completion of this course, the student will be able to: COURSE OBJECTIVES Upon successful completion of this course, the student will be able to: 1. Perform operations on algebraic expressions 2. Perform operations on functions expressed in standard function

More information

Final Study Guide MATH 111

Final Study Guide MATH 111 Final Study Guide MATH 111 The final will be cumulative. There will probably be a very slight emphasis on the material from the second half of the class. In terms of the material in the first half, please

More information

Problem Set 2: Answers

Problem Set 2: Answers Economics 623 J.R.Walker Page 1 Problem Set 2: Answers The problem set came from Michael A. Trick, Senior Associate Dean, Education and Professor Tepper School of Business, Carnegie Mellon University.

More information

CSE 417 Dynamic Programming (pt 2) Look at the Last Element

CSE 417 Dynamic Programming (pt 2) Look at the Last Element CSE 417 Dynamic Programming (pt 2) Look at the Last Element Reminders > HW4 is due on Friday start early! if you run into problems loading data (date parsing), try running java with Duser.country=US Duser.language=en

More information

Markov Decision Processes II

Markov Decision Processes II Markov Decision Processes II Daisuke Oyama Topics in Economic Theory December 17, 2014 Review Finite state space S, finite action space A. The value of a policy σ A S : v σ = β t Q t σr σ, t=0 which satisfies

More information

Homework Assignment #3. 1 Demonstrate how mergesort works when sorting the following list of numbers:

Homework Assignment #3. 1 Demonstrate how mergesort works when sorting the following list of numbers: CISC 5835 Algorithms for Big Data Fall, 2018 Homework Assignment #3 1 Demonstrate how mergesort works when sorting the following list of numbers: 6 1 4 2 3 8 7 5 2 Given the following array (list), follows

More information

Chapter 15: Dynamic Programming

Chapter 15: Dynamic Programming Chapter 15: Dynamic Programming Dynamic programming is a general approach to making a sequence of interrelated decisions in an optimum way. While we can describe the general characteristics, the details

More information

BUSI 300. Review and Discussion Answer Guide No. 8

BUSI 300. Review and Discussion Answer Guide No. 8 BUSI 300 Review and Discussion Answer Guide No. 8 CHAPTER 9: Transportation and Congestion 1. You should probably choose the central city property. In the short run, the imposition of tolls will increase

More information

Examinations for Semester II. / 2011 Semester I

Examinations for Semester II. / 2011 Semester I PROGRAMME MBA-Human Resources & knowledge Management MBA- Project Management Master of Business Administration General MBA-Marketing Management COHORT MBAHR/11/PT MBAPM/11/PT MBAG/11/PT MBAMM/11/PT Examinations

More information

Pre-Leaving Certificate Examination, Mathematics. Paper 1. Ordinary Level Time: 2 hours, 30 minutes. 300 marks

Pre-Leaving Certificate Examination, Mathematics. Paper 1. Ordinary Level Time: 2 hours, 30 minutes. 300 marks L.16 NAME SCHOOL TEACHER Pre-Leaving Certificate Examination, 2018 Mathematics Name/versio Printed: Checked: To: Updated: Paper 1 Name/versio Complete (y/ Ordinary Level Time: 2 hours, 30 minutes 300 marks

More information

Max Registers, Counters and Monotone Circuits

Max Registers, Counters and Monotone Circuits James Aspnes 1 Hagit Attiya 2 Keren Censor 2 1 Yale 2 Technion Counters Model Collects Our goal: build a cheap counter for an asynchronous shared-memory system. Two operations: increment and read. Read

More information

ECON 200 EXERCISES. (b) Appeal to any propositions you wish to confirm that the production set is convex.

ECON 200 EXERCISES. (b) Appeal to any propositions you wish to confirm that the production set is convex. ECON 00 EXERCISES 3. ROBINSON CRUSOE ECONOMY 3.1 Production set and profit maximization. A firm has a production set Y { y 18 y y 0, y 0, y 0}. 1 1 (a) What is the production function of the firm? HINT:

More information

CEC login. Student Details Name SOLUTIONS

CEC login. Student Details Name SOLUTIONS Student Details Name SOLUTIONS CEC login Instructions You have roughly 1 minute per point, so schedule your time accordingly. There is only one correct answer per question. Good luck! Question 1. Searching

More information

Phylogenetic Reconstruction: Parsimony

Phylogenetic Reconstruction: Parsimony Phylogenetic Reconstruction: Parsimony nders Gorm Pedersen gorm@cbs.dtu.dk Trees: terminology Trees: terminology Trees: terminology Reptiles is a non-monophyletic group (unless you include birds) Trees:

More information

Alain Hertz 1 and Sacha Varone 2. Introduction A NOTE ON TREE REALIZATIONS OF MATRICES. RAIRO Operations Research Will be set by the publisher

Alain Hertz 1 and Sacha Varone 2. Introduction A NOTE ON TREE REALIZATIONS OF MATRICES. RAIRO Operations Research Will be set by the publisher RAIRO Operations Research Will be set by the publisher A NOTE ON TREE REALIZATIONS OF MATRICES Alain Hertz and Sacha Varone 2 Abstract It is well known that each tree metric M has a unique realization

More information

Lecture l(x) 1. (1) x X

Lecture l(x) 1. (1) x X Lecture 14 Agenda for the lecture Kraft s inequality Shannon codes The relation H(X) L u (X) = L p (X) H(X) + 1 14.1 Kraft s inequality While the definition of prefix-free codes is intuitively clear, we

More information

A Branch-and-Price method for the Multiple-depot Vehicle and Crew Scheduling Problem

A Branch-and-Price method for the Multiple-depot Vehicle and Crew Scheduling Problem A Branch-and-Price method for the Multiple-depot Vehicle and Crew Scheduling Problem SCIP Workshop 2018, Aachen Markó Horváth Tamás Kis Institute for Computer Science and Control Hungarian Academy of Sciences

More information

Help Session 4. David Sovich. Washington University in St. Louis

Help Session 4. David Sovich. Washington University in St. Louis Help Session 4 David Sovich Washington University in St. Louis TODAY S AGENDA More on no-arbitrage bounds for calls and puts Some discussion of American options Replicating complex payoffs Pricing in the

More information

Deterministic Sampling Algorithms for Network Design

Deterministic Sampling Algorithms for Network Design Algorithmica 2011 60: 110 151 DOI 10.1007/s00453-009-9344-x Deterministic Sampling Algorithms for Network Design Anke van Zuylen Received: 17 November 2008 / Accepted: 13 July 2009 / Published online:

More information

Outline for Today. Quick refresher on binomial heaps and lazy binomial heaps. An important operation in many graph algorithms.

Outline for Today. Quick refresher on binomial heaps and lazy binomial heaps. An important operation in many graph algorithms. Fibonacci Heaps Outline for Today Review from Last Time Quick refresher on binomial heaps and lazy binomial heaps. The Need for decrease-key An important operation in many graph algorithms. Fibonacci Heaps

More information

Predicting First Day Returns for Japanese IPOs

Predicting First Day Returns for Japanese IPOs Predicting First Day Returns for Japanese IPOs Executive Summary Goal: To predict the First Day returns on Japanese IPOs (based on first day closing price), using public information available prior to

More information

Dynamic Programming: An overview. 1 Preliminaries: The basic principle underlying dynamic programming

Dynamic Programming: An overview. 1 Preliminaries: The basic principle underlying dynamic programming Dynamic Programming: An overview These notes summarize some key properties of the Dynamic Programming principle to optimize a function or cost that depends on an interval or stages. This plays a key role

More information

ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games

ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games University of Illinois Fall 2018 ECE 586GT: Problem Set 1: Problems and Solutions Analysis of static games Due: Tuesday, Sept. 11, at beginning of class Reading: Course notes, Sections 1.1-1.4 1. [A random

More information

GRAPH: A network of NODES (or VERTICES) and ARCS (or EDGES) joining the nodes with each other

GRAPH: A network of NODES (or VERTICES) and ARCS (or EDGES) joining the nodes with each other GRPH: network of NS (or VRTIS) and RS (or GS) joining the nodes with eah other IGRPH: graph where the ars have an RINTTIN (or IRTIN). a Graph a igraph d e d HIN etween two nodes is a sequene of ars where

More information

1) S = {s}; 2) for each u V {s} do 3) dist[u] = cost(s, u); 4) Insert u into a 2-3 tree Q with dist[u] as the key; 5) for i = 1 to n 1 do 6) Identify

1) S = {s}; 2) for each u V {s} do 3) dist[u] = cost(s, u); 4) Insert u into a 2-3 tree Q with dist[u] as the key; 5) for i = 1 to n 1 do 6) Identify CSE 3500 Algorithms and Complexity Fall 2016 Lecture 17: October 25, 2016 Dijkstra s Algorithm Dijkstra s algorithm for the SSSP problem generates the shortest paths in nondecreasing order of the shortest

More information

56:171 Operations Research Midterm Exam Solutions October 22, 1993

56:171 Operations Research Midterm Exam Solutions October 22, 1993 56:171 O.R. Midterm Exam Solutions page 1 56:171 Operations Research Midterm Exam Solutions October 22, 1993 (A.) /: Indicate by "+" ="true" or "o" ="false" : 1. A "dummy" activity in CPM has duration

More information

Priority Queues 9/10. Binary heaps Leftist heaps Binomial heaps Fibonacci heaps

Priority Queues 9/10. Binary heaps Leftist heaps Binomial heaps Fibonacci heaps Priority Queues 9/10 Binary heaps Leftist heaps Binomial heaps Fibonacci heaps Priority queues are important in, among other things, operating systems (process control in multitasking systems), search

More information

September-December 2016 Examinations ACCA F5 21. Many factors are relevant when considering what price to charge.

September-December 2016 Examinations ACCA F5 21. Many factors are relevant when considering what price to charge. September-December 2016 Examinations ACCA F5 21 Chapter 7 PRICING 1. Introduction An important decision for the management accountant is that of fixing a selling price. In this chapter we will consider

More information

Equity Importance Modeling With Financial Network and Betweenness Centrality

Equity Importance Modeling With Financial Network and Betweenness Centrality Equity Importance Modeling With Financial Network and Betweenness Centrality Zhao Zhao 1 Guanhong Pei 1 Fei Huang 1 Xiaomo Liu 2 1 NDSSL,Virginia Bioinformatics Institute, Virginia Tech, Blacksburg, VA,

More information

Decision Trees An Early Classifier

Decision Trees An Early Classifier An Early Classifier Jason Corso SUNY at Buffalo January 19, 2012 J. Corso (SUNY at Buffalo) Trees January 19, 2012 1 / 33 Introduction to Non-Metric Methods Introduction to Non-Metric Methods We cover

More information

Zooming Algorithm for Lipschitz Bandits

Zooming Algorithm for Lipschitz Bandits Zooming Algorithm for Lipschitz Bandits Alex Slivkins Microsoft Research New York City Based on joint work with Robert Kleinberg and Eli Upfal (STOC'08) Running examples Dynamic pricing. You release a

More information

Master of Business Administration - General. Cohort: MBAG/14/PT Mar. Examinations for Semester II / 2014 Semester I

Master of Business Administration - General. Cohort: MBAG/14/PT Mar. Examinations for Semester II / 2014 Semester I Master of Business Administration - General Cohort: MBAG/14/PT Mar Examinations for 2013 2014 Semester II / 2014 Semester I MODULE: OPERATIONS RESEARCH MODULE CODE: MGMT5214 DURATION: 3 HOURS Instructions

More information

ROM Simulation with Exact Means, Covariances, and Multivariate Skewness

ROM Simulation with Exact Means, Covariances, and Multivariate Skewness ROM Simulation with Exact Means, Covariances, and Multivariate Skewness Michael Hanke 1 Spiridon Penev 2 Wolfgang Schief 2 Alex Weissensteiner 3 1 Institute for Finance, University of Liechtenstein 2 School

More information

Handout 4: Deterministic Systems and the Shortest Path Problem

Handout 4: Deterministic Systems and the Shortest Path Problem SEEM 3470: Dynamic Optimization and Applications 2013 14 Second Term Handout 4: Deterministic Systems and the Shortest Path Problem Instructor: Shiqian Ma January 27, 2014 Suggested Reading: Bertsekas

More information

Making Complex Decisions

Making Complex Decisions Ch. 17 p.1/29 Making Complex Decisions Chapter 17 Ch. 17 p.2/29 Outline Sequential decision problems Value iteration algorithm Policy iteration algorithm Ch. 17 p.3/29 A simple environment 3 +1 p=0.8 2

More information

SET 1C Binary Trees. 2. (i) Define the height of a binary tree or subtree and also define a height balanced (AVL) tree. (2)

SET 1C Binary Trees. 2. (i) Define the height of a binary tree or subtree and also define a height balanced (AVL) tree. (2) SET 1C Binary Trees 1. Construct a binary tree whose preorder traversal is K L N M P R Q S T and inorder traversal is N L K P R M S Q T 2. (i) Define the height of a binary tree or subtree and also define

More information

Name: Common Core Algebra L R Final Exam 2015 CLONE 3 Teacher:

Name: Common Core Algebra L R Final Exam 2015 CLONE 3 Teacher: 1) Which graph represents a linear function? 2) Which relation is a function? A) B) A) {(2, 3), (3, 9), (4, 7), (5, 7)} B) {(0, -2), (3, 10), (-2, -4), (3, 4)} C) {(2, 7), (2, -3), (1, 1), (3, -1)} D)

More information

Data Structures, Algorithms, & Applications in C++ ( Chapter 9 )

Data Structures, Algorithms, & Applications in C++ ( Chapter 9 ) ) Priority Queues Two kinds of priority queues: Min priority queue. Max priority queue. Min Priority Queue Collection of elements. Each element has a priority or key. Supports following operations: isempty

More information

CSCI 1951-G Optimization Methods in Finance Part 00: Course Logistics Introduction to Finance Optimization Problems

CSCI 1951-G Optimization Methods in Finance Part 00: Course Logistics Introduction to Finance Optimization Problems CSCI 1951-G Optimization Methods in Finance Part 00: Course Logistics Introduction to Finance Optimization Problems January 26, 2018 1 / 24 Basic information All information is available in the syllabus

More information

Yao s Minimax Principle

Yao s Minimax Principle Complexity of algorithms The complexity of an algorithm is usually measured with respect to the size of the input, where size may for example refer to the length of a binary word describing the input,

More information

CHAPTER 5: DYNAMIC PROGRAMMING

CHAPTER 5: DYNAMIC PROGRAMMING CHAPTER 5: DYNAMIC PROGRAMMING Overview This chapter discusses dynamic programming, a method to solve optimization problems that involve a dynamical process. This is in contrast to our previous discussions

More information