Preview

Optimization and Objective Function

Good Essays
Open Document
Open Document
75357 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Optimization and Objective Function
Introduction to Optimization Course Notes for CO 250/CM 340 Fall 2012

c Department of Combinatorics and Optimization University of Waterloo

August 27, 2012

2

Contents
1 Introduction 1.1 An example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 1.1.2 1.2 1.3 1.2.1 1.3.1 1.3.2 1.4 1.4.1 1.4.2 1.5 1.5.1 1.5.2 1.6 1.6.1 1.6.2 1.6.3 1.7 1.8 2 The formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . Correctness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multiperiod models . . . . . . . . . . . . . . . . . . . . . . . . . . . Assignment problem . . . . . . . . . . . . . . . . . . . . . . . . . . Knapsack problem . . . . . . . . . . . . . . . . . . . . . . . . . . . Shortest path problem . . . . . . . . . . . . . . . . . . . . . . . . . Minimum cost perfect matching . . . . . . . . . . . . . . . . . . . . Minimum cost perfect matching . . . . . . . . . . . . . . . . . . . . Shortest path problem . . . . . . . . . . . . . . . . . . . . . . . . . Pricing a Tech Gadget . . . . . . . . . . . . . . . . . . . . . . . . . Finding a closest point feasible in an LP . . . . . . . . . . . . . . . . Finding a “central” feasible solution of an LP . . . . . . . . . . . . . 7 8 9 10 12 13 21 22 24 35 35 37 40 40 42 48 48 50 50 52 53 55 55 56

Linear programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Integer programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Optimization problems on graphs . . . . . . . . . . . . . . . . . . . . . . . .

Integer programs, continued . . . . . . . . . . . . . . . . . . . . . . . . . .

Non linear programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Overview of the course . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Further reading and notes . . . . . . . . . . . . . . . . . . . . . . . . . . .

Solving linear programs 2.1 Possible outcomes . . . . . . . . . . . . . . . . . . . . . . . . . . .



