MEI Conference 2009: D2
|
|
- Cory Shelton
- 5 years ago
- Views:
Transcription
1 D Networks MEI Conference 009: D Travelling Salesperson Problem 7 A B Route Inspection Problems (Chinese Postman) () A 7 B () 4 () C Identify the odd vertices in the network Consider all the routes joining pairs of odd vertices and select the shortest Find the sum of the weights on all the edges Shortest distance is the sum of all weights plus the extra that must be travelled Find a tour which repeats the edges found in step. Odd vertices A, B, C, D AB 7 AC AD 6 CD BD 4 BC Choose to repeat AC and BD Length of all the edges is 4 Length of minimum tour = 0 Possible tour ACDBCADBA 4 D () Upper Bounds: Nearest Neighbour Algorithm distance matrix complete matrix A B C D A B 7-4 C - D Use nearest neighbour algorithm starting at A upper bound length 15 Lower Bounds 1 4 Delete a vertex and the edges incident on it Find a minimum spanning tree for the remaining network Reconnect the deleted vertex by the two shortest edges e.g. Delete B A C 7 B D A B C D A B 7-4 C - D A B C D A B 7-4 C - D A complete matrix is required for NNA For a full solution, NNA should be repeated starting at each vertex in turn minimum connector + = 4 reconnect B (BC, BD) + 4 = 7 Lower bound = 11 C D Repeat for all vertices. Greatest lower bound is the best lower bound Find a tour such that least upper bound > tour > greatest lower bound
2 Floyd s Algorithm There are circumstances in which we require all shortest paths in a network. Clearly we could achieve this by applying Dijkstra n times - one for each starting vertex. This would have complexity 0(n ). An alternative cubic algorithm is Floyd s algorithm which achieves the same ends. Example A B C E The method successively modifies the following two matrices - 5 A distance (or weight) matrix. This gives the length of each arc in the network, and is symmetric unless we are dealing with a digraph. The distance from a vertex to itself is shown as 0. Where there is no direct connection (i.e. no edge) the distance is shown as α. A route matrix. The initial version of this has a column of 1 s followed by a column of s, etc. The Algorithm Step 1 Step Choose the first row and column, and highlight all elements in the chosen row and column. Note the iteration (via A) Compare every element in the chosen row or column with the sum of the corresponding entries in the chosen row and column. Initial Distance Matrix (D 0 ) Initial Route Matrix (R 0 ) destination destination A 7 5 A A B C D E start B 7 1 start B A B C D E C 6 C A B C D E D 5 D A B C D E E 1 6 E A B C D E These numbers represent distances by single stage routes. The highlighting is ready for the first iteration. D These letters represent the first vertex on corresponding single stage routes, so the first vertex encountered on the single arc route from E to D is D Step Step 4 If the calculated sum is smaller than the element then replace the element by the sum. If the element is replaced then we need to update the corresponding entry of the route matrix. The value to replace it with is found in the route matrix from the previous iteration - in the same row as the entry it is replacing, but in the column given by the iteration. D (A) R (A) Via A destination destination A 7 5 A A B C D E start B start B A A C A E C C A B A A E D D A A A A E E 1 6 E A B C D E Step 5 Repeat steps 1 to 4 until all rows/columns have been chosen in step 1. Step 6 The distance matrix will now contain the shortest distances. The route matrix shows the next vertex en route from one to another along a shortest path. It can be used to construct complete shortest paths. D (B) Look at the highlighted row and column: = 1 R (B) Via B destination destination A A B B C D B start B start B A A C A E C C A B A A B D D A A A A E E E B B B D B 1 + = 4; 4 < 6 The route matrix shows that the first vertex on the route from E to A is vertex B
3 D (C) R (C) Via C destination destination A A C C C D C start B start B C C C C E C C A B A A B D D A A A A E E E B B B D B D (D) R (D) Via D destination destination A A C C C D C start B start B C C C C E C C A B A A B D D A A A A E E E B B B D B D (E) This shows that there is a path of length 7 from vertex E to vertex A R (E) This entry came from row 5, column in the previous route matrix Via E destination destination A A C C C D C start B start B C E C E E C C A B A B B D D A E E E E E E B B B D B The final matrix D(E) shows all of the shortest distances, so the shortest distance from vertex C to vertex D is 7. The R (E) matrix shows that the first vertex on the route is vertex B. Now use the R (E) matrix again to find the first vertex on the shortest route from vertex B to vertex D. This is vertex E, so the route is now seen to be C, B, E,... Finally the first vertex on the shortest route from vertex E to vertex D is vertex D. So the final route is C, B, E, D. D: Linear Programming Introduction Many problems in Decision Maths are to do with finding the best solution to a problem, given that the solution must satisfy a number of constraints. Linear programming is, perhaps, the most obvious example of this type of problem. Linear programming was developed during the Second World War to solve logistical problems. The term LINEAR refers to the functions defining the problem which must be linear i.e. the output is proportional to the input. The simplex algorithm was developed by Dantzig in the 1940s in order to solve particular types of Linear Programming problems. The Syllabus The Simplex Algorithm: Be able to solve simple maximisation problems with < constraints and with two or more variables. Use the tabular form of the algorithm Geometric interpretation: Be able to identify tableaux (initial, intermediate and final) with points, particularly in the case of problems involving two or three variables. Show alternative feasible points and their costs. Greater than ( > ) inequalities: Understand the use of two stage simplex, and of the big M methods to construct an initial feasible solution to problems involving > constraints, including the possibility that there is no feasible solution Equality constraints: Understand how to model an equality constraint using a pair of inequality constraints. Getting started: Formulation Translating a real life problem into a linear programming problem is called formulating the problem and is an example of mathematical modelling. Each problem must have clearly defined variables, an objective function and is subject to certain constraints Slack Variables In order to enable problems to be converted into a format that can be dealt with by computer, slack (or surplus) variables are introduced to change the constraint inequalities into equalities. Each vertex of the feasible region would then be defined by the intersection of two lines where the variables equal zero. The Simplex Method The Simplex Method starts at one vertex and systematically moves round all the vertices, increasing the objective function as it goes, until it reaches the one with the optimal solution. This is easy to visualise on a dimensional problem, but can be generalised to include more variables. Once there are more than two variables, a graphical approach is no
4 longer appropriate, so we use the simplex tableau, a tabular form of the algorithm which uses row reduction (remember Gaussian elimination?) to solve the problem. Adaptations of the algorithm Integer programming: In many practical situations, the solution to a problem must take an integer value. This situation is much more difficult to guarantee a correct solution, but since the IP solution is almost always close to the LP solution a heuristic approach can be used. Greater than Inequalities: these lead to problems which involve minimisation. In dimensions these problems like this can be solved graphically in the same way as maximisation problems. There are also adaptations of the Simplex algorithm to deal with this type of problem. Negative values: The simplex algorithm requires all variables to be nonnegative. If a variable, x say, has a negative value, it will be replaced in the formulation by x 1 - x where x 1 < x. Other types of problems: Simplex can be adapted to solve a range of problems, such as shortest path (minimisation), maximum flow (maximisation) and game theory (maximin). Formulation Define Variables (x, y, z or x 1, x, x,...) which are usually restricted to positive values Define Objective Function (Maximise/Minimise an expression in terms of variables) Define Constraints (inequalities) restrictions on variable values Simplex Algorithm (Tableau) Our example: Let x be... Let y be... Maximise x+y Subject to x + y 16 x + y 4 y 6 x, y 0 1. Represent the problem in a tableau. Use the objective row to find the pivot column. Use the ratio test to find the pivot element 4. Divide through the pivot row by the pivot element 5. Add/subtract multiples of the transformed pivot row to/from the other rows to create zeros in the pivot column 6. Repeat until no negatives in objective row 7. Set basic variables (with columns containing a 1 and 0s) to corresponding RS, and non-basic variables to zero. Note on finding pivot column (step ) Can choose any variable in objective row with negative coefficient, but usual to pick largest magnitude, and priority is to increase original rather than slack variables (NB for two stage simplex will sometimes have minimise objective - if so then pick positive and decrease). Note on ratio test (step ) Divide each R.H.S. value by the corresponding element in the pivot column - ignore negative ratios and division by zero - choose row giving smallest and mark pivot column element as pivot. Worked example P x y s 1 s s RHS R R R R R R R R4/ ½ -½ 9 +R R ½ -/ R7/ same ¼ ¼ ½R ½ -½ 1 R10/ ¾ -¼ ½R ½ ½ 0 4 -R Simplex: Two Stage and Big M methods When? For constraints Minimisation problems Two Stage Simplex Simplex relies on (0,0) being a feasible solution. If it is not, then we introduce a set of artificial variables a 1, a, etc. to all constraints (to ensure that none of the variables have a negative value) and a new objective function Q = a 1 + a + The artificial variables effectively move us from (0,0) into the feasible region.
5 We now need surplus (as opposed to slack) variables which are subtracted from the constraints. In a similar problem to our earlier one, the constraints could be Maximise x+y Subject to x + y 16 x + y 4 x, y 1 Firstly we need to add the slack variables to the constraints and subtract the surplus variables from the constraints. Since clearly x=y=0 is not a feasible solution we add artificial variables and form a supplementary problem giving new constraints: x - s + a 1 = 1 and y - s 4 + a = 1 The additional objective Q = a 1 + a is written in terms of the other variables and rearranged Q + x + y - s - s 4 =. We then aim to minimise Q = a 1 + a to ensure that we are in the feasible region before completing the Simplex in the normal way Q P x y s 1 s s s 4 a 1 a v Q P x y s 1 s s s 4 a 1 a v Since the artificial variables are now 0, these, and the supplementary objective can be removed and the remaining tableau solved ( iterations) to give the solution as before. The big M method Using the same problem as for Two Stage Simplex, we have Maximise x+y Subject to x + y + s 1 = 16 x + y + s = 4 x - s + a 1 = 1 y - s 4 + a = 1 Our aim is to maximise P=x + y - M(a 1 + a ) where M is an arbitrarily large value and hence to achieve our maximisation we require a 1 and a to be zero. Re-writing without the artificial variables: P - x - y + M(1 - x + s y + s 4 )=0 P - (1+M)x + (1+M)y + Ms + Ms 4 = -M P x y s 1 s s s 4 a 1 a RHS 1 -(1+M) -(1+M) 0 0 M M 0 0 -M P x y s 1 s s s 4 a 1 a RHS 1 0 -(1+M) M 1+M 0 1-M P x y s 1 s s s 4 a 1 a RHS M 1+M Our artificial variables are no-basic (zero) and the M only appears in their columns. They can therefore be deleted and the remaining tableau is as before for further iteration.
6 D: Logic and Boolean Algebra Boolean variables: p, q Truth tables NOT AND OR p ~p p q p q IMPLIES IMPLIED BY EQUIVALENCE p q p q e.g. Prove ~ (a b) = ~a ~b e.g Prove a (b c) (a b) (a c) Laws of Boolean algebra p q p q p q p q p q p q LHS RHS a b a b ~(a b) a b ~a ~b ~a ~b LHS RHS a b c b c a (b c) a b c a b a c (a b) (a c) The most obvious way to simplify Boolean expressions is to manipulate them in the same way as you would manipulate algebraic expressions. A set of rules for is needed for this and these are shown in the table p ~p = 1 p ~p = 0 ~(~p) = p p p = p p p = p p 0 = p p 1 = p p 1 = 1 p 0 = 0 p q = q p p q = q p p (q r) = (p q) (p r) p (q r) = (p q) (q r) p (p q) = p ~(p q) = ~p ~q ~(p q) = ~p ~q e.g. Simplify p (~p q) Circuits = (p ~p) (p q) = 1 (p q) = p q a Complement laws Double complement Indempotent laws Identity laws Dominance laws Commutative laws Distributive laws Absorption law DeMorgan's laws this circuit can be written as b c a (b c) Logic Gates Students need to be able to apply their knowledge of truth tables and circuits to simple circuits involving logic gates: NOT, AND, OR, NAND, NOR. D: Decision Analysis Terminology Decision trees can be drawn in situations where the outcome of events is uncertain. EMV (expected monetary value) can be calculated for various courses of action to assist decision-making in situations where probabilities can be assigned to the outcomes. The decision tree has three types of nodes
7 Decision node Chance node Payoff node Example The organiser of a tennis tournament has to decide whether to take out insurance against bad weather. For a premium of 150, she will receive a payout of if it rains on the day of the tournament. The organiser calculates that if it rains, the losses will total 1000 but if it is fine they will make 9500 profit. The weather forecast estimates that there is a 5% chance of rain on the day of the tournament. What would you advise the organiser to do? ( 450 X 0.5) + (800 X 0.75) rain (0.5) insurance premium losses insure (- 150) fine (0.75) profit - insurance select the larger figure don t rain (0.5) insure ( 1000 X 0.5) + (9500 X 0.75) fine (0.75) 9500 Solution Advise the organiser to take out insurance EMV
8 Teaching D using the online resources Chapter 1: Linear programming, the simplex method This chapter is quite challenging for students. It can be difficult to teach and off-putting for students. It is worth taking some time to make sure that they can interpret tableaux at every stage of the working including giving values of the slack/surplus variables. Don t be tempted to take too long on this chapter it can easily become death by simplex. Students are expected to have a good understanding of what the method is doing but are not going to be asked to perform long and complicated simplex tableaux in the exam. When starting out on basic simplex and again when doing stage simplex and big M method, it is worth tackling a reasonably complex variable problem and working the simple alongside a graph. This gives students a much clearer picture of how the simplex algorithm works and what it is actually doing. This can make tacking or 4 variable problems less intimidating. Don t forget to subtract the surplus variables when tackling stage simplex. Some find it difficult to subtract multiples of M and hence make algebraic errors in the big M method Students may be asked to do an ordinary simplex but it s unlikely that they will be asked to do a full -stage or big M Two stage simplex has come up on the exam more often that big M Chapter : Networks Route inspection is the topic which students seem to find easiest so this could be tackled first. TSP uses the MST algorithms learned in D1so make sure the students are secure in this first. It is important to distinguish between TSP and RI and which to use for what type of problem. When teaching TSP, make sure students understand the distinction between the classical problem, which uses a complete network, and the practical problem, which almost certainly doesn t. When finding a lower bound for TSP, we use the method where a vertex is deleted. The resulting lower bound DOES NOT give a tour, except in exceptional circumstances. Students don t understand why it is the GREATEST lower bound and LEAST upper bound. Floyd s algorithm is straightforward but takes a bit of time to do thoroughly. When applying Floyd s algorithm students can easily get lost using the distance and the route matrices side by side. Draw attention to the way to change the route matrix Use colours highlighter pens are indispensable when doing Floyd s algorithm. Chapter : Decision analysis Decision analysis is a dynamic tool. The power of decision analysis is not in the numbers at the decision node, it is the ability to change the utilities and probabilities and see how this affects the decision node. When drawing a decision tree you can use increase in wealth (profit) or total wealth but it is important to be consistent. EMV can be calculated in the same way as expectation in statistics. You do not need to have drawn a decision tree in order to calculate the EMV for a situation. When considering utility always use total wealth, since utility is a function of wealth. The utility function is specific to a person or situation and is given for each problem. It can be loosely described as a measure of happiness Chapter 4: Logic and Boolean algebra Students usually prefer to use truth tables to prove logical propositions. They need to know, or be able to work out, the truth tables. They do need to know how to use the laws of Boolean algebra as well it can be specified on the exam paper. Students must be able to distinguish between a combinatorial circuit and a switching circuit. They can be asked to produce tables of outputs for circuits They are not required to memorise the half adder. D Online resources
9 Teaching D using the online resources Every chapter contains A glossary of terms An end of chapter assessment the answers to this are in the teachers resources Every section within the chapter contains A study plan Crucial points that students need to be aware of when learning the material Notes that explain the topic and more examples than are in the textbook. Worked solutions to some of the questions in the textbook. A multiple choice test which can printed off and used in class or be done online by registered students. They will receive instant feedback. The additional resources are being added to all the time. Below is a list of some of the things currently available Topic section about Additional resources Linear The simplex method The initial simplex tableau, Interactive excel Programming Manipulating systems of equations, The simplex method Problems involving Terminology, Post-optimal analysis, Interactive excel constraints, Two-stage simplex, The big M method Problem solving Equalities and practicalities Networks Route inspection Euler Cycles. Solving route inspection problems Power point Travelling salesperson Hamiltonian cycles. The travelling Power point salesperson problem, The practical problem and the classical problem, Upper and lower bounds, Tour building Floyd s algorithm Drawing an activity network, identifying a critical path, earliest and Power point Decision analysis Logic Decision analysis Propositional calculus and truth tables Boolean algebra Switching circuits latest event times, float Construct and interpret Decision trees. Calculate EMV. Understand Utility functions and use utility to compare alternatives Be able to understand and form compound propositions using the correct symbols. Use truth tables to analyse propositions Manipulate Boolean expressions and use the laws of Boolean algebra Be able to model compound propositions with simple switching and combinatorial circuits.
Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks
Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks Key knowledge the conventions, terminology, properties and types of graphs; edge, face, loop,
More informationMEI Further Mathematics Support Programme
Further Mathematics Support Programme the Further Mathematics Support Programme www.furthermaths.org.uk Modelling and problem solving with Networks Sharon Tripconey Let Maths take you Further Nov 2009
More information1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT
DECISION 1 Revision Notes 1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT Make sure you show comparisons clearly and label each pass First Pass 8 4 3 6 1 4 8 3 6 1 4 3 8 6 1 4 3 6 8 1
More informationModule 2: NETWORKS AND DECISION MATHEMATICS
Further Mathematics 2017 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks Key knowledge the conventions, terminology, properties and types of graphs; edge, face, loop,
More informationSUMMARY SHEET DECISION MATHS. Algorithms. Input A and B (positive integers) Let Q = int(b/a) Let R1 = B A Q
the urther Mathematics network www.fmnetwork.org.uk V 07 SUMMRY SHT ISION MTHS lgorithms The main ideas are covered in Q dexcel MI OR The main ideas in this topic are Understanding and implementing a variety
More informationReal life Problem. Review
Linear Programming The Modelling Cycle in Decision Maths Accept solution Real life Problem Yes No Review Make simplifying assumptions Compare the solution with reality is it realistic? Interpret the solution
More informationSome Advanced Topics in Linear Programming
Some Advanced Topics in Linear Programming Matthew J. Saltzman July 2, 995 Connections with Algebra and Geometry In this section, we will explore how some of the ideas in linear programming, duality theory,
More informationLinear programming II João Carlos Lourenço
Decision Support Models Linear programming II João Carlos Lourenço joao.lourenco@ist.utl.pt Academic year 2012/2013 Readings: Hillier, F.S., Lieberman, G.J., 2010. Introduction to Operations Research,
More informationChapter II. Linear Programming
1 Chapter II Linear Programming 1. Introduction 2. Simplex Method 3. Duality Theory 4. Optimality Conditions 5. Applications (QP & SLP) 6. Sensitivity Analysis 7. Interior Point Methods 1 INTRODUCTION
More informationGCE. Mathematics. Mark Scheme for June Advanced GCE Oxford Cambridge and RSA Examinations
GCE Mathematics Advanced GCE 4736 Mark Scheme for June 2010 Oxford Cambridge and RSA Examinations OCR (Oxford Cambridge and RSA) is a leading UK awarding body, providing a wide range of qualifications
More informationThursday 24 May 2012 Morning
Thursday 24 May 2012 Morning AS GCE MATHEMATICS 4736 Decision Mathematics 1 QUESTION PAPER *4715580612* Candidates answer on the Printed Answer Book. OCR supplied materials: Printed Answer Book 4736 List
More information56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998
56:272 Integer Programming & Network Flows Final Examination -- December 14, 1998 Part A: Answer any four of the five problems. (15 points each) 1. Transportation problem 2. Integer LP Model Formulation
More informationTopic 10 Part 2 [474 marks]
Topic Part 2 [474 marks] The complete graph H has the following cost adjacency matrix Consider the travelling salesman problem for H a By first finding a minimum spanning tree on the subgraph of H formed
More informationFriday 5 June 2015 Morning
Oxford Cambridge and RSA Friday 5 June 2015 Morning AS GCE MATHEMATICS 4736/01 Decision Mathematics 1 QUESTION PAPER * 3 2 4 8 7 7 8 5 4 8 * Candidates answer on the Printed Answer Book. OCR supplied materials:
More informationLinear Programming Terminology
Linear Programming Terminology The carpenter problem is an example of a linear program. T and B (the number of tables and bookcases to produce weekly) are decision variables. The profit function is an
More informationAdvanced Operations Research Techniques IE316. Quiz 1 Review. Dr. Ted Ralphs
Advanced Operations Research Techniques IE316 Quiz 1 Review Dr. Ted Ralphs IE316 Quiz 1 Review 1 Reading for The Quiz Material covered in detail in lecture. 1.1, 1.4, 2.1-2.6, 3.1-3.3, 3.5 Background material
More informationBawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University
Logic Design First Stage Lecture No.5 Boolean Algebra Bawar Abid Abdalla Assistant Lecturer Software Engineering Department Koya University Boolean Operations Laws of Boolean Algebra Rules of Boolean Algebra
More informationFundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology Madras.
Fundamentals of Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology Madras Lecture No # 06 Simplex Algorithm Initialization and Iteration (Refer Slide
More informationIntroduction. Linear because it requires linear functions. Programming as synonymous of planning.
LINEAR PROGRAMMING Introduction Development of linear programming was among the most important scientific advances of mid-20th cent. Most common type of applications: allocate limited resources to competing
More informationOptimization of Design. Lecturer:Dung-An Wang Lecture 8
Optimization of Design Lecturer:Dung-An Wang Lecture 8 Lecture outline Reading: Ch8 of text Today s lecture 2 8.1 LINEAR FUNCTIONS Cost Function Constraints 3 8.2 The standard LP problem Only equality
More information(Refer Slide Time 3:31)
Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 5 Logic Simplification In the last lecture we talked about logic functions
More informationAdvanced 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 28 Chinese Postman Problem In this lecture we study the Chinese postman
More informationPATH FINDING AND GRAPH TRAVERSAL
GRAPH TRAVERSAL PATH FINDING AND GRAPH TRAVERSAL Path finding refers to determining the shortest path between two vertices in a graph. We discussed the Floyd Warshall algorithm previously, but you may
More informationQUESTION BANK FOR TEST
CSCI 2121 Computer Organization and Assembly Language PRACTICE QUESTION BANK FOR TEST 1 Note: This represents a sample set. Please study all the topics from the lecture notes. Question 1. Multiple Choice
More informationSolutions for Operations Research Final Exam
Solutions for Operations Research Final Exam. (a) The buffer stock is B = i a i = a + a + a + a + a + a 6 + a 7 = + + + + + + =. And the transportation tableau corresponding to the transshipment problem
More informationDiscrete Optimization. Lecture Notes 2
Discrete Optimization. Lecture Notes 2 Disjunctive Constraints Defining variables and formulating linear constraints can be straightforward or more sophisticated, depending on the problem structure. The
More informationThe Simplex Algorithm
The Simplex Algorithm Uri Feige November 2011 1 The simplex algorithm The simplex algorithm was designed by Danzig in 1947. This write-up presents the main ideas involved. It is a slight update (mostly
More informationTheorem 2.9: nearest addition algorithm
There are severe limits on our ability to compute near-optimal tours It is NP-complete to decide whether a given undirected =(,)has a Hamiltonian cycle An approximation algorithm for the TSP can be used
More informationTA: Jade Cheng ICS 241 Recitation Lecture Notes #12 November 13, 2009
TA: Jade Cheng ICS 241 Recitation Lecture Notes #12 November 13, 2009 Recitation #12 Question: Use Prim s algorithm to find a minimum spanning tree for the given weighted graph. Step 1. Start from the
More informationName: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS
Name: THE SIMPLEX METHOD: STANDARD MAXIMIZATION PROBLEMS A linear programming problem consists of a linear objective function to be maximized or minimized subject to certain constraints in the form of
More informationr=1 The Binomial Theorem. 4 MA095/98G Revision
Revision Read through the whole course once Make summary sheets of important definitions and results, you can use the following pages as a start and fill in more yourself Do all assignments again Do the
More informationthe Further Mathematics network V SUMMARY SHEET DECISION MATHS Algorithms Input A and B (positive integers)
the urther Mathematics network www.fmnetwork.org.uk V 07 SUMMRY SHT ISION MTHS lgorithms The main ideas are covered in Q dexcel MI OR The main ideas in this topic are Understanding and implementing a variety
More informationThe Simplex Algorithm
The Simplex Algorithm April 25, 2005 We seek x 1,..., x n 0 which mini- Problem. mizes C(x 1,..., x n ) = c 1 x 1 + + c n x n, subject to the constraint Ax b, where A is m n, b = m 1. Through the introduction
More informationCopyright 2007 Pearson Addison-Wesley. All rights reserved. A. Levitin Introduction to the Design & Analysis of Algorithms, 2 nd ed., Ch.
Iterative Improvement Algorithm design technique for solving optimization problems Start with a feasible solution Repeat the following step until no improvement can be found: change the current feasible
More informationGCE. Mathematics. Mark Scheme for January Advanced GCE Unit 4736: Decision Mathematics 1. physicsandmathstutor.com
GCE Mathematics Advanced GCE Unit 4736: Decision Mathematics 1 Mark Scheme for January 2011 Oxford Cambridge and RSA Examinations OCR (Oxford Cambridge and RSA) is a leading UK awarding body, providing
More informationChapter 15 Introduction to Linear Programming
Chapter 15 Introduction to Linear Programming An Introduction to Optimization Spring, 2015 Wei-Ta Chu 1 Brief History of Linear Programming The goal of linear programming is to determine the values of
More informationNotebook Assignments
Notebook Assignments These six assignments are a notebook using techniques from class in the single concrete context of graph theory. This is supplemental to your usual assignments, and is designed for
More informationEE292: Fundamentals of ECE
EE292: Fundamentals of ECE Fall 2012 TTh 10:00-11:15 SEB 1242 Lecture 22 121115 http://www.ee.unlv.edu/~b1morris/ee292/ 2 Outline Review Binary Number Representation Binary Arithmetic Combinatorial Logic
More informationGraphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs
Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are
More informationPartha Sarathi Mandal
MA 515: Introduction to Algorithms & MA353 : Design and Analysis of Algorithms [3-0-0-6] Lecture 39 http://www.iitg.ernet.in/psm/indexing_ma353/y09/index.html Partha Sarathi Mandal psm@iitg.ernet.in Dept.
More informationFriday 24 May 2013 Morning
Friday 24 May 2013 Morning AS GCE MATHEMATICS 4736/01 Decision Mathematics 1 QUESTION PAPER *4715580613* Candidates answer on the Printed Answer Book. OCR supplied materials: Printed Answer Book 4736/01
More informationLearning Objectives: Topic Karnaugh Maps. At the end of this topic you will be able to;
Topic.2.3 Karnaugh Maps Learning Objectives: t the end of this topic you will be able to; Draw a Karnaugh map for a logic system with up to four inputs and use it to minimise the number of gates required;
More informationLECTURES 3 and 4: Flows and Matchings
LECTURES 3 and 4: Flows and Matchings 1 Max Flow MAX FLOW (SP). Instance: Directed graph N = (V,A), two nodes s,t V, and capacities on the arcs c : A R +. A flow is a set of numbers on the arcs such that
More informationChapter 9 Graph Algorithms
Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures Chapter 9 Graph s 2 Definitions Definitions an undirected graph is a finite set
More information(Refer Slide Time: 01:00)
Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture minus 26 Heuristics for TSP In this lecture, we continue our discussion
More informationIntroduction to Mathematical Programming IE496. Final Review. Dr. Ted Ralphs
Introduction to Mathematical Programming IE496 Final Review Dr. Ted Ralphs IE496 Final Review 1 Course Wrap-up: Chapter 2 In the introduction, we discussed the general framework of mathematical modeling
More informationSTUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl
Page 1 of 13 NAME: STUDENT NUMBER: MATH 1281 - Final Exam Lakehead University April 13, 2011 Dr. Adam Van Tuyl Instructions: Answer all questions in the space provided. If you need more room, answer on
More informationSCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory
SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics An Introduction to Graph Theory. Introduction. Definitions.. Vertices and Edges... The Handshaking Lemma.. Connected Graphs... Cut-Points and Bridges.
More informationNotes for Recitation 9
6.042/18.062J Mathematics for Computer Science October 8, 2010 Tom Leighton and Marten van Dijk Notes for Recitation 9 1 Traveling Salesperson Problem Now we re going to talk about a famous optimization
More informationChapter 9 Graph Algorithms
Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures 3 Definitions an undirected graph G = (V, E) is a
More information2. BOOLEAN ALGEBRA 2.1 INTRODUCTION
2. BOOLEAN ALGEBRA 2.1 INTRODUCTION In the previous chapter, we introduced binary numbers and binary arithmetic. As you saw in binary arithmetic and in the handling of floating-point numbers, there is
More informationChapter 5: Euler Paths and Circuits The Mathematics of Getting Around
1 Finite Math A Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around Academic Standards Covered in this Chapter: *************************************************************************************
More informationExperiment 4 Boolean Functions Implementation
Experiment 4 Boolean Functions Implementation Introduction: Generally you will find that the basic logic functions AND, OR, NAND, NOR, and NOT are not sufficient to implement complex digital logic functions.
More informationMonday 23 January 2012 Morning
Monday 23 January 2012 Morning AS GCE MATHEMATICS 4736 Decision Mathematics 1 QUESTION PAPER *4733020112* Candidates answer on the Printed Answer Book. OCR supplied materials: Printed Answer Book 4736
More informationLinear Programming. Linear programming provides methods for allocating limited resources among competing activities in an optimal way.
University of Southern California Viterbi School of Engineering Daniel J. Epstein Department of Industrial and Systems Engineering ISE 330: Introduction to Operations Research - Deterministic Models Fall
More informationMaths: Phase 5 (Y12-13) Outcomes
Maths: Phase 5 (Y12-13) Outcomes I know numbers are beautiful. If they aren t beautiful nothing is. Paul Erdose Maths is discovered it doesn t just exist. Maths is a tool to understand, question and criticise
More informationGraph Applications, Class Notes, CS 3137 1 Traveling Salesperson Problem Web References: http://www.tsp.gatech.edu/index.html http://www-e.uni-magdeburg.de/mertens/tsp/tsp.html TSP applets A Hamiltonian
More informationPractice Final Exam 1
Algorithm esign Techniques Practice Final xam Instructions. The exam is hours long and contains 6 questions. Write your answers clearly. You may quote any result/theorem seen in the lectures or in the
More informationFundamentals of Operations Research. Prof. G. Srinivasan. Department of Management Studies. Indian Institute of Technology, Madras. Lecture No.
Fundamentals of Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture No. # 13 Transportation Problem, Methods for Initial Basic Feasible
More informationORF 307: Lecture 14. Linear Programming: Chapter 14: Network Flows: Algorithms
ORF 307: Lecture 14 Linear Programming: Chapter 14: Network Flows: Algorithms Robert J. Vanderbei April 10, 2018 Slides last edited on April 10, 2018 http://www.princeton.edu/ rvdb Agenda Primal Network
More informationChapter 9 Graph Algorithms
Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 3 Definitions an undirected graph G = (V, E)
More informationAhigh school curriculum in Algebra 2 contains both solving systems of linear equations,
The Simplex Method for Systems of Linear Inequalities Todd O. Moyer, Towson University Abstract: This article details the application of the Simplex Method for an Algebra 2 class. Students typically learn
More information11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions
Introduction Chapter 9 Graph Algorithms graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 2 Definitions an undirected graph G = (V, E) is
More information15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018
15-451/651: Design & Analysis of Algorithms October 11, 2018 Lecture #13: Linear Programming I last changed: October 9, 2018 In this lecture, we describe a very general problem called linear programming
More informationChapter 5: Euler Paths and Circuits The Mathematics of Getting Around
1 Finite Math A Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around Academic Standards Covered in this Chapter: *************************************************************************************
More informationc) How many students took none of the three subjects?
9 Final Fall 7 []. EVALUATE EACH OF THE FOLLOWING. SHOW ALL WORK. SIMPLIFY YOUR ANSWERS TO A SINGLE INTEGER. A) 6! 4! B) C ( 7, 4) C) P ( 9,4) []. In a recent survey of a senior class of 4 students the
More informationModule 6 NP-Complete Problems and Heuristics
Module 6 NP-Complete Problems and Heuristics Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu P, NP-Problems Class
More informationIT 201 Digital System Design Module II Notes
IT 201 Digital System Design Module II Notes BOOLEAN OPERATIONS AND EXPRESSIONS Variable, complement, and literal are terms used in Boolean algebra. A variable is a symbol used to represent a logical quantity.
More information1. What do you get as the integer and noninteger parts if you factor this as we did with our cutting planes:
1. What do you get as the integer and noninteger parts if you factor this as we did with our cutting planes: x 1 = -8.75-3.1 x 2 + 4.2 x 3 + 7 x 5-8 x 6 2. What constraint is added? 3. What do you need
More informationArtificial Intelligence
Artificial Intelligence Combinatorial Optimization G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/34 Outline 1 Motivation 2 Geometric resolution
More informationMAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS
MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS 1. Question 1 Part i. There are many Hamiltonian cycles; e.g., ABLKJEDFIHGC. We now show that if we remove vertex D, the result G \ {D} is not hamiltonian. Note
More information8. The Postman Problems
8. The Postman Problems The Chinese postman problem (CPP) A postal carrier must pick up the mail at the post office, deliver the mail along blocks on the route, and finally return to the post office. To
More informationECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017
ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 Combinational Logic Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke) Last
More informationChapter 3. Set Theory. 3.1 What is a Set?
Chapter 3 Set Theory 3.1 What is a Set? A set is a well-defined collection of objects called elements or members of the set. Here, well-defined means accurately and unambiguously stated or described. Any
More informationModule 6 P, NP, NP-Complete Problems and Approximation Algorithms
Module 6 P, NP, NP-Complete Problems and Approximation Algorithms Dr. Natarajan Meghanathan Associate Professor of Computer Science Jackson State University Jackson, MS 39217 E-mail: natarajan.meghanathan@jsums.edu
More informationCSE 40/60236 Sam Bailey
CSE 40/60236 Sam Bailey Solution: any point in the variable space (both feasible and infeasible) Cornerpoint solution: anywhere two or more constraints intersect; could be feasible or infeasible Feasible
More informationIntroduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras
Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module 03 Simplex Algorithm Lecture - 03 Tabular form (Minimization) In this
More informationGet Free notes at Module-I One s Complement: Complement all the bits.i.e. makes all 1s as 0s and all 0s as 1s Two s Complement: One s complement+1 SIGNED BINARY NUMBERS Positive integers (including zero)
More informationMATHEMATICS 4736 Decision Mathematics 1
ADVANCED SUBSIDIARY GCE MATHEMATICS 4736 Decision Mathematics 1 QUESTION PAPER Candidates answer on the Printed Answer Book OCR Supplied Materials: Printed Answer Book 4736 List of Formulae (MF1) Other
More informationLinear Programming. them such that they
Linear Programming l Another "Sledgehammer" in our toolkit l Many problems fit into the Linear Programming approach l These are optimization tasks where both the constraints and the objective are linear
More informationround decimals to the nearest decimal place and order negative numbers in context
6 Numbers and the number system understand and use proportionality use the equivalence of fractions, decimals and percentages to compare proportions use understanding of place value to multiply and divide
More informationChapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs
Chapter 3: Towards the Simplex Method for Efficient Solution of Linear Programs The simplex method, invented by George Dantzig in 1947, is the basic workhorse for solving linear programs, even today. While
More informationMath 7 Glossary Terms
Math 7 Glossary Terms Absolute Value Absolute value is the distance, or number of units, a number is from zero. Distance is always a positive value; therefore, absolute value is always a positive value.
More informationA Survey of Software Packages for Teaching Linear and Integer Programming
A Survey of Software Packages for Teaching Linear and Integer Programming By Sergio Toledo Spring 2018 In Partial Fulfillment of Math (or Stat) 4395-Senior Project Department of Mathematics and Statistics
More informationBest known solution time is Ω(V!) Check every permutation of vertices to see if there is a graph edge between adjacent vertices
Hard Problems Euler-Tour Problem Undirected graph G=(V,E) An Euler Tour is a path where every edge appears exactly once. The Euler-Tour Problem: does graph G have an Euler Path? Answerable in O(E) time.
More informationLinear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?
Linear and Integer Programming 15-853:Algorithms in the Real World Linear and Integer Programming I Introduction Geometric Interpretation Simplex Method Linear or Integer programming maximize z = c T x
More informationChapter 4: The Mechanics of the Simplex Method
Chapter 4: The Mechanics of the Simplex Method The simplex method is a remarkably simple and elegant algorithmic engine for solving linear programs. In this chapter we will examine the internal mechanics
More informationNOTATION AND TERMINOLOGY
15.053x, Optimization Methods in Business Analytics Fall, 2016 October 4, 2016 A glossary of notation and terms used in 15.053x Weeks 1, 2, 3, 4 and 5. (The most recent week's terms are in blue). NOTATION
More informationI will illustrate the concepts using the example below.
Linear Programming Notes More Tutorials at www.littledumbdoctor.com Linear Programming Notes I will illustrate the concepts using the example below. A farmer plants two crops, oats and corn, on 100 acres.
More informationSCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems
SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics Numbers & Number Systems Introduction Numbers and Their Properties Multiples and Factors The Division Algorithm Prime and Composite Numbers Prime Factors
More informationEquations of planes in
Roberto s Notes on Linear Algebra Chapter 6: Lines, planes and other straight objects Section Equations of planes in What you need to know already: What vectors and vector operations are. What linear systems
More informationA Survey of Mathematics with Applications 8 th Edition, 2009
A Correlation of A Survey of Mathematics with Applications 8 th Edition, 2009 South Carolina Discrete Mathematics Sample Course Outline including Alternate Topics and Related Objectives INTRODUCTION This
More informationGeneralized Network Flow Programming
Appendix C Page Generalized Network Flow Programming This chapter adapts the bounded variable primal simplex method to the generalized minimum cost flow problem. Generalized networks are far more useful
More informationSlide Set 5. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary
Slide Set 5 for ENEL 353 Fall 207 Steve Norman, PhD, PEng Electrical & Computer Engineering Schulich School of Engineering University of Calgary Fall Term, 207 SN s ENEL 353 Fall 207 Slide Set 5 slide
More informationLecture 9: Linear Programming
Lecture 9: Linear Programming A common optimization problem involves finding the maximum of a linear function of N variables N Z = a i x i i= 1 (the objective function ) where the x i are all non-negative
More informationAlgorithm Design Techniques. Hwansoo Han
Algorithm Design Techniques Hwansoo Han Algorithm Design General techniques to yield effective algorithms Divide-and-Conquer Dynamic programming Greedy techniques Backtracking Local search 2 Divide-and-Conquer
More informationCS261: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem
CS61: A Second Course in Algorithms Lecture #16: The Traveling Salesman Problem Tim Roughgarden February 5, 016 1 The Traveling Salesman Problem (TSP) In this lecture we study a famous computational problem,
More informationMA4254: Discrete Optimization. Defeng Sun. Department of Mathematics National University of Singapore Office: S Telephone:
MA4254: Discrete Optimization Defeng Sun Department of Mathematics National University of Singapore Office: S14-04-25 Telephone: 6516 3343 Aims/Objectives: Discrete optimization deals with problems of
More informationSection Notes 5. Review of Linear Programming. Applied Math / Engineering Sciences 121. Week of October 15, 2017
Section Notes 5 Review of Linear Programming Applied Math / Engineering Sciences 121 Week of October 15, 2017 The following list of topics is an overview of the material that was covered in the lectures
More informationUNIT 2 LINEAR PROGRAMMING PROBLEMS
UNIT 2 LINEAR PROGRAMMING PROBLEMS Structure 2.1 Introduction Objectives 2.2 Linear Programming Problem (LPP) 2.3 Mathematical Formulation of LPP 2.4 Graphical Solution of Linear Programming Problems 2.5
More information