Written Exam Linear and Integer Programming (DM554)

Size: px
Start display at page:

Download "Written Exam Linear and Integer Programming (DM554)"

Transcription

1 Written Exam Linear and Integer Programming (DM554) Department of Mathematics and Computer Science University of Southern Denmark Monday, June 22, 2015, 10:00 14:00, Festsalen, Niels Bohr Allé 1 The exam consists of a number of tasks divided into subtasks. The answers in a PDF document are to be handed in electronically in Blackboard ( The content of the documents Eksamensvejledning and Exam Monitor published in BlackBoard under the section Course Information is assumed to be known. Remember to justify all your statements! You may refer to results from the books or the lecture slides listed at the course web page. In particular, it is possible to justify a statement by saying that it derives trivially from a result in the textbook (if this is true). You may use all methods or extensions that have been used in the assignment sheets, published during the course. However, it is not allowed to answer a subtask exclusively by reference to an exercise seen during the course. Reference to other books (outside the course material) or to internet links is not accepted as answer to a task. The contribution to the final evaluation of each task, if carried out correctly, is given at the beginning of each task as a list of points for each subtask. The number of points does not necessarily reflect the difficulty of the subtask. The maximum score is 100. Exercises are sorted in the order of treatment during the course. The exam consists of 8 tasks distributed on 15 pages. You may write your answers in Danish or in English. An HTML version of this document with some data in different format is available at: However, the printed copy and the PDF file are the official reference for the exam!

2 Contents Linear systems (points: 6, 3, 2) Change of Basis (points: 7, 5, 3, 2) Simplex (points: 7, 12, 5, 10) Duality (points: 10) 7 LP Formulation (points: 5, 5) Branch and bound (points: 8) 10 IP Formulation (points: 10) 12 Network Flows (points: 5) 14 Page 2 of 15

3 Task 1 Linear systems (points: 6, 3, 2) Consider the following system of linear equations: Ax = b 1 : x 1 + x 2 + x 3 + x 4 = 4 2x 1 + x 3 x 4 = 2 2x 2 + x 3 + 3x 4 = 6 [You find online, in the HTML version of this document, the data in Python format, in case you want to make the calculations in Python.] Subtask 1.a Find the general solution of the system in the form x = p + α 1 s α n r s n r where p is a particular solution of the system and {s 1,..., s n r } is a basis for the null space of the coefficient matrix. Subtask 1.b Find the set of all b R 3 such that Ax = b is consistent. Subtask 1.c Verify the rank-nullity theorem for the matrix A. Page 3 of 15

4 Task 2 Change of Basis (points: 7, 5, 3, 2) Suppose M = {[ ] 2, 1 [ ]} 1, v = 1 [ ] 1, T 2 ([ ]) x = y [ ] 7x 2y. x + 8y [In the subtasks below, you can use Python to carry out matrix multiplications in fraction mode, but if you have to calculate the determinant and the inverse of a matrix then explain how you would carry out the calculations by hand.] Subtask 2.a Show that M is a basis of R 2. Write down the transition matrix from M coordinates to standard coordinates. Find [v] M, the M coordinates of the vector v. Subtask 2.b Write down the matrix A of the linear transformation T : R 2 R 2 with respect to the standard basis. Find the matrix of T in M coordinates. Call it D. Describe geometrically the effect of the transformation T as a map from R 2 R 2. Subtask 2.c Find the image of [v] M using the matrix D. Show that your answer is correct using standard coordinates. Subtask 2.d Write the eigenvalues and the corresponding eigenvectors of the matrix A. (If you have done Subtask 2.a and Subtask 2.b, you will not need any other calculation to give the eigenvalues and eigenvectors. Why?) Page 4 of 15

5 Task 3 Simplex (points: 7, 12, 5, 10) Consider the following integer linear programming problem: x 2 (IP ) max z = 2x 1 + x 2 s.t. 5x x x 1 2x 2 1 x 1 + 3x x 2 2 x 1 0 x 1, x 2 integer x 1 and let (LR0) be the linear relaxation of (IP). [Note: in the following subtasks, arguments that refer to the graphical representation given above will NOT be counted as valid. You can use Python to do the calculations. A tutorial on the commands you may need is available from the course web page under Assessment. For rational numbers, please, use fraction mode representation. ] Subtask 3.a Write the initial tableau for (LR0) and the corresponding basic solution. solution feasible? Is the basic Subtask 3.b After a number of simplex iterations the tableau of (LR0) looks as follows: x1 x2 x3 x4 x5 x6 -z b 5/ / /3 11/ / /3 1/ / /3-1/ / /3 5/ / /3 Perform from here another simplex iteration using the largest increase pivoting rule. [The Python code for the tableau above is given in the HTML version of this document.] Page 5 of 15

6 Subtask 3.c After two more simplex iterations we reach the following optimal tableau for (LR0): x1 x2 x3 x4 x5 x6 -z b 1 0 1/20 1/ / /40 1/ / /40-1/ / /40-1/ / /40-3/ /4 Write: (i) an explanation of why this tableau is optimal. (ii) the corresponding optimal solution and its value. (iii) what type of information the solution value of (LR0) provides for the solution value of (IP). (iv) the branching constraint for the variable of (IP) that has the most fractional value in the optimal solution of (LR0). Subtask 3.d Let s now branch on the variable x 2 : x 2 7/4 x 2 7/4 and let s consider the up branch, that is, x 2 7/4. Add this constraint to (LR0), thus obtaining the new problem (LR1). Find the optimal solution of (LR1) by introducing the new constraint in the optimal tableau of (LR0) 1 and performing one single further simplex iteration. Report the optimal solution of (LR1). Can we say that this solution is the optimal solution also for the original problem (IP) without doing any further computation? Why? 1 You are given this optimal tableau in Subtask 3.c. Page 6 of 15

7 Task 4 Duality (points: 10) Write the dual of the following pooling problem that we defined in Exam 2014 on a set of source nodes I, indexed by i and a set of pools J, index by j: (P ) max r j x ij j J i I x ij b i j J x ij d j i I p i x ij = p j i I i I x ij 0 x ij i I j J j J i I, j J If you find it helpful, you can use the numerical example depicted in Figure 1. However, the dual problem must be expressed in general terms as in the model above dkk 20% 10 40% G dkk 16% 20 0% T dkk 13% dkk 10% Figure 1: A numerical example for the pooling problem of Task 4. Page 7 of 15

8 Task 5 LP Formulation (points: 5, 5) Consider the world s currency market. Given two currencies, say the British Pound GBP and the Euro, there is an exchange rate between them (currently about 0.72 Pounds to the Euro). It is often true that, if you convert money from one currency to another and then back, you will end up with less than you started with. That is, the product of the exchange rates between the two countries is less than one. However, it sometimes happens that a longer chain of conversions results in a gain. Such a lucky situation is called a currency arbitrage. One can use a linear programming model to find such situations when they suddenly arise. Consider the following table of exchange rates (which are actual data): rate = { ( USD, YEN ) : , ( YEN, USD ) : 0.008, ( USD, GBP ) : 0.646, ( GBP, USD ) : 1.548, ( USD, EUR ) : 0.885, ( EUR, USD ) : 1.13, ( EUR, GBP ) : 0.72, ( GBP, EUR ) : 1.39, ( EUR, YEN ) : , ( YEN, EUR ) : 0.007, ( GBP, YEN ) : , ( YEN, GBP ) : } It is not obvious, but the EUR USD GBP EUR conversion actually generates 1 euro if we let circulate 68 euro, i.e., it is a money pump. To look for arbitrage possibilities, one can make a generalized network model, which is a network flow model with the unusual feature that a unit of flow that leaves one node arrives at the next node multiplied by a scale factor in our case, the currency conversion rate. For us, each currency is represented by a node. There is an arc from each node to every other node. A flow of one unit out of one node becomes a flow of a different magnitude at the head node. For example, one dollar flowing out of the USD node arrives at the YEN node as YEN. Let x ij denote the flow from node (i.e. currency) i to node j. This flow is measured in the currency of node i. One node is special; it is the home node, say the Euro (EUR) node. At this node there can be a flow imbalance. At all other nodes, there must be flow balance. [The following three tasks must be solved sequentially. Hence, if you cannot do one, skip the successive ones and focus on another Task.] Subtask 5.a Write a linear programming problem in explicit form 2 for the specific example and data described above. More specifically: 2 An explicit form is here intended to use scalars and specific data and does not use summations, vectors and matrices. Page 8 of 15

9 Write the flow balance constraints at one of the 3 non-home nodes (YEN, USD and GBP). At the home node (EUR), the flow balance will not be satisfied. Instead one expects a net in or out flow. If it is possible to make this net flow outgoing, then an arbitrage has been found. Let f be a variable that represents the outflow. Using variable f to represent net outflow to the home node, write a flow balance equation for the home node. Write an objective function to find the best arbitrage, ie, chain of conversions. To avoid unboundedness limit f to be smaller or equal to 1. Subtask 5.b Now consider the general case, which might involve hundreds of currencies worldwide. Write the model mathematically using x ij for the flow leaving node i heading for node j (measured in the currency of node i), r ij for the exchange rate when converting from currency i to currency j, and f for the net outflow at the home node h. Page 9 of 15

10 Task 6 Branch and bound (points: 8) Consider the following knapsack problem: max 42x x x x x 4 s.t. 88x x x x x 4 92 x 0, x 1, x 2, x 3, x 4 binary We solve the problem by branch and bound. In Table 1 we report the solution values of the linear programming relaxations computed at some initial nodes. After each computation, you have to provide the missing information here listed: (a) The value of the best global 3 dual bound up to that point (take possible roundings into account). The initial value is +. (b) The value of the best global primal bound up to that point. The initial value is. (c) The list of open nodes left and, if some nodes have been pruned, an indication about the type of pruning used (i.e., by optimality, by infeasibility, by bounding). (d) Whether we can stop because we solved the problem or whether we must continue examining open nodes or branching. If we solved the problem say which is the solution type (infeasible/unbounded) or the solution value. You have to report this information after each row of the Table 1. The branch and bound tree represented on the right column is obtained after the solution of the linear relaxation at the node. Nodes filled with grey are nodes that have been already processed while nodes in white have not yet been processed. The list of open nodes will be made by the white nodes that you decide not to prune. [Note, running a solver will not help you to solve this task.] 3 A global dual/primal bound is one that is valid a the root node given the information collected on the subtrees. Page 10 of 15

11 Node N1: Simplex report: x 2 0 N1 x 2 1 starting value = Finished solving (status=optimal, iters=2, leave=2, enter=0, objvalue= ) fractional variables = 1 x 0 0 N6 N2 x 0 1 N7 x 1 0 N4 N3 x 1 1 N5 Node N3: Simplex report: x 2 0 N1 x 2 1 starting value = finished solving (status=optimal, iters=2, leave=2, enter=0, objvalue= ) fractional variables = 1 x 0 0 N6 N2 x 0 1 N7 x 1 0 N4 N3 x 1 1 N5 Node N2: Simplex report: x 2 0 N1 x 2 1 starting value = Finished solving (status=optimal, iters=1, leave=1, enter=0, objvalue= ) fractional variables = 1 x 0 0 N6 N2 x 0 1 N7 x 1 0 N4 N3 x 1 1 N5 Node N6: Simplex report: x 2 0 N1 x 2 1 starting value = Finished solving (status=optimal, iters=1, leave=1, enter=0, objvalue= ) fractional variables = 0 x 0 0 N6 N2 x 0 1 N7 x 1 0 N4 N3 x 1 1 N5 Node N7: Simplex report: x 2 0 N1 x 2 1 starting value = Finished solving (status=infeasible, objvalue=--) x 0 0 N2 x 0 1 x 1 0 N3 x 1 1 N6 N7 N4 N5 Table 1: The results of linear relaxations at some nodes of the branch and bound tree. Page 11 of 15

12 Task 7 IP Formulation (points: 10) The following decision problem arises in the organization of the course FF501, First Year Project, at the Faculty of Science. After the assignment of students to projects, the students must be assigned to sections (in Danish, hold) of a set of minicourses and the sections must be scheduled in one of the available timeslots. Minicourses are workshops on topics complementary to the projects, for example, on Latex, on scientific writing, etc. Each minicourse is offered a number of times, each times to a different set of students called section (or hold, in Danish). We make the simplifying assumption that students are enrolled to all minicourses available. Moreover, since students assigned in groups to the same project are to be assigned to the same section, we focus on groups rather than on students. We use the following notation: G, indexed by g, is the set of groups; n g is the number of students in group g G; C, indexed by c, is the set of minicourses; H c, indexed by h, is the set of sections for minicourse c C. For two different minicourses c 1, c 2 the sets H c1, H c2 are different and may contain a different number of sections; T, indexed by t, is the set of timeslots (they can be thought of as tuples (day, hour, week)). We will assume that no pair of different timeslots, t 1, t 2 T, overlap; n c is the average number of students in sections of a minicourse c C. This number is obtained by dividing the total number of students that are enrolled in the minicourse by the number of sections in the minicourse, ie, H c. It represents the desired size of the section. Your task is to write a mixed integer linear programming problem to model the assignment of students to sections and sections to timeslots. Your model must express the following constraints: (i) each group must attend exactly one section of each minicourse (ii) each section must be scheduled in a timeslot (iii) there cannot be two sections of the same minicourse that are scheduled in the same timeslot (iv) if two sections of different minicourses share groups, then they cannot be scheduled at the same time. Page 12 of 15

13 The objective is to balance the distribution of students in the sections by minimizing the sum of the absolute deviations of the number of students assigned to the sections from their desired size, that is, n c for all sections of course c C. [Hint: introduce binary variables x gch and y cht to represent the assignment of groups to sections and of sections to timeslots.] Page 13 of 15

14 Task 8 Network Flows (points: 5) This task was not included in the written exam of June 22 but it is included for the oral reexam. Maximum flow problems in networks can be solved by linear programming or, more efficiently, by dedicated algorithms. In the module networkx for Python the function maximum_flow solves the maximum flow problem using one of these efficient algorithms, that can be selected with the option flow_func. In Figure 2 you are given an example of a Python script that uses maximum_flow for finding the maximum flow for the Network depicted on the right side. In this particular example the algorithm by Ford and Fulkerson is selected that solves the problem in O(nm 2 ) for n nodes and m arcs. #!/usr/bin/env python import networkx as nx t print "Networkx versions is",nx. version G = nx.digraph() G.add_edge( s, a, capacity=3.0) G.add_edge( s, b, capacity=1.0) G.add_edge( a, c, capacity=3.0) G.add_edge( b, c, capacity=5.0) G.add_edge( b, d, capacity=4.0) G.add_edge( d, e, capacity=2.0) G.add_edge( c, t, capacity=2.0) G.add_edge( e, t, capacity=3.0) flow_value, flow_dict = nx.maximum_flow(g, s, t, flow_func=nx.algorithms.flow.ford_fulkerson) print flow_value, flow_dict e b 4.0 d s c 3.0 a Figure 2: An example of Python code to find the maximum (s, t) flow in the network depicted on the right. Remember that a max flow problem is always defined in a network N = (V, A, l 0, u), that is, a network where on arcs there are only capacities and no lower bounds. All nodes except the source and the target have then null balance. Source and target have infinite balances. In this task, you have to find a feasible flow for the network N = (V, A, l, u ) represented in Figure 3 by solving a maximum flow problem. More specifically, you have to: (i) explain how you can use a maximum flow algorithm for a network N for solving the feasible flow problem for the network N ; (ii) report the script with the correct data for solving the feasible flow problem on the network N ; Page 14 of 15

15 (iii) execute the script and, if a feasible flow for the Network of Figure 3 is found, report the flow for this network. (If you do not have networkx installed then make sure that your code is correct both in the data content and in syntax such that it can be run by the examiner by copy and paste.) [Note that an answer to this task by guessing a solution without reporting the precise source code will not count as valid.] 1//2 b/ 5 c/2 d/4 3//4 3//4 3//4 2//2 2//4 0//1 a/ 1 a/-1, b/-5, c/2, d/4, e/0 a/c/{3/ /4}, a/d/{2/ /2}, b/c/{1/ /2}, b/e/{3/ /4}, c/a/{3/ /4}, e/a/{0/ /1}, e/d/{2/ /4} e/0 Figure 3: The network with the data. For the nodes the notation l/b indicates the that label of the node is l and the balance b. For the arcs the notation e 1 /e 2 /{l//u} indicates that the tail of the arc is e 1, the head e 2, the lower bound l and the upper bound u (The Tikz file for the network is available in the online HTML version of this document.) Page 15 of 15

Written Exam Linear and Integer Programming (DM545)

Written Exam Linear and Integer Programming (DM545) Written Exam Linear and Integer Programming (DM545) Department of Mathematics and Computer Science University of Southern Denmark Monday, June 22, 2015, 10:00 14:00, Festsalen, Niels Bohr Allé 1 The exam

More information

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2

maxz = 3x 1 +4x 2 2x 1 +x 2 6 2x 1 +3x 2 9 x 1,x 2 ex-5.-5. Foundations of Operations Research Prof. E. Amaldi 5. Branch-and-Bound Given the integer linear program maxz = x +x x +x 6 x +x 9 x,x integer solve it via the Branch-and-Bound method (solving

More information

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0.

min3x 1 + 4x 2 + 5x 3 2x 1 + 2x 2 + x 3 6 x 1 + 2x 2 + 3x 3 5 x 1, x 2, x 3 0. ex-.-. Foundations of Operations Research Prof. E. Amaldi. Dual simplex algorithm Given the linear program minx + x + x x + x + x 6 x + x + x x, x, x. solve it via the dual simplex algorithm. Describe

More information

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6

(P ) Minimize 4x 1 + 6x 2 + 5x 3 s.t. 2x 1 3x 3 3 3x 2 2x 3 6 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. Problem 1 Consider

More information

Optimization - Examples Sheet 1

Optimization - Examples Sheet 1 Easter 0 YMS Optimization - Examples Sheet. Show how to solve the problem min n i= (a i + x i ) subject to where a i > 0, i =,..., n and b > 0. n x i = b, i= x i 0 (i =,...,n). Minimize each of the following

More information

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations

1. Algebraic and geometric treatments Consider an LP problem in the standard form. x 0. Solutions to the system of linear equations The Simplex Method Most textbooks in mathematical optimization, especially linear programming, deal with the simplex method. In this note we study the simplex method. It requires basically elementary linear

More information

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints.

Section Notes 8. Integer Programming II. Applied Math 121. Week of April 5, expand your knowledge of big M s and logical constraints. Section Notes 8 Integer Programming II Applied Math 121 Week of April 5, 2010 Goals for the week understand IP relaxations be able to determine the relative strength of formulations understand the branch

More information

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010

Section Notes 9. IP: Cutting Planes. Applied Math 121. Week of April 12, 2010 Section Notes 9 IP: Cutting Planes Applied Math 121 Week of April 12, 2010 Goals for the week understand what a strong formulations is. be familiar with the cutting planes algorithm and the types of cuts

More information

Week 4. (1) 0 f ij u ij.

Week 4. (1) 0 f ij u ij. Week 4 1 Network Flow Chapter 7 of the book is about optimisation problems on networks. Section 7.1 gives a quick introduction to the definitions of graph theory. In fact I hope these are already known

More information

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14

min 4x 1 5x 2 + 3x 3 s.t. x 1 + 2x 2 + x 3 = 10 x 1 x 2 6 x 1 + 3x 2 + x 3 14 The exam is three hours long and consists of 4 exercises. The exam is graded on a scale 0-25 points, and the points assigned to each question are indicated in parenthesis within the text. If necessary,

More information

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta

Standard Form An LP is in standard form when: All variables are non-negativenegative All constraints are equalities Putting an LP formulation into sta Chapter 4 Linear Programming: The Simplex Method An Overview of the Simplex Method Standard Form Tableau Form Setting Up the Initial Simplex Tableau Improving the Solution Calculating the Next Tableau

More information

Summary of the simplex method

Summary of the simplex method MVE165/MMG630, The simplex method; degeneracy; unbounded solutions; infeasibility; starting solutions; duality; interpretation Ann-Brith Strömberg 2012 03 16 Summary of the simplex method Optimality condition:

More information

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis

MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis MVE165/MMG631 Linear and integer optimization with applications Lecture 5 Linear programming duality and sensitivity analysis Ann-Brith Strömberg 2017 03 29 Lecture 4 Linear and integer optimization with

More information

Introduction 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 Introduction to Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Module - 03 Simplex Algorithm Lecture 15 Infeasibility In this class, we

More information

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20.

21. Solve the LP given in Exercise 19 using the big-m method discussed in Exercise 20. Extra Problems for Chapter 3. Linear Programming Methods 20. (Big-M Method) An alternative to the two-phase method of finding an initial basic feasible solution by minimizing the sum of the artificial

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 April, 208 Marco Chiarandini DM559/DM545 Linear and integer programming Sheet 3, Spring 208 [pdf format] Included.

More information

Linear Programming Redux

Linear Programming Redux Linear Programming Redux Jim Bremer May 12, 2008 The purpose of these notes is to review the basics of linear programming and the simplex method in a clear, concise, and comprehensive way. The book contains

More information

Section Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018

Section Notes 9. Midterm 2 Review. Applied Math / Engineering Sciences 121. Week of December 3, 2018 Section Notes 9 Midterm 2 Review Applied Math / Engineering Sciences 121 Week of December 3, 2018 The following list of topics is an overview of the material that was covered in the lectures and sections

More information

Math 164-1: Optimization Instructor: Alpár R. Mészáros

Math 164-1: Optimization Instructor: Alpár R. Mészáros Math 164-1: Optimization Instructor: Alpár R. Mészáros Final Exam, June 9, 2016 Name (use a pen): Student ID (use a pen): Signature (use a pen): Rules: Duration of the exam: 180 minutes. By writing your

More information

Discrete Optimization

Discrete Optimization Prof. Friedrich Eisenbrand Martin Niemeier Due Date: April 15, 2010 Discussions: March 25, April 01 Discrete Optimization Spring 2010 s 3 You can hand in written solutions for up to two of the exercises

More information

Review Solutions, Exam 2, Operations Research

Review Solutions, Exam 2, Operations Research Review Solutions, Exam 2, Operations Research 1. Prove the weak duality theorem: For any x feasible for the primal and y feasible for the dual, then... HINT: Consider the quantity y T Ax. SOLUTION: To

More information

Decision Models Lecture 5 1. Lecture 5. Foreign-Currency Trading Integer Programming Plant-location example Summary and Preparation for next class

Decision Models Lecture 5 1. Lecture 5. Foreign-Currency Trading Integer Programming Plant-location example Summary and Preparation for next class Decision Models Lecture 5 1 Lecture 5 Foreign-Currency Trading Integer Programming Plant-location example Summary and Preparation for next class Foreign Exchange (FX) Markets Decision Models Lecture 5

More information

Lecture 5 January 16, 2013

Lecture 5 January 16, 2013 UBC CPSC 536N: Sparse Approximations Winter 2013 Prof. Nick Harvey Lecture 5 January 16, 2013 Scribe: Samira Samadi 1 Combinatorial IPs 1.1 Mathematical programs { min c Linear Program (LP): T x s.t. a

More information

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns

c) Place the Coefficients from all Equations into a Simplex Tableau, labeled above with variables indicating their respective columns BUILDING A SIMPLEX TABLEAU AND PROPER PIVOT SELECTION Maximize : 15x + 25y + 18 z s. t. 2x+ 3y+ 4z 60 4x+ 4y+ 2z 100 8x+ 5y 80 x 0, y 0, z 0 a) Build Equations out of each of the constraints above by introducing

More information

Algorithms Exam TIN093 /DIT602

Algorithms Exam TIN093 /DIT602 Algorithms Exam TIN093 /DIT602 Course: Algorithms Course code: TIN 093, TIN 092 (CTH), DIT 602 (GU) Date, time: 21st October 2017, 14:00 18:00 Building: SBM Responsible teacher: Peter Damaschke, Tel. 5405

More information

Math 16 - Practice Final

Math 16 - Practice Final Math 16 - Practice Final May 28th 2007 Name: Instructions 1. In Part A, attempt every question. In Part B, attempt two of the five questions. If you attempt more you will only receive credit for your best

More information

Lecture 2: The Simplex method

Lecture 2: The Simplex method Lecture 2 1 Linear and Combinatorial Optimization Lecture 2: The Simplex method Basic solution. The Simplex method (standardform, b>0). 1. Repetition of basic solution. 2. One step in the Simplex algorithm.

More information

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2)

