Example: quiz answers

Optimization Modeling with LINGO by Linus Schrage

Preliminary Edition 0F+---Fifth Edition TRADEMARKS What sBest! and LINDO are registered trademarks and LINGO is a trademark of LINDO Systems, Inc. Other product and company names mentioned herein are the property of their respective owners. Copyright 2003 by LINDO Systems Inc All rights reserved. First edition 1998 Fifth edition 2002 Printed in the United States of America Second printing 2003 ISBN: 1-893355-00-4 Published by 1415 North Dayton Street Chicago, Illinois 60622 Technical Support: (312) 988-9421 e-mail: iii Contents iii Preface .. xiii xiii Ch 1 What Is Optimization ? .. 1 Introduction .. 1 A Simple Product Mix Problem .. 1 Graphical 2 Linearity .. 5 Analysis of LP 6 Sensitivity Analysis, Reduced Costs, and Dual Prices .. 7 Reduced Costs .. 8 Dual Prices.

viii Table of Contents 12.10.1 Example: Cash Balance Management..... 351 12.11 Chance-Constrained Programs..... 355

Tags:

  Sachs

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Optimization Modeling with LINGO by Linus Schrage

1 Preliminary Edition 0F+---Fifth Edition TRADEMARKS What sBest! and LINDO are registered trademarks and LINGO is a trademark of LINDO Systems, Inc. Other product and company names mentioned herein are the property of their respective owners. Copyright 2003 by LINDO Systems Inc All rights reserved. First edition 1998 Fifth edition 2002 Printed in the United States of America Second printing 2003 ISBN: 1-893355-00-4 Published by 1415 North Dayton Street Chicago, Illinois 60622 Technical Support: (312) 988-9421 e-mail: iii Contents iii Preface .. xiii xiii Ch 1 What Is Optimization ? .. 1 Introduction .. 1 A Simple Product Mix Problem .. 1 Graphical 2 Linearity .. 5 Analysis of LP 6 Sensitivity Analysis, Reduced Costs, and Dual Prices .. 7 Reduced Costs .. 8 Dual Prices.

2 8 Unbounded 9 Infeasible Formulations .. 10 Multiple Optimal Solutions and 11 The Snake Eyes 13 Degeneracy and Redundant 16 Nonlinear Models and Global Optimization .. 17 Ch 2 Solving Math Programs with LINGO .. 21 Introduction .. 21 LINGO for Windows .. 21 File 21 Edit Menu .. 23 LINGO Menu .. 25 Windows 26 Help Menu .. 27 Summary .. 27 Getting Started on a Small 28 Integer Programming with LINGO .. 28 Warning for Integer Programs .. 30 Solving an Optimization 30 31 Ch 3 Analyzing Solutions .. 33 Economic Analysis of Solution 33 Economic Relationship Between Dual Prices and Reduced Costs .. 33 The Costing Out Operation: An Illustration .. 34 Dual Prices, LaGrange Multipliers, KKT Conditions, and Activity 35 Range of Validity of Reduced Costs and Dual 36 Predicting the Effect of Simultaneous Changes in Parameters The 100% Rule.

3 41 Sensitivity Analysis of the Constraint Coefficients .. 42 The Dual LP Problem, or the Landlord and the Renter .. 43 45 Table of Contents iv Ch 4 The Model Formulation 51 The Overall Process .. 51 Approaches to Model Formulation .. 52 The Template 52 Product Mix Problems .. 52 Covering, Staffing, and Cutting Stock Problems .. 52 Blending Problems .. 52 Multiperiod Planning Problems .. 53 Network, Distribution, and PERT/CPM 53 Multiperiod Planning Problems with Random 53 Financial Portfolio Models .. 53 Game Theory Models .. 54 Constructive Approach to Model Formulation .. 54 Example .. 55 Formulating Our Example Problem .. 55 Choosing Costs Correctly .. 56 Sunk vs. Variable Costs .. 56 Joint 58 Common Errors in Formulating 59 The Nonsimultaneity Error .. 62 62 Ch 5 The Sets View of the World.

4 65 Introduction .. 65 Why Use Sets?.. 65 What Are Sets? .. 65 Types of Sets .. 66 The SETS Section of a Model .. 66 Defining Primitive Sets .. 66 Defining Derived 67 Summary .. 68 The DATA Section .. 69 Set Looping Functions .. 71 @SUM Set Looping Function .. 72 @MIN and @MAX Set Looping 73 @FOR Set Looping 74 Nested Set Looping 75 Set Based Modeling Examples .. 75 Primitive Set Example .. 76 Dense Derived Set 79 Sparse Derived Set Example - Explicit 81 A Sparse Derived Set Using a Membership 86 Domain Functions for Variables .. 90 Spreadsheets and 90 Summary ..94 94 Ch 6 Product Mix Problems .. 95 Introduction .. 95 Table of Contents 96 Process Selection Product Mix 99 Ch 7 Covering, Staffing & Cutting Stock Models .. 107 Introduction ..107 Staffing Problems.

