IE 312 Review 1. The Process 2 Problem Model Conclusions Problem Formulation Analysis.

Slides:



Advertisements
Similar presentations
1 Material to Cover  relationship between different types of models  incorrect to round real to integer variables  logical relationship: site selection.
Advertisements

Geometry and Theory of LP Standard (Inequality) Primal Problem: Dual Problem:
Solving LP Models Improving Search Special Form of Improving Search
Basic Feasible Solutions: Recap MS&E 211. WILL FOLLOW A CELEBRATED INTELLECTUAL TEACHING TRADITION.
Introduction to Linear and Integer Programming
Lecture 1: Introduction to the Course of Optimization 主講人 : 虞台文.
Integer Programming 3 Brief Review of Branch and Bound
Solving Integer Programs. Natural solution ideas that don’t work well Solution idea #1: Explicit enumeration: Try all possible solutions and pick the.
Math443/543 Mathematical Modeling and Optimization
Computational Methods for Management and Economics Carla Gomes
Approximation Algorithms
1 Maximum matching Max Flow Shortest paths Min Cost Flow Linear Programming Mixed Integer Linear Programming Worst case polynomial time by Local Search.
The Theory of NP-Completeness
Optimization for Network Planning Includes slide materials developed by Wayne D. Grover, John Doucette, Dave Morley © Wayne D. Grover 2002, 2003 E E 681.
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
LP formulation of Economic Dispatch
Linear Programming.
Two Discrete Optimization Problems Problem: The Transportation Problem.
Decision Procedures An Algorithmic Point of View
1.3 Modeling with exponentially many constr.  Some strong formulations (or even formulation itself) may involve exponentially many constraints (cutting.
Mathematical Programming Cht. 2, 3, 4, 5, 9, 10.
Design Techniques for Approximation Algorithms and Approximation Classes.
Mathematical Modeling and Optimization: Summary of “Big Ideas”
Linear Programming Topics General optimization model LP model and assumptions Manufacturing example Characteristics of solutions Sensitivity analysis Excel.
Some Key Facts About Optimal Solutions (Section 14.1) 14.2–14.16
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Integer Programming Key characteristic of an Integer Program (IP) or Mixed Integer Linear Program (MILP): One or more of the decision variable must be.
Search Methods An Annotated Overview Edward Tsang.
Notes 6IE3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Notes 5IE 3121 Knapsack Model Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
WOOD 492 MODELLING FOR DECISION SUPPORT
1 Max 8X 1 + 5X 2 (Weekly profit) subject to 2X 1 + 1X 2  1000 (Plastic) 3X 1 + 4X 2  2400 (Production Time) X 1 + X 2  700 (Total production) X 1.
Thursday, May 9 Heuristic Search: methods for solving difficult optimization problems Handouts: Lecture Notes See the introduction to the paper.
Linear Programming Erasmus Mobility Program (24Apr2012) Pollack Mihály Engineering Faculty (PMMK) University of Pécs João Miranda
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
15.053Tuesday, April 9 Branch and Bound Handouts: Lecture Notes.
Two Discrete Optimization Problems Problem: The Transportation Problem.
Integer Programming Li Xiaolei. Introduction to Integer Programming An IP in which all variables are required to be integers is called a pure integer.
Branch-and-Cut Valid inequality: an inequality satisfied by all feasible solutions Cut: a valid inequality that is not part of the current formulation.
1 The Geometry of Linear Programs –the geometry of LPs illustrated on GTC Handouts: Lecture Notes February 5, 2002.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents CD Chapter 14 (Solution Concepts for Linear Programming) Some Key Facts.
Integer Programming (정수계획법)
Operational Research & ManagementOperations Scheduling Economic Lot Scheduling 1.Summary Machine Scheduling 2.ELSP (one item, multiple items) 3.Arbitrary.
OR Chapter 8. General LP Problems Converting other forms to general LP problem : min c’x  - max (-c)’x   = by adding a nonnegative slack variable.
1 An Arc-Path Model for OSPF Weight Setting Problem Dr.Jeffery Kennington Anusha Madhavan.
3 Components for a Spreadsheet Optimization Problem  There is one cell which can be identified as the Target or Set Cell, the single objective of the.
8/14/04 J. Bard and J. W. Barnes Operations Research Models and Methods Copyright All rights reserved Lecture 6 – Integer Programming Models Topics.
Lecture 6 – Integer Programming Models Topics General model Logic constraint Defining decision variables Continuous vs. integral solution Applications:
DEPARTMENT/SEMESTER ME VII Sem COURSE NAME Operation Research Manav Rachna College of Engg.
TU/e Algorithms (2IL15) – Lecture 12 1 Linear Programming.
Linear Programming Piyush Kumar Welcome to CIS5930.
Discrete Optimization MA2827 Fondements de l’optimisation discrète Material from P. Van Hentenryck’s course.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
Linear Programming for Solving the DSS Problems
Linear Programming Many problems take the form of maximizing or minimizing an objective, given limited resources and competing constraints. specify the.
Integer Programming An integer linear program (ILP) is defined exactly as a linear program except that values of variables in a feasible solution have.
Solver & Optimization Problems
EMGT 6412/MATH 6665 Mathematical Programming Spring 2016
Integer Programming II
1.3 Modeling with exponentially many constr.
Linear Programming.
Chapter 6. Large Scale Optimization
Integer Programming (정수계획법)
1.3 Modeling with exponentially many constr.
Integer Programming (정수계획법)
Dr. Arslan Ornek DETERMINISTIC OPTIMIZATION MODELS
Chapter 1. Formulations.
Chapter 6. Large Scale Optimization
Presentation transcript:

IE 312 Review 1

The Process 2 Problem Model Conclusions Problem Formulation Analysis

Problem Formulation 3  What is the objective?  Maximize profit,  Minimize inventory,...  What are the decision variables?  Capacity, routing, production and stock levels  What are the constraints?  Capacity is limited by capital  Production is limited by capacity

Analysis 4  Optimization Algorithm  Computer Implementation  Excel (or other spreadsheet)  Optimization software (e.g., LINDO)  Modeling software (e.g., LINGO) Increasing Complexity

Optimization Algorithms 5  Find an initial solution  Loop:  Look at “ neighbors ” of current solution  Select one of those neighbors  Decide if to move to selected solution  Check stopping criterion

Tractability and Validity 6  Is a model tractable?  Can it be solved, or is it too complex and/or large?  Is a model valid?  Do we reach the same conclusions experimenting with the model as we would experimenting with the real system?

Mathematical Programming 7  General Model  Minimize or maximize some objective function  Subject to some constraints

Linear versus Nonlinear 8  A function is linear if it is a weighted sum of the decision variables, otherwise nonlinear  A linear program (LP) has a linear objective function f and constraint functions g 1,…,g m  A nonlinear program has at least one nonlinear function

Integer Programs 9  A variable is discrete if it can only take a limited or countable number of values  A variable is continuous if it can take values in a specific interval  Mathematical programs can be  continuous  discrete (integer/combinatorial)  mixed

Classification Summary 10 Linear Program (LP)ILP Nonlinear Program (NLP)INLP Integer Program (IP) Increased difficulty

Solution Techniques 11  Models  Thousands (or millions) of variables  Thousands (or millions) of constraints  Complex models tend to be valid  Is the model tractable?  Solution techniques

Improving Search 12  Begin at feasible solution  Advance along a search path  Ever-improving objective function value  Neighborhood: points within small positive distance of current solution  Stopping criterion: no improvement

Local Optima 13  Improving search finds a local optimum  May not be a global optimum (only a heuristic solution)  Tractability: for some models there is only one local optimum (which hence is global)

Tractability 14  The most tractable models for improving search are models with  unimodal objective function (linear special case)  convex feasible region (linear special case)  Here every local optimum is global

Solving LP Models 15  Improving Search  Unimodal  Convex feasible region  Should be successful!  Special Form of Improving Search  Simplex method

Optimal Solutions 16  Every optimal solution is a boundary point  We can find an improving direction whenever we are at an interior point  If optimum unique the it must be an extreme point of the feasible region  If optimal solution exist, an optimal extreme point exists

LP Standard Form 17  Easier if we agree on exactly what a LP should look like  Standard form  only equality main constraints  only nonnegative variables  variables appear at most once in left-hand-side and objective function  all constants appear on right hand side

Extreme Points 18  Know that an extreme point optimum exists  Will search trough extreme points  An extreme point is define by a set of constraints that are active simultaneously

Improving Search 19  Move from one extreme point to a neighboring extreme point  This defines the directions  Simplex is a special case of improving search that only uses these directions  Extreme points are adjacent if they are defined by sets of active constraints that differ by only one element  An edge is a line segment determined by a set of active constraints

Basic Solutions 20  An easy way of keeping track of the Simplex directions is by using some linear algebra  Extreme points are defined by set of active nonnegativity constraints  A basic solution is a solution that is obtained by fixing enough variable to be equal to zero, so that the equality constraints have a unique solution

Simplex Algorithm 21  Starting point  A basic feasible solution (extreme point)  Direction  Follow an edge to adjacent extreme point:  Increase one nonbasic variable  Compute changes needed to preserve equality constraints  One direction for each nonbasic variable

Sensitivity Analysis 22  Basic Question: How does our solution change as the input parameters change?  The objective function?  More/less profit or cost  The optimal values of decision variables?  Make different decisions!  Why?  Only have estimates of input parameters  May want to change input parameters

What We Know 23  Qualitative Answers for All Problems  Quantitative Answers for Linear Programs (LP)  Dual program  Same input parameters  Decision variables give sensitivities  Dual prices  Easy to set up  Theory is somewhat complicated

Discrete Optimization 24  Wide range of problems  LPs with additional integer constraints  Knapsack & capital budgeting  Set packing, covering, and partitioning  Traveling salesman and routing  How do we solve these problems?  Much more difficult that the corresponding continuous problems

Exponential Growth 25 2k2k k2k2

Relaxations 26  Discrete problems are hard  Relax them to an easier problem  Our original Swedish Steel formulation was a relaxation of the real problem  Can always relax a zero-one problem by allowing the variable to take any value on the interval [0,1]

Continuous Relaxations 27  LP relaxation or continuous relaxation is when a model with discrete variables is assume to have only continuous variables If a constraint relaxation is infeasible, the original model is infeasible as well

Relationship with Relaxed Solution 28 The optimal value of the relaxed problem is an upper/lower bound for the original maximization/minimization model Feasible solutions in relaxed model Feasible solutions in original model Optimum

Final Relationship 29 If an optimal solution to the relaxed model is feasible for the original model, it is also optimal for the original model. Feasible solutions in relaxed model Feasible solutions in original model Optimum for the relaxed model

Further Bound 30  Have that the optimal value of the relaxed problem is an upper/lower bound for the original maximization/minimization model The objective value of any integer feasible solution to a maximization/minimization problem is a lower/upper bound on the integer optimal value

Rounding Example 31 Solve LP relaxation for ( x 1, x 2 )=(376/193,950/193) Integer Programming (IP) solution is ( x 1, x 2 )=(5,0)

More Efficient Enumeration 32  Looking at every solution takes prohibitively long  Can we somehow account for every solution without actually looking at every solution?  Would like to be able to eliminate a bunch of solutions without evaluating them!  Branch and bound

Using Relaxations 33  If a relaxation of a candidate problem is infeasible that branch can be fathomed  If optimal solution of a relaxed candidate problem is worse than incumbent then fathom branch  If optimal solution of a relaxed candidate problem is feasible for full candidate then fathom branch and update candidate if necessary

Knapsack Model 34  Intuitive idea: what is the most valuable collection of items that can be fit into a backpack?

Capital Budgeting 35  Multidimensional knapsack problems are often called capital budgeting problems  Idea: select collection of projects, investments, etc, so that the value is maximized (subject to some resource constraints)

Assignment Problems 36  Assignment problems deal with optimal pairing or matching of objects in two distinct sets  Decision variable  Let A be the set of allowed assignments and c ij be the cost of assigning i to j.

Traveling Salesman Problem (TSP) 37 Ames Fort Dodge Boone Carroll Marshalltown West Des Moines Waterloo What is the shortest route, starting in Ames, that visits each city exactly ones?

Solving TSP 38  We can use branch-and-bound to get an exact solution to the TSP problem  As always, the key to implementing branch-and-bound is to relax the problem so that we can easily solve the relaxed problem, but we still get good bounds  How can we relax the TSP?

Single Machine Sequencing 39  A set of jobs  Find the best order in which to sequence the jobs  Solution  Tabu search  Branch-and-bound

Neighborhood/Local Search 40  Find an initial solution  Loop:  Look at “ neighbors ” of current solution  Select one of those neighbors  Decide if to move to selected solution  Check stopping criterion

Random Search Methods 41  Tabu Search  Maintain a tabu list of solution changes  A move made entered at top of tabu list  Fixed length (5-9)  Neighbors restricted to solutions not requiring a tabu move