Note 3: LP Duality. If the primal problem (P) in the canonical form is min Z = n (1) then the dual problem (D) in the canonical form is max W = m (2) Note 3: LP Duality If the primal problem (P) in the canonical form is min Z = n j=1 c j x j s.t. nj=1 a ij x j b i i = 1, 2,..., m (1) x j 0 j = 1, 2,..., n, then the dual problem (D) in the canonical

More information

Overview of course. Introduction to Optimization, DIKU Monday 12 November David Pisinger

Overview of course. Introduction to Optimization, DIKU Monday 12 November David Pisinger Introduction to Optimization, DIKU 007-08 Monday November David Pisinger Lecture What is OR, linear models, standard form, slack form, simplex repetition, graphical interpretation, extreme points, basic

More information

Introduction to integer programming II

Introduction to integer programming II Introduction to integer programming II Martin Branda Charles University in Prague Faculty of Mathematics and Physics Department of Probability and Mathematical Statistics Computational Aspects of Optimization

More information

MATH10212 Linear Algebra B Homework Week 5

MATH10212 Linear Algebra B Homework Week 5 MATH Linear Algebra B Homework Week 5 Students are strongly advised to acquire a copy of the Textbook: D C Lay Linear Algebra its Applications Pearson 6 (or other editions) Normally homework assignments