5 108 Example: Northeast Tollway Staffing Problems .. 108 Additional Staff Scheduling 110 Cutting Stock and Pattern 111 Example: Cooldot Cutting Stock 112 Formulation and Solution of Cooldot .. 113 Generalizations of the Cutting Stock Problem .. 117 Two-Dimensional Cutting Stock 119 Crew Scheduling 119 Example: Sayre-Priors Crew 120 Solving the Sayre/Priors Crew Scheduling Problem .. 122 A Generic Covering/Partitioning Model .. 125 Ch 8 Networks, Distribution and PERT/CPM .. 137 What s Special About Network Models .. 137 Special Cases .. 140 PERT/CPM Networks and LP .. 140 Activity-on-Arc vs. Activity-on-Node Network Diagrams .. 145 Crashing of Project 146 The Cost and Value of 147 The Cost of Crashing an Activity .. 147 The Value of Crashing a Project .. 147 Formulation of the Crashing Problem.

6 148 Resource Constraints in Project Scheduling .. 151 Path 154 Example .. 154 Path Formulations of Undirected Networks .. 155 Example .. 156 Double Entry Bookkeeping: A Network Model of the 158 Extensions of Network LP 159 Multicommodity Network Flows .. 160 Reducing the Size of Multicommodity 161 Multicommodity Flow Example .. 161 Fleet Routing and 164 Fleet 168 Leontief Flow 173 Activity/Resource 175 Spanning Trees .. 177 Steiner 179 Nonlinear 183 Equilibrium Network Flows .. 186 188 Table of Contents vi Ch 9 Multi-period Planning Problems .. 197 Introduction ..197 A Dynamic Production Problem .. 199 Formulation .. 199 Constraints .. 200 Representing Absolute Values .. 202 Multi-period Financial Models .. 203 Example: Cash Flow Matching .. 203 Financial Planning Models with Tax Considerations.

7 207 Formulation and Solution of the WSDM Problem .. 208 Interpretation of the Dual Prices .. 210 Present Value vs. LP Analysis .. 211 Accounting for Income 212 End Effects .. 215 Perishability/Shelf Life Constraints .. 215 Startup and Shutdown Costs .. 215 Non-optimality of Cyclic Solutions to Cyclic 216 Ch 10 Blending of Input Materials .. 225 Introduction .. 225 The Structure of Blending Problems .. 226 Example: The Pittsburgh Steel Company Blending Problem .. 227 Formulation and Solution of the Pittsburgh Steel Blending Problem .. 228 A Blending Problem within a Product Mix Problem .. 230 Formulation .. 231 Representing Two-sided 232 Proper Choice of Alternate Interpretations of Quality Requirements .. 236 How to Compute Blended Quality .. 238 Example .. 238 Generalized Mean .. 239 Interpretation of Dual Prices for Blending Constraints.

8 240 Fractional or Hyperbolic Programming .. 241 Multi-Level Blending: Pooling Problems .. 242 247 Ch 11 Formulating and Solving Integer Programs .. 261 Introduction .. 261 Types of 261 Exploiting the IP Capability: Standard Applications .. 262 Binary Representation of General Integer 262 Minimum Batch Size Constraints .. 262 Fixed Charge Problems .. 263 The Simple Plant Location 263 The Capacitated Plant Location Problem (CPL) .. 265 Representing General Cost Curves with Economies of Scale .. 268 Alternate Representation of Nonlinear Cost Curves .. 270 Converting to Separable 271 Outline of Integer Programming 272 Table of Contents Computational Difficulty of Integer Programs .. 274 NP-Complete Problems .. 274 Problems with Naturally Integer Solutions and the Prayer 275 Network LPs Revisited.

9 275 Integral Leontief 275 Example: A One-Period MRP 276 Transformations to Naturally Integer Formulations .. 278 The Assignment Problem and Related Sequencing and Routing Problems .. 280 Example: The Assignment 280 The Traveling Salesperson 282 Capacitated Multiple TSP/Vehicle Routing Problems .. 287 Minimum Spanning Tree .. 291 The Linear Ordering Problem .. 292 Quadratic Assignment Problem .. 294 Problems of Grouping, Matching, Covering, Partitioning, and Packing .. 298 Formulation as an Assignment Problem .. 299 Formulation as a Packing Problem .. 301 Linearizing Products of 303 Example: Bundling of 304 Representing Logical 307 Simplifying Difficult Integer Programs .. 307 311 Ch 12 Decision making Under Uncertainty and Stochastic 321 Introduction .. 321 Identifying Sources of 321 The Scenario Approach.

10 322 A More Complicated Two-Period Planning Problem .. 324 The Warm Winter 326 The Cold Winter 326 The Unconditional 327 Expected Value of Perfect Information (EVPI) .. 330 Expected Value of Modeling 331 Certainty 331 Risk Aversion .. 332 Downside 333 Example .. 334 Choosing Scenarios .. 336 Matching Scenario Statistics to 337 Generating a Set of Scenarios with a Specified Covariance Structure .. 338 Generating a Suitable Z Matrix .. 339 Example .. 340 Converting Multi-Stage Problems to Two-Stage Problems .. 341 Decisions Under Uncertainty with More than Two 341 Dynamic Programming and Financial Option Models .. 342 Binomial Tree Models of Interest Rates .. 343 Binomial Tree Models of Foreign Exchange Rates .. 347 Decisions Under Uncertainty with an Infinite Number of Periods.


Related search queries