Bibliography: [1] N. Alon, D. Moshkovitz, and S. Safra. Algorithmic construction of sets for k-restrictions. ACM Transactions on Algorithms, 2(2):153–177, 2006. [2] A. Ben-Tal, L. El Ghaoui, and A. Nemirovski. Robust Optimization. Princeton Series in Applied Mathematics. Princeton University Press, Princeton, NJ, 2009. [3] M. J. Best. Portfolio Optimization. Chapman & Hall/CRC Finance Series. CRC Press, Boca Raton, FL, 2010. [4] S. Boyd and L. Vandenberghe. Convex Optimization. Cambridge University Press, Cambridge, 2004. [5] V. Chv´ tal. Linear Programming. A Series of Books in the Mathematical Sciences. W. H. a Freeman and Company, New York, 1983. [6] W. J. Cook, W. H. Cunningham, W. R. Pulleyblank, and A. Schrijver. Combinatorial Optimization. Wiley-Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons Inc., New York, 1998. [7] G. Cornu´ jols and R. T¨ t¨ nc¨ . Optimization Methods in Finance. Mathematics, Finance and e uu u Risk. Cambridge University Press, Cambridge, 2007. [8] G. B. Dantzig. Linear Programming and Extensions. Princeton University Press, Princeton, N.J., 1963. [9] E. W. Dijkstra. A note on two problems in connexion with graphs. Numerische Mathematik, 1:269–271, 1959. [10] I. Dinur and S. Safra. The importance of being biased. In Proceedings, ACM Symposium on Theory of Computing, pages 33–42, 2002. [11] U. Feige. A threshold of ln n for approximating set cover. J. ACM, 45(4):634–652, 1998. [12] M. L. Fredman and R. E. Tarjan. Fibonacci heaps and their uses in improved network optimization algorithms. Journal of the ACM, 34(3):596–615, July 1987. [13] G. H. Golub and C. F. Van Loan. Matrix Computations. Johns Hopkins Studies in the Mathematical Sciences. Johns Hopkins University Press, Baltimore, MD, third edition, 1996. 261 262 BIBLIOGRAPHY [14] N. Karmarkar. A new polynomial-time algorithm for linear programming. Combinatorica, 4(4):373–395, 1984. [15] L. G. Khachiyan. A polynomial algorithm in linear programming. Dokl. Akad. Nauk SSSR, 244(5):1093–1096, 1979. [16] S. Khot and O. Regev. Vertex cover might be hard to approximate to within 2-epsilon. J. Comput. Syst. Sci., 74(3):335–349, 2008. [17] R. D. C. Monteiro, I. Adler, and M. G. C. Resende. A polynomial time primal-dual affine scaling algorithm for linear and convex quadratic programming and its power series extension. Mathematics of Operations Research, 15:191–214, 1990. [18] A. L. Peressini, F. E. Sullivan, and J. J. Uhl. The Mathematics of Nonlinear Programming. Undergraduate Texts in Mathematics. Springer-Verlag, New York, 1988. [19] M. L. Pinedo. Scheduling. Springer, New York, third edition, 2008. Theory, algorithms, and systems, With 1 CD-ROM (Windows, Macintosh and UNIX). [20] R. Raz and S. Safra. A sub-constant error-probability low-degree test, and a sub-constant errorprobability pcp characterization of np. In Proceedings, ACM Symposium on Theory of Computing, pages 475–484, 1997. [21] A. Schrijver. Theory of Linear and Integer Programming. Wiley-Interscience Series in Discrete Mathematics. John Wiley & Sons Ltd., Chichester, 1986. [22] R. J. Vanderbei. Linear Programming. International Series in Operations Research & Management Science, 37. Kluwer Academic Publishers, Boston, MA, second edition, 2001. [23] V. V. Vazirani. Approximation Algorithms. Springer, 2001. [24] D. P. Williamson and D. Shmoys. The Design of Approximation Algorithms. Cambridge University Press, 2011. [25] W. L. Winston. Operations Research, Applications and Algorithms. Thomson Learning, 2004. [26] L. A. Wolsey. Integer Programming. Wiley-Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons Inc., New York, 1998. [27] Y. Ye. Interior Point Algorithms. Wiley-Interscience Series in Discrete Mathematics and Optimization. John Wiley & Sons Inc., New York, 1997. Index st-cut, 43 active constraints, 106 adjacent vertices, 35 affine function, 12, 234 Alternating path, 154 Augmenting path, 155 auxiliary linear program, 93, 94 variables, 93 basic feasible solution, 71 basic solution, 70 basis, 70 feasible, 71 bipartite, 38 branch & bound, 227 branch & bound nodes, 228 branch & bound tree, 229, 230 branch and cut, 213 branching on a variable, 228 canonical form, 72 certificate of infeasibility, 58 certificate of unboundedness, 60 Complementary Slackness Theorem, 181 cone, 185 cone of tight constraints, 186 convex hull, 214 convex set, 104 Cycle, 156 Dantzig’s rule, 89 decision variable, 24 deficient set, 146 depth-first search, 230 differentiability, 247 dual, 123, 141 dual Simplex algorithm, 231 edge, 35 edge cover, 46 epigraph of a function, 238 equivalent linear programs, 64 Exposed vertex, 155 extreme point, 106 Farkas’ Lemma, 58 feasible region, 102 Fermat’s Last Theorem, 236 free variable, 114 Fundamental Theorem of LP, 56, 97 Fundamental Theorem of LP (SEF), 97 gradient, 247 Graph Connected, 156 graph, 35 halfspace, 103 Hall’s Theorem, 146 hyperplane, 103 incident, 35 input-output systems, 205 integer program, 21 IP, 22 mixed, 22 pure, 22 Karush-Kuhn-Tucker Theorem, 248, 251 Lagrangian, 251 263 264 largest coefficient rule, 89 largest improvement rule, 89 law of diminishing marginal returns, 205 Leaf, 156 level set, 240 lexicographic rule, 114 linear constraint, 12 linear program, 12 feasible, 55 infeasible, 55 LP, 12 unbounded, 55 Markowitz model, 54 Matching Maximum, 155 matching, 38 neighbours, 146 non linear program, 48 non linear program:NLP, 48 optimal value, 55 path, 37 perfect matching, 38 pivot rules, 114 polyhedron, polyhedra, 104 portfolio optimization, 54 potential function, 258 pruning, 230 reducible, 91 robust optimization, 54 shadow prices, 203, 205 Simplex algorithm, 85 Slater point, 248 smallest subscript rule, 85, 97 solution feasible, 55 optimal, 55 standard equality form (SEF), 63 steepest edge rule, 89 Strong Duality Theorem, 175 subgradient, 242 supporting halfspace, 243 tight constraint, 106 Tree, 156 value, objective function value, 55 variable basic, 70 free, 64 non-basic, 70 slack, 66 vertex, 35 vertex cover, 46, 127 INDEX Weak Duality Theorem, 123, 141, 168