More information

MAT016: Optimization

MAT016: Optimization MAT016: Optimization M.El Ghami e-mail: melghami@ii.uib.no URL: http://www.ii.uib.no/ melghami/ March 29, 2011 Outline for today The Simplex method in matrix notation Managing a production facility The

More information

Mathematical Programs Linear Program (LP)

Mathematical Programs Linear Program (LP) Mathematical Programs Linear Program (LP) Integer Program (IP) Can be efficiently solved e.g., by Ellipsoid Method Cannot be efficiently solved Cannot be efficiently solved assuming P NP Combinatorial

More information

Integer Programming. The focus of this chapter is on solution techniques for integer programming models.

Integer Programming. The focus of this chapter is on solution techniques for integer programming models. Integer Programming Introduction The general linear programming model depends on the assumption of divisibility. In other words, the decision variables are allowed to take non-negative integer as well

More information

Advanced Linear Programming: The Exercises

Advanced Linear Programming: The Exercises Advanced Linear Programming: The Exercises The answers are sometimes not written out completely. 1.5 a) min c T x + d T y Ax + By b y = x (1) First reformulation, using z smallest number satisfying x z

More information

Resource Constrained Project Scheduling Linear and Integer Programming (1)

Resource Constrained Project Scheduling Linear and Integer Programming (1) DM204, 2010 SCHEDULING, TIMETABLING AND ROUTING Lecture 3 Resource Constrained Project Linear and Integer Programming (1) Marco Chiarandini Department of Mathematics & Computer Science University of Southern

