Pure, Mixed-Integer, Zero-One Models

Slides:



Advertisements
Similar presentations
Computational Methods for Management and Economics Carla Gomes Module 2 (addendum) Revisiting the Divisibility Assumption (Textbook – Hillier and Lieberman)
Advertisements

In the LP models The decision variables are allowed to have fractional values. There is a unique objective function. All mathematical expression (objective.
Optimization problems using excel solver
Branch-and-Bound Technique for Solving Integer Programs
Chapter 19 – Linear Programming
LINEAR PROGRAMMING SENSITIVITY ANALYSIS
LIAL HORNSBY SCHNEIDER
1 Chapter 11 Here we see cases where the basic LP model can not be used.
Linear Programming Problem
Introduction to Sensitivity Analysis Graphical Sensitivity Analysis
1/53 Slide Linear Programming: Sensitivity Analysis and Interpretation of Solution n Introduction to Sensitivity Analysis n Graphical Sensitivity Analysis.
EE 553 Integer Programming
Water Resources Development and Management Optimization (Integer Programming) CVEN 5393 Mar 11, 2013.
Introduction to Linear and Integer Programming
Integer Programming, Goal Programming, and Nonlinear Programming
Integer Programming Optimisation Methods. 2 Lecture Outline 1Introduction 2Integer Programming 3Modeling with 0-1 (Binary) Variables 4Goal Programming.
Branch and Bound Algorithm for Solving Integer Linear Programming
Integer Programming, Goal Programming, and Nonlinear Programming
Goal Programming In many linear programming problems, the
D Nagesh Kumar, IIScOptimization Methods: M7L1 1 Integer Programming All Integer Linear Programming.
Review of Reservoir Problem OR753 October 29, 2014 Remote Sensing and GISc, IST.
LP formulation of Economic Dispatch
Linear Programming.
Daniel Kroening and Ofer Strichman Decision Procedures An Algorithmic Point of View Deciding ILPs with Branch & Bound ILP References: ‘Integer Programming’
1 1 Slide LINEAR PROGRAMMING: THE GRAPHICAL METHOD n Linear Programming Problem n Properties of LPs n LP Solutions n Graphical Solution n Introduction.
Stevenson and Ozgur First Edition Introduction to Management Science with Spreadsheets McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
Integer programming Branch & bound algorithm ( B&B )
Kerimcan OzcanMNGT 379 Operations Research1 LP: Sensitivity Analysis and Interpretation of Solution Chapter 3.
Decision Procedures An Algorithmic Point of View
Linear Programming Chapter 13 Supplement.
Chapter 11: Hillier and Lieberman Dr. Hurley’s AGB 328 Course
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. 6S Linear Programming.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
1 Additional examples LP Let : X 1, X 2, X 3, ………, X n = decision variables Z = Objective function or linear function Requirement: Maximization of the.
THE GALAXY INDUSTRY PRODUCTION PROBLEM -
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
To accompany Quantitative Analysis for Management, 8e by Render/Stair/Hanna 11-1 © 2003 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
WOOD 492 MODELLING FOR DECISION SUPPORT
To accompany Quantitative Analysis for Management, 9e by Render/Stair/Hanna 11-1 © 2006 by Prentice Hall, Inc. Upper Saddle River, NJ Chapter 11.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
Integer Programming Li Xiaolei. Introduction to Integer Programming An IP in which all variables are required to be integers is called a pure integer.
LINEAR PROGRAMMING.
5-1 Copyright © 2013 Pearson Education Integer Programming: The Branch and Bound Method Module C.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
Integer Programming, Branch & Bound Method
Chapter 6 Optimization Models with Integer Variables.
Department of Business Administration FALL -SPRING Management Science Operations Research by Ass. Prof. Sami Fethi Assoc. Prof. Sami Fethi © 2007 Pearson.
Linear Programming Models: Graphical and Computer Methods 7 To accompany Quantitative Analysis for Management, Twelfth Edition, by Render, Stair, Hanna.
1 2 Linear Programming Chapter 3 3 Chapter Objectives –Requirements for a linear programming model. –Graphical representation of linear models. –Linear.
0 Integer Programming Introduction to Integer Programming (IP) Difficulties of LP relaxation IP Formulations Branch and Bound Algorithms Reference: Chapter.
Water Resources Development and Management Optimization (Integer and Mixed Integer Programming) CVEN 5393 Mar 28, 2011.
Nonlinear Programming Prepared by Lee Revere and John Large
Chapter 2 An Introduction to Linear Programming
Chapter 19 – Linear Programming
Linear Programming Dr. T. T. Kachwala.
6.5 Stochastic Prog. and Benders’ decomposition
Introduction to Operations Research
Integer Programming II
Integer Programming, Goal Programming, and Nonlinear Programming
1.3 Modeling with exponentially many constr.
Linear Programming SIMPLEX METHOD.
Integer Linear Programming
Sensitivity.
Linear Programming.
6.5 Stochastic Prog. and Benders’ decomposition
Branch-and-Bound Algorithm for Integer Program
Integer LP: Algorithms
Branch-and-Bound Technique for Solving Integer Programs
Presentation transcript:

Pure, Mixed-Integer, Zero-One Models Integer Programming Pure, Mixed-Integer, Zero-One Models Strategic Resource Allocation and Planning MGMT E-5050 Applied Management Science for Decision Making, 2e © 2014 Pearson Learning Solutions Philip A. Vaccaro , PhD

Integer Programming One assumption of linear programming is that decision variables can take on fractional values such as X1 = 0.33 or X3 = 1.57 . Yet a large number of business problems can be solved only if variables have integer values. When an airline decides how many planes to purchase, it cannot place an order for 5.38 aircraft ; it must order 4, 5, 6, or some other integer amount. Applied Management Science for Decision Making, 2e © 2014 Pearson Learning Solutions

Integer Programming An integer programming model is one that has constraints and an objective function identical to that formulated by LP. The only difference is that one or more of the decision variables has to take on an integer value in the final solution. There are three types of integer programming problems: 1. Pure IP problems are cases in which all variables are required to have integer values. 2. Mixed IP problems are cases in which some , but not all, of the decision variables are required to have integer values. 3. Zero-one IP problems are special cases in which all the decision variables must have integer values of 0 or 1 .

Integer Programming Solving an IP problem is much more difficult . The solution time may be excessive, even on a computer. The most common algorithm here is the branch and bound method.

Harrison Electric Company PURE INTEGER PROBLEM The Harrison Electric Company produces two products: old-fashioned chandeliers and ceiling fans. Both products require a two-step process involving wiring and assembly. It takes 2 hours to wire each chandelier and 3 hours to wire a ceiling fan. Final assembly of the chandeliers and fans requires 6 and 5 hours, re- spectively. The production capability is such that only 12 hours of wiring time and 30 hours of assembly time are available. If each chandelier produced nets the firm $7.00 and each fan $6.00, the Production mix decision can be formulated using LP as follows:

Harrison Electric Company Maximize profit = $7.00 X1 + $6.00 X2 subject to: 2X1 + 3X2 =< 12 ( wiring hours ) 6X1 + 5X2 =< 30 ( assembly hours ) X1, X2 => 0 where: X1 = number of chandeliers produced X2 = number of ceiling fans produced The Model

Harrison Electric Company X2 + = Possible Integer Solution 6 5 4 3 2 1 6X1 + 5X2 =< 30 ( assembly hours ) Optimal LP Solution ( X1 = 3.75 , X2 = 1.5 , Profit = $35.25 ) + + + + 2X1 + 3X2 =< 12 ( wiring hours ) + + + + X1 0 1 2 3 4 5 6

Harrison Electric Company The optimal solution is X1 = 3.75 chandeliers and X2 = 1.5 ceiling fans. Rounding to X1 = 4 and X2 = 2 makes the solution unfeasible. Rounding to X1 = 4 and X2 = 2 is probably not the optimal feasible integer solution either . There are 18 feasible integer solutions to this problem. The optimal integer solution is X1 = 5 and X2 = 0 , with a total profit of $35.00 . The integer restriction reduced profit from $35.25 to $35.00 An integer solution can never produce a greater profit than the LP solution to the same problem. DISCUSSION

Harrison Electric Company Listing all feasible solutions and selecting the one with the best objective function value is called the enumeration method. This can be virtually impossible for large problems where the number of feasible solutions is extremely large ! Chandeliers ( X1 ) Ceiling Fans ( X2 ) Profit ( Z ) $0.00 1 7 2 14 3 21 4 28 5 35 6 13 20 Integer optimal solution

Harrison Electric Company Listing all feasible solutions and selecting the one with the best objective function value is called the enumeration method. This can be virtually impossible for large problems where the number of feasible solutions is extremely large ! Chandeliers ( X1 ) Ceiling Fans ( X2 ) Profit ( Z ) 3 1 27 4 34 2 12 19 26 33 18 25 24 Rounding optimal solution

Branch-and-Bound Method Solve the original problem using linear programming. If the answer satisfies the integer constraints, we are done. If not, this value provides an initial upper bound for the objective function. Find any feasible solution that meets the integer con- straints for use as a lower bound. Usually, rounding down each variable will accomplish this.

Branch-and-Bound Method Branch on one variable from step 1 that does not have an integer value. Split the problem into two subproblems based on integer values that are above and below the noninteger value. For example, if X2 = 3.75 was in the optimal linear programming solution, introduce constraint X2 => 4 in the first subproblem, and X2 =< 3 in the second subproblem.

Branch-and-Bound Method Create nodes at the top of these new branches by solving the new problems.

Branch-and-Bound Method 5. a If a branch yields a solution that is not feasible, terminate the branch. 5. b If a branch yields a solution that is feasible, but not an integer solution, go to step 6. 5. c If the branch yields a feasible integer solution, look at the objective function. If its value equals the upper bound, an optimal solution has been reached. If it is not equal to the upper bound, but exceeds the lower bound, set it as the new lower bound and go to step 6. Finally, if it is less than the lower bound, terminate this branch.

Branch-and-Bound Method Examine both branches again and set the upper bound equal to the maximum value of the objective function at all final nodes. If the upper bound equals the lower bound, stop. If not, go back to step 3 .

Harrison Electric Company REVISITED Harrison Electric Company Maximize profit = $7.00 X1 + $6.00 X2 subject to: 2X1 + 3X2 =< 12 ( wiring hours ) 6X1 + 5X2 =< 30 ( assembly hours ) X1, X2 => 0 where: X1 = number of chandeliers produced X2 = number of ceiling fans produced The Model

Harrison Electric Company REVISITED Harrison Electric Company X2 + = Possible Integer Solution 6 5 4 3 2 1 6X1 + 5X2 =< 30 ( assembly hours ) Optimal NON-INTEGER LP Solution ( X1 = 3.75 , X2 = 1.5 , Profit = $35.25 ) + + + + 2X1 + 3X2 =< 12 ( wiring hours ) + + + + X1 0 1 2 3 4 5 6

Branch-and-Bound Method Since X1 and X2 are not integers, the solution is not valid. The profit of $35.25 will be the initial upper bound. Rounding down gives X1 = 3, X2 = 1, profit = $27.00 , which is feasible and can be used as a lower bound. X1=3.75 X2=1.5 P=35.25 Upper Bound = $35.25 Lower Bound = $27.00 (rounding down) Original Non-Integer Solution

Branch-and-Bound Method We divide the problem into two subproblems, A and B We can branch on either the non-integer X1 or X2 We choose X1 this time X1=3.75 X2=1.5 P=35.25 Upper Bound = $35.25 Lower Bound = $27.00 (rounding down) Original Non-Integer Solution

Branch-and-Bound Method Subproblem A Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 => 4 Subproblem B Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 =< 3 X1=3.75 X2=1.5 P=35.25 Upper Bound = $35.25 Lower Bound = $27.00 (rounding down) Original Non-Integer Solution

Branch-and-Bound Method Subproblem A Noninteger Solution Upper Bound = $35.20 Lower Bound = $33.00 X1=4 X2=1.2 P=35.20 X1=3.75 X2=1.5 P=35.25 Upper Bound = $35.25 Lower Bound = $27.00 (rounding down) Subproblem B X1=3 X2=2 P=33.00 This Branch Solution Is Integer New Lower Bound $33.00

Branch-and-Bound Method Subproblem A is now branched into two new subproblems, C and D Subproblem C has the additional constraint of X2 => 2 Subproblem D has the additional constraint of X2 =< 1 The logic here is that since A’s optimal solution of X1 = 1.2 is not feasible, the integer feasible answer must lie at X2 => 2 or X2 =< 1

Branch-and-Bound Method Subproblem C Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 => 4 X2 => 2 Subproblem D Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 => 4 X2 =< 1 Subproblem C has no feasible solution whatsoever because the first two constraints are violated if X1 => 4 and X2 => 2 constraints are observed. We terminate this branch and do not consider its solution. Subproblem D’s solution is X1 = 4.17, X2 = 1, profit = $35.16. This non- integer solution yields a new upper bound of $35.16.

Branch-and-Bound Method Subproblem C No Feasible Solution Subproblem A X2 => 2 X1=4 X2=1.2 P=35.20 X1 => 4 X1=3.75 X2=1.5 P=35.25 Subproblem D X2 =< 1 X1=4.17 X2=1 P=35.16 Subproblem B X1 =< 3 X1=3 X2=2 P=33.00 Upper Bound = $35.16 Lower Bound = $33.00

Branch-and-Bound Method Finally, we create subproblems E and F and solve for X1 and X2 with the additional constraints X1 =< 4 and X1 => 5 . Subproblem E Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 => 4 X1 =< 4 X2 =< 1 Subproblem F Max Z = $7X1 + $6X2 s.t. 2X1 + 3X2 =< 12 6X1 + 5X2 =< 30 X1 => 4 X1 => 5 X2 =< 1

Full Branch-and-Bound Solution Harrison Electric Company Full Branch-and-Bound Solution Subproblem C Subproblem A No Feasible Solution X2 => 2 X1=4 X2=1.2 P=35.20 Subproblem E X1=4 X2=1 P=34.00 X1 => 4 Feasible Integer Solution X1=3.75 X2=1.5 P=35.25 X2 =< 1 Subproblem D X1 =< 4 X1=4.17 X2=1 P=35.16 Subproblem B Subproblem F X1 =< 3 X1=3 X2=2 P=33.00 X1=5 X2=0 P=35.00 Feasible Integer Optimal Solution X1 => 5 The stopping rule for the branching process is that we continue until the new upper bound is less than or equal to the lower bound or no further branching is possible. The latter is the case here since both branches yielded feasible integer solutions.

Integer Programming with QM for WINDOWS Harrison Electric Company

Integer Programming Using The Harrison Electric Company

Mixed Integer Programming The Bagwell Chemical Company produces two industrial chemicals. The first product, xyline, must be produced in 50-pound bags. The second, hexall, is sold by the pound in dry bulk and hence can be produced in any quantity. Both xyline and hexall are composed of three ingredients: A, B, and C as follows:

The Bagwell Chemical Co. Amount per 50-Pound Bag of Xyline (lb) Pound of Hexall (lb) Amount of Ingredients Available 30 0.5 2,000 lb - A 18 0.4 800 lb - B 2 0.1 200 lb - C Bagwell sells 50-pound bags of xyline for $85.00 and hexall in any weight for $1.50 per pound. By formulating the usage coefficients for each 50-pound bag of Xyline, rather than for each pound of Xyline, the program will automatically compute the purchase quantity for Xyline in 50-pound bag units, if an integer output is required.

The Bagwell Chemical Co. Maximize Z = $85.00 X + $1.50 Y s.t. 30 X + 0.5 Y <= 2,000 18 X + 0.4 Y <= 800 2 X + 0.1 Y <= 200 X,Y => 0 and X integer The Model X = number of 50-pound bags of xyline produced ; Y = number of pounds of hexall (in dry bulk) mixed

The Bagwell Chemical Co. The Solution The Integer Solution The Optimal Solution X = 44 bags of xyline Y = 20 pounds of hexall Z = $3,770.00 X = 44.444 bags of xyline Y = 0 pounds of hexall Z = $3,777.78

Integer Programming with QM for WINDOWS Bagwell Chemical Company Mixed Integer Program for Bagwell Chemical Company

Mixed Integer Programming Using The Bagwell Chemical Company

Modeling with Binary Variables Typically, a ‘0-1’ variable is assigned a value of 0 if a certain condition is not met, and a value of ‘1’ if the condition is met. Another name for a ‘0-1’ variable is a binary vari- able. A common problem of this type is the assignment problem which involves deciding which individuals are assigned to a set of jobs. A value of 1 indicates a person is assigned to a specific job. A value of 0 indicates the assignment was not made.

Capital Budgeting Example A common capital budgeting decision involves selecting from a set of possible projects when budget limitations make it impossible to select all of these. A separate ‘0-1’ variable can be defined for each project.

XYZ Chemical Company XYZ is considering three possible improvement projects for its plant: a new catalytic converter, a new software program for controlling operations, and expanding the warehouse used for storage. Capital requirements and budget limitations in the next two years prevent the firm from underatking all of these at this time. The net present value of each of the projects , the capital requirements, and the available funds for the next two years are given on the next slide. NPV is the future value of a project discounted back to the present time

XYZ Chemical Company PROJECT Year 1 Year 2 $25,000. $8,000. $7,000. Net Present Value Year 1 Capital Requirement Year 2 Capital Requirement Catalytic Converter $25,000. $8,000. $7,000. Software $18,000. $6,000. $4,000. Warehouse Expansion $32,000. $12,000. Budget Limitations $20,000. $16,000. PROJECT

XYZ Chemical Company Maximize NPV of projects undertaken subject to: Total funds used in year 1 =< $20,000. Total funds used in year 2 =< $16,000. We define the decision variables as: X1 = 1 if catalytic converter project is funded 0 otherwise X2 = 1 if software project is funded X3 = 1 if warehouse expansion project is funded

XYZ Chemical Company Maximize NPV = 25,000 X1 + 18,000 X2 + 32,000 X3 subject to: 8,000 X1 + 6,000 X2 + 12,000 X3 =< 20,000 7,000 X1 + 4,000 X2 + 8,000 X3 =< 16,000 X1, X2, X3 = 0 or 1 The Model

XYZ Chemical Company and the warehouse expansion project, but not the The Solution X1 = 1 , X2 = 0 , X3 = 1 , Z = 57,000 The firm should fund the catalytic converter project, and the warehouse expansion project, but not the new software project. The net present value of these investments will be $57,000.00

Integer Programming with QM for WINDOWS Binary Variable Modeling for the XYZ Chemical Company

XYZ Chemical Company

XYZ Chemical Company Limiting the Number of Alternatives Selected Suppose that XYZ Chemical Company is required to select no more than two of the three projects regardless of the funds available. This could be modeled by adding the following constraint to the problem: X1 + X2 + X3 =< 2 If we wished to force the selection of exactly two of the three projects for funding, the following constraint should be used: X1 + X2 + X3 = 2 This forces exactly two of the variables to have values of 1, whereas the other variable must have a value of 0.

XYZ Chemical Company Dependent Selections At times the selection of one project depends in some way upon the selection of another project. This situation can be modeled with the use of 0-1 variables. Suppose that the new catalytic converter could be purchased only if the software was purchased also. The following con- straint would force this to occur: X1 <= X2 or X1 - X2 <= 0 Thus, if the software is not purchased, the value of X2 is 0, and the value of X1 must be 0 also because of this constraint. However, if the software is purchased ( X2 = 1 ), then it is possi- ble that the catalytic converter could be purchased ( X1 = 1) also, although this is not required.

XYZ Chemical Company Dependent Selections If we wished for the catalytic converter and the software projects to either both be selected or both not be selected, we should use the following constraint: X1 = X2 or X1 - X2 = 0 Thus, if either of these variables is equal to 0, the other must be 0 also. If either of these variables is equal to 1, the other must be 1 also.

Fixed-Charge Problem Often firms are faced with decisions involving a fixed charge that will affect the cost of future operations. Building a new factory or entering into a long- term lease on an existing facility would involve a fixed cost that might vary depending upon the size of the facility and the location. Once a factory is built, the variable production costs will be affected by the labor cost in the particular city where it is located.

Acme Manufacturing, Inc. FIXED-CHARGE PROBLEM EXAMPLE Acme Manufacturing is planning to build at least one new plant, and three cities are being considered: Baytown, TX; Lake Charles, LA; and Mobile, AL. Once the plant or plants have been constructed, the firm wishes to have sufficient capacity to produce at least 38,000 units each year. The costs associated with the possible locations are shown on the following slide.

Acme Manufacturing, Inc. SITE ANNUAL FIXED COST VARIABLE COST PER UNIT ANNUAL CAPACITY Baytown $340,000. $32. 21,000 Lake Charles $270,000. $33. 20,000 Mobile $290,000. $30. 19,000

Acme Manufacturing, Inc. The objective function is to minimize the total of the fixed cost and the variable cost. Total production capacity is at least 38,000 units. The number of units produced at Baytown is ‘0’ if the plant is not built, and no more than 21,000 if the plant is built. The number of units produced at Lake Charles is ‘0’ if the plant is not built, and no more than 20,000 The number of units produced at Mobile is ‘0’ if the plant is not built, and no more than 19,000 if the plant is built.

Acme Manufacturing, Inc. The decision variables: X1 = ‘1’ if the factory is built in Baytown ; ‘0’ otherwise. X2 = ‘1’ if the factory is built in Lake Charles ; ‘0’ otherwise. X3 = ‘1’ if the factory is built in Mobile ; ‘0’ otherwise. X4 = number of units produced at Baytown plant. X5 = number of units produced at Lake Charles plant. X6 = number of units produced at Mobile plant.

Acme Manufacturing, Inc. Texas Louisiana Minimize Cost = 340,000 X1 + $270,000 X2 + $290,000 X3 + 32 X4 + 33 X5 + 30 X6 subject to: X4 + X5 + X6 => 38,000 X4 =< 21,000 X1 X5 =< 20,000 X2 X6 =< 19,000 X3 X1, X2, X3 = 0 or 1 ; X4, X5, X6 => 0 and integer The Model

Acme Manufacturing, Inc. Proposed Site If X1 = 0 , meaning Baytown plant is not built, then X4 , number of units produced at Baytown plant, must equal 0 also, due to the second constraint. If X1 = 1 , then X4 may be any integer value less than or equal to the limit of 21,000 units. The third and fourth constraints are similarly used to guarantee that no units are produced at the other locations if the plants are not built.

Acme Manufacturing, Inc. X1 = 0 X2 = 1 X3 = 1 X4 = 0 X5 = 19,000 X6 = 19,000 Z = 1,757,000.00 Optimal Solution Factories will be built at Lake Charles and Mobile. Each of these wil produce 19,000 units each year. Total annual cost will be $1,757,000.00

Financial Investment Example Numerous financial applications exist with binary variables. A very common type of problem involves selecting from a group of investment op- portunities.

Hawthorne Investments Hawthorne Investments specializes in recommending oil stock portfolios for wealthy clients. One such client has made the following specifications: At least two Texas oil firms must be in the portfolio. No more than one investment can be made in foreign oil companies. One of the two California oil stocks must be purchased. The client has up to $3 million available for investments and insists on purchasing large blocks of shares of each company he invests in. The objective is to maximize annual return on investment subject to the constraints.

Hawthorne Investments Stocks Being Considered Hawthorne Investments The firm is being forced by the client to buy shares in “blocks” so the cost per “block” is shown below. Stock Company Name Expected Annual Return ($1,000s) Cost for Block Of Shares 1 Trans-Texas Oil 50 480 2 British Petroleum 80 540 3 Dutch Shell 90 680 4 Houston Drilling 120 1,000 5 Texas Petroleum 110 700 6 San Diego Oil 40 510 7 California Petro 75 900

Hawthorne Investments To formulate this as a 0-1 integer programming problem, let Xi be a ‘0-1’ integer variable, where Xi = 1 if the stock is purchased and Xi = 0 if the stock is not purchased.

Hawthorne Investments Maximize return = 50 X1 + 80 X2 + 90 X3 + 120 X4 + 110 X5 + 40 X6 + 75 X7 subject to: X1 + X4 + X5 => 2 ( Texas constraint ) X2 + X3 =< 1 ( foreign oil constraint ) X6 + X7 = 1 ( California constraint ) 480 X1 + 540 X2 + 680 X3 + 1,000 X4 + 700 X5 + 510 X6 + 900 X7 =< 3,000 ( $3 million limit ) All variables must be 0 or 1 in value. The Model

Hawthorne Investments The Optimal Solution Hawthorne should invest in Dutch Shell Houston Drilling Texas Petroleum San Diego Oil and not in Trans-Texas Oil British Petroleum California Petro The expected return is $360,000.00 X3 = 1 X4 = 1 X5 = 1 X6 = 1 X1 = 0 X2 = 0 X7 = 0 Z = 360,000

0-1 Integer Programming Using Hawthorne Investments Problem

0-1 Integer Programming with QM for WINDOWS Hawthorne Investments Problem

Applied Management Science for Decision Making, 2e © 2014 Pearson Learning Solutions