You May Also Find These Documents Helpful

  • Good Essays

    ECO 550 FINAL EXAM

    • 1177 Words
    • 4 Pages

    9. The integer programming model for a transportation problem has constraints for supply at each source and demand at each destination.…

    • 1177 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Busn312 Hw3A

    • 727 Words
    • 3 Pages

    Linear programming problems have a.|linear objective functions, non-linear constraints.| b.|non-linear objective functions, non-linear constraints.| c.|non-linear objective functions, linear constraints.| d.|linear objective functions, linear constraints.| ____C 7. The first step in formulating a linear programming problem is a.|Identify any upper or lower bounds on the decision variables.| b.|State the constraints as linear combinations of the decision variables.| c.|Understand the problem.| d.|Identify the decision variables.| e.|State the objective…

    • 727 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    OPRE/411 Week 4

    • 379 Words
    • 2 Pages

    1. Use Solver in EXCEL to solve each of the following linear programming problems. To do so,…

    • 379 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Freaudian Analysis

    • 3380 Words
    • 14 Pages

    Find the optimal solution using the graphical method (use graph paper). Identify the feasible region and the optimal solution on the graph. How much is the maximum profit? Consider the following linear programming problem: Minimize Z = 3 x + 5 y (cost, $) subject to 10 x + 2 y ≥ 20 6 x + 6 y ≥ 36 y ≥ 2 x, y ≥ 0 Find the optimal solution using the graphical method (use graph paper). Identify the feasible region and the optimal solution on the graph. How much is the minimum cost? 2. The Turner-Laberge Brokerage firm has just been instructed by one of its clients to invest $250 000 for her, money obtained recently through the sale of land holdings in British Columbia. The client has a good deal of trust in the investment house, but she also has her own ideas about the distribution of the funds being invested. She requests that the firm select whatever stocks and bonds they believe are well rated but within the following guidelines: 1. At least 20% of the investment should be in accounts with only Canadian content. 2. At least 40% of the investment should be placed in a combination of U.S. electronics firms, aerospace firms, and pharmaceutical companies. 3. No more than 50% of the invested amount should be in precious metals. 4. Ratio of aerospace to pharmaceutical investment should be at least 2 : 1 . Subject to these restrains, the client’s goal is to maximize projected return on investments. The analysts at Turner-Laberge, aware of these guidelines, prepare a list of high-quality stocks and bonds and their corresponding rates of return. Projected Rate of Return (%) Investment 3. Canadian RRSP Thompson Electronics, Inc. (USA) United Aerospace Corp. (USA) Palmer Pharmaceuticals (USA) Alberta Gold Mines (Canada) Formulate this portfolio selection problem using LP. 5.3 6.8 4.9 8.4 11.8…

    • 3380 Words
    • 14 Pages
    Powerful Essays
  • Better Essays

    Acme

    • 1450 Words
    • 8 Pages

    Now the Acme De Mexico has completed the building process, it is now time to properly staff the store. The store manager, Mr. Rodriguez, has requested a minimum cost daily assignment schedule for the customer service employees at the new store. In order to have Acme De Mexico become a profitable business, it must make the best use of its resources (Jacobs & Chase, 2013). In this case the resources are time, money, and employees. In order to provide Mr. Rodriguez with the information he requested, linear programming will be utilized.…

    • 1450 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    MAT540 - Quiz 5

    • 821 Words
    • 4 Pages

    The solution to the LP relaxation of a maximization integer linear program provides an upper bound for the value of the objective function.…

    • 821 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Mat 540 Week 9 Discussion

    • 374 Words
    • 2 Pages

    Integer programming is concerned with optimization problems in which some of the variables are required to take on discrete values. Rather than allow a variable to assume all real values in a given range, only predetermined discrete values within the range are permitted. In most cases, these values are the integers, giving rise to the name of this class of models. Models with integer variables are very useful. Situations that cannot be modeled by linear programming are easily handled by integer programming. Primary among these involve binary decisions such as yes-no, build-no build or invest-not invest. Although one can model a binary decision in linear programming with a variable that ranges between 0 and 1, there is nothing that keeps the solution from obtaining a fractional value such as 0.5, hardly acceptable to a decision maker. Integer programming requires such a variable to be either 0 or 1, but not in-between. Unfortunately integer programming models of practical size are often very difficult or impossible to solve. Linear programming methods can solve problems orders of magnitude larger than integer programming methods. A typical mathematical program consists of a single objective function, representing either a profit to be maximized or a cost to be minimized, and a set of constraints that circumscribe the decision variables. In the case of a linear program (LP) the objective function and constraints are all linear functions of the decision variables. At first glance these restrictions would seem to limit the scope of the LP model, but this is hardly the case. Because of its simplicity, software has been developed that is capable of solving problems containing millions of variables and tens of thousands of constraints.…

    • 374 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Mat 540 Quiz 5

    • 1011 Words
    • 5 Pages

    The solution to the LP relaxation of a maximization integer linear program provides an upper bound for the value of the objective function.…

    • 1011 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Decisions variables: x1 = number of model 101 trucks produced, x2 = number of model 102 trucks produced, The algebraic formulation is: Max. 3000.x1 + 5000.x2, Constrains, 1.x1 + 2.x2 2.x1 + 2.x2 2.x1 + ..+ 3.x2 x1, x2 0.…

    • 947 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Ada Solution Manual

    • 2026 Words
    • 9 Pages

    This file contains the exercises, hints, and solutions for Chapter 1 of the book ”Introduction to the Design and Analysis of Algorithms,” 2nd edition, by A. Levitin. The problems that might be challenging for at least some students are marked by ; those that might be difficult for a majority of students are marked by .…

    • 2026 Words
    • 9 Pages
    Powerful Essays
  • Better Essays

    ILP Problem Formulation Ajay Kr. Dhamija (N-1/MBA PT 2006-09) Abstract Integer linear programming is a very important class of problems, both algorithmically and combinatori- ally. Following are some of the problems in computer…

    • 4120 Words
    • 17 Pages
    Better Essays
  • Powerful Essays

    Event Will Never Forget

    • 2313 Words
    • 10 Pages

    Although SA can be used in both continuous and discrete cases, this paper only considers combinatorial optimisation by SA unless otherwise indicated explicitly. A combinatorial optimisation problem can be informally described as nding an optimal con guration X from a nite or in nite countable con guration space S . Each con guration X 2 S can be represented by its n (> 0) components, i.e., X = (x1; x2; ; xn ), where xi 2 Xi , i = 1; 2; ; n. An excellent discussion of combinatorial optimisation and its complexity can be found in Garey and…

    • 2313 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    to say that the real problem is the T.S.P and the approach taken to compare the…

    • 9312 Words
    • 81 Pages
    Powerful Essays
  • Good Essays

    Linear Progamming

    • 76776 Words
    • 308 Pages

    A thesis presented to the University of Waterloo in fulfillment of the thesis requirement for the degree of Doctor of Philosophy in Combinatorics and Optimization…

    • 76776 Words
    • 308 Pages
    Good Essays