More information

Computational Integer Programming Universidad de los Andes. Lecture 1. Dr. Ted Ralphs

Computational Integer Programming Universidad de los Andes. Lecture 1. Dr. Ted Ralphs Computational Integer Programming Universidad de los Andes Lecture 1 Dr. Ted Ralphs MIP Lecture 1 1 Quick Introduction Bio Course web site Course structure http://coral.ie.lehigh.edu/ ted/teaching/mip

More information

Review Questions, Final Exam

Review Questions, Final Exam Review Questions, Final Exam A few general questions 1. What does the Representation Theorem say (in linear programming)? 2. What is the Fundamental Theorem of Linear Programming? 3. What is the main idea

More information

Mathematics for Decision Making: An Introduction. Lecture 8

Mathematics for Decision Making: An Introduction. Lecture 8 Mathematics for Decision Making: An Introduction Lecture 8 Matthias Köppe UC Davis, Mathematics January 29, 2009 8 1 Shortest Paths and Feasible Potentials Feasible Potentials Suppose for all v V, there

More information

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502) Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise

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

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009

Lecture 23 Branch-and-Bound Algorithm. November 3, 2009 Branch-and-Bound Algorithm November 3, 2009 Outline Lecture 23 Modeling aspect: Either-Or requirement Special ILPs: Totally unimodular matrices Branch-and-Bound Algorithm Underlying idea Terminology Formal

More information

MATH 445/545 Test 1 Spring 2016

MATH 445/545 Test 1 Spring 2016 MATH 445/545 Test Spring 06 Note the problems are separated into two sections a set for all students and an additional set for those taking the course at the 545 level. Please read and follow all of these

More information

BBM402-Lecture 20: LP Duality

BBM402-Lecture 20: LP Duality BBM402-Lecture 20: LP Duality Lecturer: Lale Özkahya Resources for the presentation: https://courses.engr.illinois.edu/cs473/fa2016/lectures.html An easy LP? which is compact form for max cx subject to

More information

Introduction to the Simplex Algorithm Active Learning Module 3

Introduction to the Simplex Algorithm Active Learning Module 3 Introduction to the Simplex Algorithm Active Learning Module 3 J. René Villalobos and Gary L. Hogg Arizona State University Paul M. Griffin Georgia Institute of Technology Background Material Almost any

More information

Spring 2017 CO 250 Course Notes TABLE OF CONTENTS. richardwu.ca. CO 250 Course Notes. Introduction to Optimization

Spring 2017 CO 250 Course Notes TABLE OF CONTENTS. richardwu.ca. CO 250 Course Notes. Introduction to Optimization Spring 2017 CO 250 Course Notes TABLE OF CONTENTS richardwu.ca CO 250 Course Notes Introduction to Optimization Kanstantsin Pashkovich Spring 2017 University of Waterloo Last Revision: March 4, 2018 Table

More information

MATH 445/545 Homework 2: Due March 3rd, 2016

MATH 445/545 Homework 2: Due March 3rd, 2016 MATH 445/545 Homework 2: Due March 3rd, 216 Answer the following questions. Please include the question with the solution (write or type them out doing this will help you digest the problem). I do not

More information

1 Review Session. 1.1 Lecture 2

1 Review Session. 1.1 Lecture 2 1 Review Session Note: The following lists give an overview of the material that was covered in the lectures and sections. Your TF will go through these lists. If anything is unclear or you have questions

More information

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES

OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES General: OPTIMISATION 2007/8 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and homework.

More information

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions

DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION. Part I: Short Questions DEPARTMENT OF STATISTICS AND OPERATIONS RESEARCH OPERATIONS RESEARCH DETERMINISTIC QUALIFYING EXAMINATION Part I: Short Questions August 12, 2008 9:00 am - 12 pm General Instructions This examination is

More information

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula Syllabus for Math 308, Paul Smith Book: Kolman-Hill Chapter 1. Linear Equations and Matrices 1.1 Systems of Linear Equations Definition of a linear equation and a solution to a linear equations. Meaning

More information

Linear Programming Duality

Linear Programming Duality Summer 2011 Optimization I Lecture 8 1 Duality recap Linear Programming Duality We motivated the dual of a linear program by thinking about the best possible lower bound on the optimal value we can achieve

More information

Systems Analysis in Construction

Systems Analysis in Construction Systems Analysis in Construction CB312 Construction & Building Engineering Department- AASTMT by A h m e d E l h a k e e m & M o h a m e d S a i e d 3. Linear Programming Optimization Simplex Method 135

More information

Sensitivity Analysis

Sensitivity Analysis Dr. Maddah ENMG 500 /9/07 Sensitivity Analysis Changes in the RHS (b) Consider an optimal LP solution. Suppose that the original RHS (b) is changed from b 0 to b new. In the following, we study the affect

More information

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis:

The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Sensitivity analysis The use of shadow price is an example of sensitivity analysis. Duality theory can be applied to do other kind of sensitivity analysis: Changing the coefficient of a nonbasic variable

More information

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method

Yinyu Ye, MS&E, Stanford MS&E310 Lecture Note #06. The Simplex Method The Simplex Method Yinyu Ye Department of Management Science and Engineering Stanford University Stanford, CA 94305, U.S.A. http://www.stanford.edu/ yyye (LY, Chapters 2.3-2.5, 3.1-3.4) 1 Geometry of Linear

More information

Foundations of Operations Research

Foundations of Operations Research Solved exercises for the course of Foundations of Operations Research Roberto Cordone The dual simplex method Given the following LP problem: maxz = 5x 1 +8x 2 x 1 +x 2 6 5x 1 +9x 2 45 x 1,x 2 0 1. solve

More information

Solutions to Review Questions, Exam 1

Solutions to Review Questions, Exam 1 Solutions to Review Questions, Exam. What are the four possible outcomes when solving a linear program? Hint: The first is that there is a unique solution to the LP. SOLUTION: No solution - The feasible

More information

3 The Simplex Method. 3.1 Basic Solutions

3 The Simplex Method. 3.1 Basic Solutions 3 The Simplex Method 3.1 Basic Solutions In the LP of Example 2.3, the optimal solution happened to lie at an extreme point of the feasible set. This was not a coincidence. Consider an LP in general form,

More information

Linear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2

Linear programming. Saad Mneimneh. maximize x 1 + x 2 subject to 4x 1 x 2 8 2x 1 + x x 1 2x 2 2 Linear programming Saad Mneimneh 1 Introduction Consider the following problem: x 1 + x x 1 x 8 x 1 + x 10 5x 1 x x 1, x 0 The feasible solution is a point (x 1, x ) that lies within the region defined

More information

CS261: Problem Set #3

CS261: Problem Set #3 CS261: Problem Set #3 Due by 11:59 PM on Tuesday, February 23, 2016 Instructions: (1) Form a group of 1-3 students. You should turn in only one write-up for your entire group. (2) Submission instructions:

More information

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP:

Dual Basic Solutions. Observation 5.7. Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Dual Basic Solutions Consider LP in standard form with A 2 R m n,rank(a) =m, and dual LP: Observation 5.7. AbasisB yields min c T x max p T b s.t. A x = b s.t. p T A apple c T x 0 aprimalbasicsolutiongivenbyx

More information

MATH3017: Mathematical Programming

MATH3017: Mathematical Programming MATH3017: Mathematical Programming Nothing happens in the universe that does not have a sense of either certain maximum or minimum Leonhard Euler, Swiss Mathematician and Physicist, 1707 1783 About the

More information

Optimeringslära för F (SF1811) / Optimization (SF1841)

Optimeringslära för F (SF1811) / Optimization (SF1841) Optimeringslära för F (SF1811) / Optimization (SF1841) 1. Information about the course 2. Examples of optimization problems 3. Introduction to linear programming Introduction - Per Enqvist 1 Linear programming

More information

Optimisation and Operations Research

Optimisation and Operations Research Optimisation and Operations Research Lecture 9: Duality and Complementary Slackness Matthew Roughan http://www.maths.adelaide.edu.au/matthew.roughan/ Lecture_notes/OORII/

More information

Week 3 Linear programming duality

Week 3 Linear programming duality Week 3 Linear programming duality This week we cover the fascinating topic of linear programming duality. We will learn that every minimization program has associated a maximization program that has the

More information

IE418 Integer Programming

IE418 Integer Programming IE418: Integer Programming Department of Industrial and Systems Engineering Lehigh University 2nd February 2005 Boring Stuff Extra Linux Class: 8AM 11AM, Wednesday February 9. Room??? Accounts and Passwords

More information

Relation of Pure Minimum Cost Flow Model to Linear Programming

Relation of Pure Minimum Cost Flow Model to Linear Programming Appendix A Page 1 Relation of Pure Minimum Cost Flow Model to Linear Programming The Network Model The network pure minimum cost flow model has m nodes. The external flows given by the vector b with m

More information

+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1

+ 5x 2. = x x. + x 2. Transform the original system into a system x 2 = x x 1. = x 1 University of California, Davis Department of Agricultural and Resource Economics ARE 5 Optimization with Economic Applications Lecture Notes Quirino Paris The Pivot Method for Solving Systems of Equations...................................

More information

MAT Linear Algebra Collection of sample exams

MAT Linear Algebra Collection of sample exams MAT 342 - Linear Algebra Collection of sample exams A-x. (0 pts Give the precise definition of the row echelon form. 2. ( 0 pts After performing row reductions on the augmented matrix for a certain system

More information

Introduction to optimization and operations research

Introduction to optimization and operations research Introduction to optimization and operations research David Pisinger, Fall 2002 1 Smoked ham (Chvatal 1.6, adapted from Greene et al. (1957)) A meat packing plant produces 480 hams, 400 pork bellies, and

More information

Section #2: Linear and Integer Programming

Section #2: Linear and Integer Programming Section #2: Linear and Integer Programming Prof. Dr. Sven Seuken 8.3.2012 (with most slides borrowed from David Parkes) Housekeeping Game Theory homework submitted? HW-00 and HW-01 returned Feedback on

More information

AM 121: Intro to Optimization Models and Methods

AM 121: Intro to Optimization Models and Methods AM 121: Intro to Optimization Models and Methods Fall 2017 Lecture 2: Intro to LP, Linear algebra review. Yiling Chen SEAS Lecture 2: Lesson Plan What is an LP? Graphical and algebraic correspondence Problems

More information

OPTIMISATION /09 EXAM PREPARATION GUIDELINES

OPTIMISATION /09 EXAM PREPARATION GUIDELINES General: OPTIMISATION 2 2008/09 EXAM PREPARATION GUIDELINES This points out some important directions for your revision. The exam is fully based on what was taught in class: lecture notes, handouts and

More information

C&O 355 Mathematical Programming Fall 2010 Lecture 18. N. Harvey

C&O 355 Mathematical Programming Fall 2010 Lecture 18. N. Harvey C&O 355 Mathematical Programming Fall 2010 Lecture 18 N. Harvey Network Flow Topics Max Flow / Min Cut Theorem Total Unimodularity Directed Graphs & Incidence Matrices Proof of Max Flow / Min Cut Theorem

More information

Week 2. The Simplex method was developed by Dantzig in the late 40-ties.

Week 2. The Simplex method was developed by Dantzig in the late 40-ties. 1 The Simplex method Week 2 The Simplex method was developed by Dantzig in the late 40-ties. 1.1 The standard form The simplex method is a general description algorithm that solves any LPproblem instance.

More information

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004

Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 Linear Programming Duality P&S Chapter 3 Last Revised Nov 1, 2004 1 In this section we lean about duality, which is another way to approach linear programming. In particular, we will see: How to define

More information

University of Toronto Department of Electrical and Computer Engineering. Final Examination. ECE 345 Algorithms and Data Structures Fall 2016

University of Toronto Department of Electrical and Computer Engineering. Final Examination. ECE 345 Algorithms and Data Structures Fall 2016 University of Toronto Department of Electrical and Computer Engineering Final Examination ECE 345 Algorithms and Data Structures Fall 2016 Print your first name, last name, UTORid, and student number neatly

More information

Wednesday, 10 September 2008

Wednesday, 10 September 2008 MA211 : Calculus, Part 1 Lecture 2: Sets and Functions Dr Niall Madden (Mathematics, NUI Galway) Wednesday, 10 September 2008 MA211 Lecture 2: Sets and Functions 1/33 Outline 1 Short review of sets 2 Sets

More information

Outline. Wednesday, 10 September Schedule. Welcome to MA211. MA211 : Calculus, Part 1 Lecture 2: Sets and Functions

Outline. Wednesday, 10 September Schedule. Welcome to MA211. MA211 : Calculus, Part 1 Lecture 2: Sets and Functions Outline MA211 : Calculus, Part 1 Lecture 2: Sets and Functions Dr Niall Madden (Mathematics, NUI Galway) Wednesday, 10 September 2008 1 Short review of sets 2 The Naturals: N The Integers: Z The Rationals:

More information

Algorithm Design and Analysis Homework #5 Due: 1pm, Monday, December 26, === Homework submission instructions ===

Algorithm Design and Analysis Homework #5 Due: 1pm, Monday, December 26, === Homework submission instructions === Algorithm Design and Analysis Homework #5 Due: 1pm, Monday, December 26, 2011 === Homework submission instructions === Submit the answers for writing problems (including your programming report) through

More information

Math 2114 Common Final Exam May 13, 2015 Form A

Math 2114 Common Final Exam May 13, 2015 Form A Math 4 Common Final Exam May 3, 5 Form A Instructions: Using a # pencil only, write your name and your instructor s name in the blanks provided. Write your student ID number and your CRN in the blanks

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

Points: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100.

Points: The first problem is worth 10 points, the others are worth 15. Maximize z = x y subject to 3x y 19 x + 7y 10 x + y = 100. Math 5 Summer Points: The first problem is worth points, the others are worth 5. Midterm # Solutions Find the dual of the following linear programming problem. Maximize z = x y x y 9 x + y x + y = x, y

More information

QUALIFYING EXAM IN SYSTEMS ENGINEERING

QUALIFYING EXAM IN SYSTEMS ENGINEERING QUALIFYING EXAM IN SYSTEMS ENGINEERING Written Exam: MAY 23, 2017, 9:00AM to 1:00PM, EMB 105 Oral Exam: May 25 or 26, 2017 Time/Location TBA (~1 hour per student) CLOSED BOOK, NO CHEAT SHEETS BASIC SCIENTIFIC

More information

56:171 Operations Research Fall 1998

56:171 Operations Research Fall 1998 56:171 Operations Research Fall 1998 Quiz Solutions D.L.Bricker Dept of Mechanical & Industrial Engineering University of Iowa 56:171 Operations Research Quiz

More information

Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams:

Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams: Introduction to Operations Research Economics 172A Winter 2007 Some ground rules for home works and exams: Write your homework answers on the sheets supplied. If necessary, you can get new sheets on the

More information

F 1 F 2 Daily Requirement Cost N N N

F 1 F 2 Daily Requirement Cost N N N Chapter 5 DUALITY 5. The Dual Problems Every linear programming problem has associated with it another linear programming problem and that the two problems have such a close relationship that whenever

More information

IE 5531: Engineering Optimization I

IE 5531: Engineering Optimization I IE 5531: Engineering Optimization I Lecture 7: Duality and applications Prof. John Gunnar Carlsson September 29, 2010 Prof. John Gunnar Carlsson IE 5531: Engineering Optimization I September 29, 2010 1

More information

Integer Programming Chapter 15

Integer Programming Chapter 15 Integer Programming Chapter 15 University of Chicago Booth School of Business Kipp Martin November 9, 2016 1 / 101 Outline Key Concepts Problem Formulation Quality Solver Options Epsilon Optimality Preprocessing

More information

Optimisation. 3/10/2010 Tibor Illés Optimisation

Optimisation. 3/10/2010 Tibor Illés Optimisation Optimisation Lectures 3 & 4: Linear Programming Problem Formulation Different forms of problems, elements of the simplex algorithm and sensitivity analysis Lecturer: Tibor Illés tibor.illes@strath.ac.uk

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

Dimension. Eigenvalue and eigenvector

Dimension. Eigenvalue and eigenvector Dimension. Eigenvalue and eigenvector Math 112, week 9 Goals: Bases, dimension, rank-nullity theorem. Eigenvalue and eigenvector. Suggested Textbook Readings: Sections 4.5, 4.6, 5.1, 5.2 Week 9: Dimension,

More information

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur

END3033 Operations Research I Sensitivity Analysis & Duality. to accompany Operations Research: Applications and Algorithms Fatih Cavdur END3033 Operations Research I Sensitivity Analysis & Duality to accompany Operations Research: Applications and Algorithms Fatih Cavdur Introduction Consider the following problem where x 1 and x 2 corresponds

More information

Farkas Lemma, Dual Simplex and Sensitivity Analysis

Farkas Lemma, Dual Simplex and Sensitivity Analysis Summer 2011 Optimization I Lecture 10 Farkas Lemma, Dual Simplex and Sensitivity Analysis 1 Farkas Lemma Theorem 1. Let A R m n, b R m. Then exactly one of the following two alternatives is true: (i) x

More information

Tutorial 2: Modelling Transmission

Tutorial 2: Modelling Transmission Tutorial 2: Modelling Transmission In our previous example the load and generation were at the same bus. In this tutorial we will see how to model the transmission of power from one bus to another. The

More information

Math 346 Notes on Linear Algebra

Math 346 Notes on Linear Algebra Math 346 Notes on Linear Algebra Ethan Akin Mathematics Department Fall, 2014 1 Vector Spaces Anton Chapter 4, Section 4.1 You should recall the definition of a vector as an object with magnitude and direction

More information

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi

CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest

More information

DM545 Linear and Integer Programming. Lecture 13 Branch and Bound. Marco Chiarandini

DM545 Linear and Integer Programming. Lecture 13 Branch and Bound. Marco Chiarandini DM545 Linear and Integer Programming Lecture 13 Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. 2. 2 Exam Tilladt Håndscanner/digital pen og ordbogsprogrammet

More information

ORF 363/COS 323 Final Exam, Fall 2016

ORF 363/COS 323 Final Exam, Fall 2016 Name: Princeton University Instructor: A.A. Ahmadi ORF 363/COS 323 Final Exam, Fall 2016 January 18, 2017 AIs: B. El Khadir, G. Hall, Z. Li, K. Wang, J. Ye, J. Zhang 1. Please write out and sign the following

More information