SlideShare a Scribd company logo
Beyond Linear Programming:
Mathematical Programming
Extensions

CHAPTER 7 and 17 (on CD)
   Integer Programming
   Goal Programming
   Non-Linear Programming




            ADM2302 -- Rim Jaber   1
Learning Objectives
   Formulate integer programming (IP) models.
   Set up and solve IP models using Excel’s Solver.
   Understand difference between general integer and
    binary integer variables
   Understand use of binary integer variables in
    formulating problems involving fixed (or setup) costs.
   Formulate goal programming problems and solve
    them using Excel’s Solver.


                 ADM2302 -- Rim Jaber      2
Integer Programming




          ADM2302 -- Rim Jaber   3
Integer Programming (IP)
   Constraints and Objective function
    similar to the LP model
       Difference:
         
             one or more of the decisions variables has to
             take on an integer value in the final solution.


   Example of IP: Harison Electric
    Company
                    ADM2302 -- Rim Jaber       4
Example 1:
     Harison Electric Company
The Harison Electric Company, located in Chicago’s old town
    area, Produces two products popular with home renovators:
    old-fashion Chandelier and ceiling fans. Both the chandeliers
    and fans require a two-step production process involving
    wiring and assembly.
It takes about 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, respectively. The production
    capability is such that 12 hours of wiring time and 30 hours of
    assembly time are available. If each chandelier produced
    nets the firm $600 and each fan $700. Harison’s production
    mix decision can be formulated using LP as follows:
                          ADM2302 -- Rim Jaber 5
Harrison Electric Problem
Maximize Profit = $ 600X1 + 700X2
Subject to
     2X1 + 3X2 <= 12 (wiring hours)
     6X1 + 5X2 <= 30 (assembly hours)
     X1, X2 >= 0
X1 = number of chandeliers produced
X2 = number of ceiling fans produced
           ADM2302 -- Rim Jaber   6
X2   Harrison Electric Problem
6            6X1 + 5X2 ≤ 30
5                       + = possible Integer Solution
4

         +                    Optimal LP Solution
3
                              (X1 = 3 3/4, X2 = 1 1/2
2        +   +   +              Profit = $3,300)

1        +   +   +     +               2X1 + 3X2 ≤ 12
                                             X1
0
         1   2   3   4    5     6
                  ADM2302 -- Rim Jaber        7
Comments on Reaching Integer
        Solution
   Rounding off is one way to reach integer
    solution values, but it often does not
    yield the best solution.
       Problems of Rounding:




                  ADM2302 -- Rim Jaber   8
Integer Solution to the Harrison Electric
Company Problem
Chandeliers (X1)   Ceiling Fans(X2)   Profit: $600X1 + $700X2
     0                  0                $0
     1                  0                600
     2                  0                1,200
     3                  0                1,800
     4                  0                2,400
     5                  0                3,000
     0                  1                700
     1                  1                1,300
     2                  1                1,900
     3                  1                2,500    Solution if
     4                  1                3,100    rounding off is
     0                  2                1,400    used
     1                  2                2,000
     2                  2                2,600     Optimal Solution
     3                  2                3,200     to integer
     0                  3                2.100     Programming
     1                  3                2,700   9 Problem
     0                  4                2,800
Comments on Reaching Integer
Solution-Cont’d
   An IP solution can never be better than
    the solution to the same LP problem.
    The integer problem is usually worse in
    terms of higher cost or lower profit.
   Although enumeration is feasible for
    some small integer programming
    problems, it can be difficult or
    impossible for large ones.
              ADM2302 -- Rim Jaber   10
Integer Programming
    Techniques
   Cutting Plane Method
       A means of adding one or more constraints to LP
        problems to help produce an optimum integer
        solution
   Branch and Bound Method
       An algorithm for solving all-integer and mixed-
        integer LP and assignment problems. It divides the
        set of feasible solutions into subsets that are
        examined systematically.
       Solver uses this method

                      ADM2302 -- Rim Jaber     11
Formulating and Solving Spreadsheet
     Models for Integer Programming
     Problems
   Similar to LP except we need to include the
    constraints that the decisions variables need to
    be integer.
   Changing Cells = integer
   Solver Options
       Maximum Time Allowed.
          Max Time option set to 100 seconds default value.

       Tolerance of the Optimal Solution.
          Tolerance option set at 5% default value.


   Refer to “BIP.xsl”
                       ADM2302 -- Rim Jaber     12
Types of Integer Programming
Problems
       Pure Integer Programming
         all variables must have integer solutions
       Mixed Integer Programming
         some, but not all variables have integer solutions
       Binary (0-1) Integer Programming
         all variables have values of 0 or 1
       Mixed binary integer programming
        problems.
         Some decision variables are binary, and other
          decision variables are either general integer or
          continuous valued.

                   ADM2302 -- Rim Jaber         13
Binary Integer Programming




          ADM2302 -- Rim Jaber   14
Binary Integer Programming
   Binary Integer Programming (BIP): the
    model for a BIP is identical to that for a
    LP problem except that the
    nonnegativity constraints for at least
    some of the variables are binary
    variables.
       Pure PIB problem
       Mixed PIB problem

                ADM2302 -- Rim Jaber   15
Binary Integer Programming
        (Cont’d)
   Binary Variables:
       A variable whose only possible values are 0 or 1.
            Used when dealing with yes-or-no decisions
                  Example 2
            OR used to help formulate the model constraints and/or objective
             function (do not represent a yes-or-no decision)
                  Called “auxiliary binary variable”
                  Example 3
   Binary (zero-one) variables are defined as

                                1 if an event takes place
                     Y=

                                0 if an event doesn’t take place
                                 ADM2302 -- Rim Jaber 16
BIP: Example 2 -- Employee
      Scheduling Application

The Department head of a management science
  department at a major Midwestern university will be
  scheduling faculty to teach courses during the
  coming autumn term. Four core courses need to be
  covered. The four courses are at the UG, MBA, MS,
  and Ph.D. levels. Four professors will be assigned
  to the courses, with each professor receiving one of
  the courses. Student evaluations of professors are
  available from previous terms. Based on a rating
  scale of 4 (excellent), 3 (very good), 2 (average),
  1(fair), and 0(poor), the average student evaluations
  for each professor are shown: Jaber 17
                     ADM2302 -- Rim
Professor D does not have a Ph.D. and cannot be assigned to
teach the Ph.D.-level course. If the department head makes
teaching assignments based on maximizing the student
evaluation ratings over all four courses, what staffing
assignments should be made?

                                   Course

   Professor           UG        MBA         MS       Ph.D.
       A                2.8        2.2        3.3        3.0
       B                 3.2       3.0         3.6       3.6
       C                 3.3       3.2         3.5       3.5
       D               3.2      2.8       2.5            -
                     ADM2302 -- Rim Jaber 18
BIP Example 2: Solution
   Excel Solution: “BIP.xsl”




              ADM2302 -- Rim Jaber   19
Example 3
The Research and Development Division of the Progressive
Company has been developing four possible new product lines.
Management must now make a decision as to which of these
Four products actually will be produced and at what levels.

Therefore, a management science study has been requested to
Find the most profitable product mix.

A substantial cost is associated with beginning the production
Of any product, as given in the first row of the following table.

Management’s objective is to find the product mix that maximizes
                                                    20
The total profit (total net revenue minus start up costs).
Product

                      1           2           3           4


  Start-up-cost      $50,000 $40,000       $70,000      $60,000
  Marginal revenue        $70     $60        $90         $80
 Maximum Production        1000   3000        2000       1000

Let the Integer decisions variables x1, x2, x3, and
x4 be the total number of units produced of products 1,
2, 3 and 4, respectively. Management has imposed the
following policy constraints on these variables:


                      ADM2302 -- Rim Jaber         21
  No more than two of the products can
   be produced
  If product 3 or 4 is produced then
   product 1 or 2 must be produced
  Either 5x1+3x2+6x3+4x4 <= 6,000
Or Either 4x1+6x2+3x3+5x4 <= 6,000
Use Auxiliary binary variables to
   formulate and solve the mixed BIP
   model.
           ADM2302 -- Rim Jaber   22
No more than two of the products
    can be produced
   Yi = 1 if product i is produced
        0 if product i is not produced
   Y1 + Y2 + Y3 + Y4 <= 2
   Extension of the Mutually Exclusive
    Alternatives Constraints
       Mutually exclusive constraint is a constraint
        requiring that the sum of two or more binary
        variables be less than or equal to 1. Thus if one of
        the variables is equal to 1 , the others must equal
        zero.
                    ADM2302 -- Rim Jaber 23
If product 3 or 4 is produced then product
1 or 2 must be produced
 Contingent Decision (Conditional
  Decision) : It can be yes only if a certain
  other yes-or-no decision is yes.
 Y3 <= Y1 + Y2

  Y 4 <= Y1 + Y2
 Contingency Constraints: it involves
  binary variables that do not allow
  certain variables to equal 1 unless
  certain other variables are equal to 1
            ADM2302 -- Rim Jaber   24
Either 5x1+3x2+6x3+4x4 <= 6,000
        Or Either 4x1+6x2+3x3+5x4 <= 6,000
   Either-or constraints are not allowed in Linear or
    Integer Programming
       A pair of constraints such that either one can be chosen to be
        observed and then the other one would be ignored
   Use binary variables to reformulate this model into a
    standard format, in order to be able to find the optimal
    solution.
   Y= 0 if 5x1+3x2+6x3+4x4 <= 6,000 must hold
    Or 1 if 4x1+6x2+3x3+5x4 <= 6,000 must hold
   5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y
     4x1+6x2+3x3+5x4 <= 6,000 + 1,000,000(1-Y)
                          ADM2302 -- Rim Jaber        25
Production Cost: Setup Costs
(=Start-up Costs) + Variable Costs
 Objective function
 Max Z = $70x1 + 60x2 + 90x3 +80x4 -
        We need to subtract from this expression
         each setup cost if the corresponding
         product will be produced, but we should
         not subtract the setup cost if the product
         will not be produced.


                  ADM2302 -- Rim Jaber   26
Setup Costs (cont’d)
   Y1 =   1 if x1 is produced
           0 if x1 is not produced
   Y2 =   1 if x2 is produced
           0 if x2 is not produced
   Y3 =   1 if x3 is produced
           0 if x3 is not produced
   Y4 =   1 if x4 is produced
           0 if x4 is not produced
                                 27
Objective Function for the Model
 The total Start-up Cost is:
$50,000Y1 + $40,000Y2 + $70,000Y3 +
  $60,000Y4
 Max Z = $70x1 + $60x2 + $90x3 +$80x4 -
  $50,000Y1 - $40,000Y2 - $70,000Y3 -
  $60,000Y4
 Constraints:

x1 <= 1000Y1
x2 <= 3000 Y2
x3 <= 2000 Y3
x4 <= 1000 Y4
            ADM2302 -- Rim Jaber   28
The Mixed BIP Model Summary
Max Z = $70x1 + $60x2 + $90x3 +$80x4 - $50,000Y1
  - $40,000Y2 - $70,000Y3 - $60,000Y4
  Subject to
      Y1 + Y2 + Y3 + Y4 <= 2
      Y3 <= Y1 + Y2
      Y 4 <= Y1 + Y2
      5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y
      4x1+6x2+3x3+5x4 <= 6,000 + 1,000,00(1-Y)
      x1 <= 1000Y1
      x2 <= 3000Y2
      x3 <= 2000Y3
      x4 <= 1000Y4
x1, x2, x3, x4 >= 0 and integer; Y,Y1,Y2,Y3,Y4 = 0, 1
Summary
Integer LP models have variety of applications
  including:
 capital budgeting problems (individual projects

  are represented as binary variables)
 facilities location problems (selecting a

  location is represented as a binary variable)
 airline crew scheduling problems (assigning

  crew to a particular flight is represented as a
  binary variable)
 knapsack problems (loading an item into a

  container is represented as a binary variable)
                ADM2302 -- Rim Jaber   30

More Related Content

What's hot

LP special cases and Duality.pptx
LP special cases and Duality.pptxLP special cases and Duality.pptx
LP special cases and Duality.pptx
Snehal Athawale
 
Linear programming graphical method
Linear programming graphical methodLinear programming graphical method
Linear programming graphical method
Dr. Abdulfatah Salem
 
6. assignment problems
6. assignment problems6. assignment problems
6. assignment problems
Hakeem-Ur- Rehman
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
Tsegay Berhe
 
Branch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingBranch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear Programming
Kaivalya Shah
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodKaushik Maitra
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
karishma gupta
 
Operations research
Operations researchOperations research
Operations research
Projects Kart
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical MethodJoseph Konnully
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
Kiran Jadhav
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
DagnaygebawGoshme
 
Operations Research
Operations ResearchOperations Research
Operations Researchajithsrc
 
Rsh qam11 ch03 ge
Rsh qam11 ch03 geRsh qam11 ch03 ge
Rsh qam11 ch03 ge
Firas Husseini
 
Nonlinear programming 2013
Nonlinear programming 2013Nonlinear programming 2013
Nonlinear programming 2013sharifz
 
Solution of a simplex problem using excel
Solution of a simplex problem using excelSolution of a simplex problem using excel
Solution of a simplex problem using excel
Safdar Ali
 
Linear programing
Linear programing Linear programing
Linear programing
Deepak Pradhan
 
Multi criteria decision making
Multi criteria decision makingMulti criteria decision making
Multi criteria decision making
Khalid Mdnoh
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
RAVI PRASAD K.J.
 

What's hot (20)

LP special cases and Duality.pptx
LP special cases and Duality.pptxLP special cases and Duality.pptx
LP special cases and Duality.pptx
 
Linear programming graphical method
Linear programming graphical methodLinear programming graphical method
Linear programming graphical method
 
6. assignment problems
6. assignment problems6. assignment problems
6. assignment problems
 
Chapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdfChapter 3.Simplex Method hand out last.pdf
Chapter 3.Simplex Method hand out last.pdf
 
Branch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear ProgrammingBranch and Bound technique to solve Integer Linear Programming
Branch and Bound technique to solve Integer Linear Programming
 
Vogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution MethodVogel's Approximation Method & Modified Distribution Method
Vogel's Approximation Method & Modified Distribution Method
 
NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING NON LINEAR PROGRAMMING
NON LINEAR PROGRAMMING
 
Operations research
Operations researchOperations research
Operations research
 
Linear programming - Model formulation, Graphical Method
Linear programming  - Model formulation, Graphical MethodLinear programming  - Model formulation, Graphical Method
Linear programming - Model formulation, Graphical Method
 
Sensitivity analysis linear programming copy
Sensitivity analysis linear programming   copySensitivity analysis linear programming   copy
Sensitivity analysis linear programming copy
 
Linear programming
Linear programmingLinear programming
Linear programming
 
Unit.4.integer programming
Unit.4.integer programmingUnit.4.integer programming
Unit.4.integer programming
 
Operations Research
Operations ResearchOperations Research
Operations Research
 
Modi method
Modi methodModi method
Modi method
 
Rsh qam11 ch03 ge
Rsh qam11 ch03 geRsh qam11 ch03 ge
Rsh qam11 ch03 ge
 
Nonlinear programming 2013
Nonlinear programming 2013Nonlinear programming 2013
Nonlinear programming 2013
 
Solution of a simplex problem using excel
Solution of a simplex problem using excelSolution of a simplex problem using excel
Solution of a simplex problem using excel
 
Linear programing
Linear programing Linear programing
Linear programing
 
Multi criteria decision making
Multi criteria decision makingMulti criteria decision making
Multi criteria decision making
 
Duality in Linear Programming Problem
Duality in Linear Programming ProblemDuality in Linear Programming Problem
Duality in Linear Programming Problem
 

Viewers also liked

Mixed Integer Programming: Analyzing 12 Years of Progress
Mixed Integer Programming: Analyzing 12 Years of ProgressMixed Integer Programming: Analyzing 12 Years of Progress
Mixed Integer Programming: Analyzing 12 Years of Progress
IBM Decision Optimization
 
Integer Programming, Gomory
Integer Programming, GomoryInteger Programming, Gomory
Integer Programming, Gomory
AVINASH JURIANI
 
Mixed Integer Linear Programming Formulation for the Taxi Sharing Problem
Mixed Integer Linear Programming Formulation for the Taxi Sharing ProblemMixed Integer Linear Programming Formulation for the Taxi Sharing Problem
Mixed Integer Linear Programming Formulation for the Taxi Sharing Problem
jfrchicanog
 
Vanet Presentation
Vanet PresentationVanet Presentation
Vanet Presentation
Sayed_Hossain
 
Introduction to VANET
Introduction to VANETIntroduction to VANET
Introduction to VANET
Akanksha Upadhyay
 
Vanet ppt
Vanet pptVanet ppt
Vanet ppt
Akash Raghunath
 

Viewers also liked (7)

Mixed Integer Programming: Analyzing 12 Years of Progress
Mixed Integer Programming: Analyzing 12 Years of ProgressMixed Integer Programming: Analyzing 12 Years of Progress
Mixed Integer Programming: Analyzing 12 Years of Progress
 
ippseminar
ippseminarippseminar
ippseminar
 
Integer Programming, Gomory
Integer Programming, GomoryInteger Programming, Gomory
Integer Programming, Gomory
 
Mixed Integer Linear Programming Formulation for the Taxi Sharing Problem
Mixed Integer Linear Programming Formulation for the Taxi Sharing ProblemMixed Integer Linear Programming Formulation for the Taxi Sharing Problem
Mixed Integer Linear Programming Formulation for the Taxi Sharing Problem
 
Vanet Presentation
Vanet PresentationVanet Presentation
Vanet Presentation
 
Introduction to VANET
Introduction to VANETIntroduction to VANET
Introduction to VANET
 
Vanet ppt
Vanet pptVanet ppt
Vanet ppt
 

Similar to beyond linear programming: mathematical programming extensions

LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
Mayurkumarpatil1
 
linearprogramming.pdf
linearprogramming.pdflinearprogramming.pdf
linearprogramming.pdf
Er. Rahul Jarariya
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdf
Tsegay Berhe
 
Bba 3274 qm week 10 integer programming
Bba 3274 qm week 10 integer programmingBba 3274 qm week 10 integer programming
Bba 3274 qm week 10 integer programming
Stephen Ong
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
Purnima Pandit
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
Tsegay Berhe
 
CH-2 Linear Programing.pptx
CH-2 Linear Programing.pptxCH-2 Linear Programing.pptx
CH-2 Linear Programing.pptx
Robiel1
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
DagnaygebawGoshme
 
Decision making
Decision makingDecision making
Decision making
Dronak Sahu
 
linear programming
linear programming linear programming
linear programming
DagnaygebawGoshme
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
RushikeshKadam71
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
2013901097
 
Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014Shakti Ranjan
 
Chapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptxChapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptx
animutsileshe1
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
DejeneDay
 
Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
Mayurkumarpatil1
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation LppSachin MK
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
Hisham Al Kurdi, EAVA, DMC-D-4K, HCCA-P, HCAA-D
 

Similar to beyond linear programming: mathematical programming extensions (20)

LinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.pptLinearProgramming-Graphicalnethod.ppt
LinearProgramming-Graphicalnethod.ppt
 
linearprogramming.pdf
linearprogramming.pdflinearprogramming.pdf
linearprogramming.pdf
 
Chapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdfChapter 4 Duality & sensitivity analysis.pdf
Chapter 4 Duality & sensitivity analysis.pdf
 
Bba 3274 qm week 10 integer programming
Bba 3274 qm week 10 integer programmingBba 3274 qm week 10 integer programming
Bba 3274 qm week 10 integer programming
 
Reference 1
Reference 1Reference 1
Reference 1
 
LPP, Duality and Game Theory
LPP, Duality and Game TheoryLPP, Duality and Game Theory
LPP, Duality and Game Theory
 
Chapter 6-INTEGER PROGRAMMING note.pdf
Chapter 6-INTEGER PROGRAMMING  note.pdfChapter 6-INTEGER PROGRAMMING  note.pdf
Chapter 6-INTEGER PROGRAMMING note.pdf
 
CH-2 Linear Programing.pptx
CH-2 Linear Programing.pptxCH-2 Linear Programing.pptx
CH-2 Linear Programing.pptx
 
Unit.2. linear programming
Unit.2. linear programmingUnit.2. linear programming
Unit.2. linear programming
 
Decision making
Decision makingDecision making
Decision making
 
linear programming
linear programming linear programming
linear programming
 
MFCS2-Module1.pptx
MFCS2-Module1.pptxMFCS2-Module1.pptx
MFCS2-Module1.pptx
 
Operation research - Chapter 01
Operation research - Chapter 01Operation research - Chapter 01
Operation research - Chapter 01
 
Vcs slides on or 2014
Vcs slides on or 2014Vcs slides on or 2014
Vcs slides on or 2014
 
Chapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptxChapter 2 Linear Programming for business (1).pptx
Chapter 2 Linear Programming for business (1).pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
chapter 2 revised.pptx
chapter 2 revised.pptxchapter 2 revised.pptx
chapter 2 revised.pptx
 
Balaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptxBalaji-opt-lecture3-sp13.pptx
Balaji-opt-lecture3-sp13.pptx
 
Formulation Lpp
Formulation  LppFormulation  Lpp
Formulation Lpp
 
Operations Research - Introduction
Operations Research - IntroductionOperations Research - Introduction
Operations Research - Introduction
 

More from Angelica Angelo Ocon

Worksampling - Methods Engineering
Worksampling - Methods EngineeringWorksampling - Methods Engineering
Worksampling - Methods EngineeringAngelica Angelo Ocon
 
Toy ship assembly - Methods Engineering
Toy ship assembly - Methods EngineeringToy ship assembly - Methods Engineering
Toy ship assembly - Methods EngineeringAngelica Angelo Ocon
 
Toy pig assembly - Methods Engineering
Toy pig assembly - Methods EngineeringToy pig assembly - Methods Engineering
Toy pig assembly - Methods EngineeringAngelica Angelo Ocon
 
Operations chart gift wrapping - Methods Engineering
Operations chart  gift wrapping - Methods EngineeringOperations chart  gift wrapping - Methods Engineering
Operations chart gift wrapping - Methods EngineeringAngelica Angelo Ocon
 
Lego blocks assembly - Methods Engineering
Lego blocks assembly - Methods EngineeringLego blocks assembly - Methods Engineering
Lego blocks assembly - Methods EngineeringAngelica Angelo Ocon
 
Flashlight assembly - Methods Engineering
Flashlight assembly - Methods EngineeringFlashlight assembly - Methods Engineering
Flashlight assembly - Methods EngineeringAngelica Angelo Ocon
 
Strategic management case study on creating a learning
Strategic management case study on creating a learningStrategic management case study on creating a learning
Strategic management case study on creating a learningAngelica Angelo Ocon
 
Strategic management case study on creating a learning (2)
Strategic management case study on creating a learning (2)Strategic management case study on creating a learning (2)
Strategic management case study on creating a learning (2)Angelica Angelo Ocon
 
International Strategy: Creating Value in Global Markets
International Strategy: Creating Value in Global MarketsInternational Strategy: Creating Value in Global Markets
International Strategy: Creating Value in Global MarketsAngelica Angelo Ocon
 

More from Angelica Angelo Ocon (20)

IT Infrastructure and Platforms
IT Infrastructure and PlatformsIT Infrastructure and Platforms
IT Infrastructure and Platforms
 
Worksampling - Methods Engineering
Worksampling - Methods EngineeringWorksampling - Methods Engineering
Worksampling - Methods Engineering
 
Toy ship assembly - Methods Engineering
Toy ship assembly - Methods EngineeringToy ship assembly - Methods Engineering
Toy ship assembly - Methods Engineering
 
Toy pig assembly - Methods Engineering
Toy pig assembly - Methods EngineeringToy pig assembly - Methods Engineering
Toy pig assembly - Methods Engineering
 
Ralph m. barnes
Ralph m. barnesRalph m. barnes
Ralph m. barnes
 
Process chart and flow diagram
Process chart  and flow diagramProcess chart  and flow diagram
Process chart and flow diagram
 
Operations chart gift wrapping - Methods Engineering
Operations chart  gift wrapping - Methods EngineeringOperations chart  gift wrapping - Methods Engineering
Operations chart gift wrapping - Methods Engineering
 
Lego blocks assembly - Methods Engineering
Lego blocks assembly - Methods EngineeringLego blocks assembly - Methods Engineering
Lego blocks assembly - Methods Engineering
 
Flashlight assembly - Methods Engineering
Flashlight assembly - Methods EngineeringFlashlight assembly - Methods Engineering
Flashlight assembly - Methods Engineering
 
Supply chain of bread
Supply chain  of breadSupply chain  of bread
Supply chain of bread
 
Supply chain of paraffin
Supply chain of paraffinSupply chain of paraffin
Supply chain of paraffin
 
Supply chain of flour
Supply chain of flourSupply chain of flour
Supply chain of flour
 
Supply chain of dairy
Supply chain of dairySupply chain of dairy
Supply chain of dairy
 
Supply chain of winery
Supply chain of winerySupply chain of winery
Supply chain of winery
 
Supply chain of paper
Supply chain of paperSupply chain of paper
Supply chain of paper
 
Supply chain of lechon
Supply chain of lechonSupply chain of lechon
Supply chain of lechon
 
The internet and e commerce
The internet and e commerceThe internet and e commerce
The internet and e commerce
 
Strategic management case study on creating a learning
Strategic management case study on creating a learningStrategic management case study on creating a learning
Strategic management case study on creating a learning
 
Strategic management case study on creating a learning (2)
Strategic management case study on creating a learning (2)Strategic management case study on creating a learning (2)
Strategic management case study on creating a learning (2)
 
International Strategy: Creating Value in Global Markets
International Strategy: Creating Value in Global MarketsInternational Strategy: Creating Value in Global Markets
International Strategy: Creating Value in Global Markets
 

beyond linear programming: mathematical programming extensions

  • 1. Beyond Linear Programming: Mathematical Programming Extensions CHAPTER 7 and 17 (on CD)  Integer Programming  Goal Programming  Non-Linear Programming ADM2302 -- Rim Jaber 1
  • 2. Learning Objectives  Formulate integer programming (IP) models.  Set up and solve IP models using Excel’s Solver.  Understand difference between general integer and binary integer variables  Understand use of binary integer variables in formulating problems involving fixed (or setup) costs.  Formulate goal programming problems and solve them using Excel’s Solver. ADM2302 -- Rim Jaber 2
  • 3. Integer Programming ADM2302 -- Rim Jaber 3
  • 4. Integer Programming (IP)  Constraints and Objective function similar to the LP model  Difference:  one or more of the decisions variables has to take on an integer value in the final solution.  Example of IP: Harison Electric Company ADM2302 -- Rim Jaber 4
  • 5. Example 1: Harison Electric Company The Harison Electric Company, located in Chicago’s old town area, Produces two products popular with home renovators: old-fashion Chandelier and ceiling fans. Both the chandeliers and fans require a two-step production process involving wiring and assembly. It takes about 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, respectively. The production capability is such that 12 hours of wiring time and 30 hours of assembly time are available. If each chandelier produced nets the firm $600 and each fan $700. Harison’s production mix decision can be formulated using LP as follows: ADM2302 -- Rim Jaber 5
  • 6. Harrison Electric Problem Maximize Profit = $ 600X1 + 700X2 Subject to 2X1 + 3X2 <= 12 (wiring hours) 6X1 + 5X2 <= 30 (assembly hours) X1, X2 >= 0 X1 = number of chandeliers produced X2 = number of ceiling fans produced ADM2302 -- Rim Jaber 6
  • 7. X2 Harrison Electric Problem 6 6X1 + 5X2 ≤ 30 5 + = possible Integer Solution 4 + Optimal LP Solution 3 (X1 = 3 3/4, X2 = 1 1/2 2 + + + Profit = $3,300) 1 + + + + 2X1 + 3X2 ≤ 12 X1 0 1 2 3 4 5 6 ADM2302 -- Rim Jaber 7
  • 8. Comments on Reaching Integer Solution  Rounding off is one way to reach integer solution values, but it often does not yield the best solution.  Problems of Rounding: ADM2302 -- Rim Jaber 8
  • 9. Integer Solution to the Harrison Electric Company Problem Chandeliers (X1) Ceiling Fans(X2) Profit: $600X1 + $700X2 0 0 $0 1 0 600 2 0 1,200 3 0 1,800 4 0 2,400 5 0 3,000 0 1 700 1 1 1,300 2 1 1,900 3 1 2,500 Solution if 4 1 3,100 rounding off is 0 2 1,400 used 1 2 2,000 2 2 2,600 Optimal Solution 3 2 3,200 to integer 0 3 2.100 Programming 1 3 2,700 9 Problem 0 4 2,800
  • 10. Comments on Reaching Integer Solution-Cont’d  An IP solution can never be better than the solution to the same LP problem. The integer problem is usually worse in terms of higher cost or lower profit.  Although enumeration is feasible for some small integer programming problems, it can be difficult or impossible for large ones. ADM2302 -- Rim Jaber 10
  • 11. Integer Programming Techniques  Cutting Plane Method  A means of adding one or more constraints to LP problems to help produce an optimum integer solution  Branch and Bound Method  An algorithm for solving all-integer and mixed- integer LP and assignment problems. It divides the set of feasible solutions into subsets that are examined systematically.  Solver uses this method ADM2302 -- Rim Jaber 11
  • 12. Formulating and Solving Spreadsheet Models for Integer Programming Problems  Similar to LP except we need to include the constraints that the decisions variables need to be integer.  Changing Cells = integer  Solver Options  Maximum Time Allowed.  Max Time option set to 100 seconds default value.  Tolerance of the Optimal Solution.  Tolerance option set at 5% default value.  Refer to “BIP.xsl” ADM2302 -- Rim Jaber 12
  • 13. Types of Integer Programming Problems  Pure Integer Programming  all variables must have integer solutions  Mixed Integer Programming  some, but not all variables have integer solutions  Binary (0-1) Integer Programming  all variables have values of 0 or 1  Mixed binary integer programming problems.  Some decision variables are binary, and other decision variables are either general integer or continuous valued. ADM2302 -- Rim Jaber 13
  • 14. Binary Integer Programming ADM2302 -- Rim Jaber 14
  • 15. Binary Integer Programming  Binary Integer Programming (BIP): the model for a BIP is identical to that for a LP problem except that the nonnegativity constraints for at least some of the variables are binary variables.  Pure PIB problem  Mixed PIB problem ADM2302 -- Rim Jaber 15
  • 16. Binary Integer Programming (Cont’d)  Binary Variables:  A variable whose only possible values are 0 or 1.  Used when dealing with yes-or-no decisions  Example 2  OR used to help formulate the model constraints and/or objective function (do not represent a yes-or-no decision)  Called “auxiliary binary variable”  Example 3  Binary (zero-one) variables are defined as 1 if an event takes place Y= 0 if an event doesn’t take place ADM2302 -- Rim Jaber 16
  • 17. BIP: Example 2 -- Employee Scheduling Application The Department head of a management science department at a major Midwestern university will be scheduling faculty to teach courses during the coming autumn term. Four core courses need to be covered. The four courses are at the UG, MBA, MS, and Ph.D. levels. Four professors will be assigned to the courses, with each professor receiving one of the courses. Student evaluations of professors are available from previous terms. Based on a rating scale of 4 (excellent), 3 (very good), 2 (average), 1(fair), and 0(poor), the average student evaluations for each professor are shown: Jaber 17 ADM2302 -- Rim
  • 18. Professor D does not have a Ph.D. and cannot be assigned to teach the Ph.D.-level course. If the department head makes teaching assignments based on maximizing the student evaluation ratings over all four courses, what staffing assignments should be made? Course Professor UG MBA MS Ph.D. A 2.8 2.2 3.3 3.0 B 3.2 3.0 3.6 3.6 C 3.3 3.2 3.5 3.5 D 3.2 2.8 2.5 - ADM2302 -- Rim Jaber 18
  • 19. BIP Example 2: Solution  Excel Solution: “BIP.xsl” ADM2302 -- Rim Jaber 19
  • 20. Example 3 The Research and Development Division of the Progressive Company has been developing four possible new product lines. Management must now make a decision as to which of these Four products actually will be produced and at what levels. Therefore, a management science study has been requested to Find the most profitable product mix. A substantial cost is associated with beginning the production Of any product, as given in the first row of the following table. Management’s objective is to find the product mix that maximizes 20 The total profit (total net revenue minus start up costs).
  • 21. Product 1 2 3 4 Start-up-cost $50,000 $40,000 $70,000 $60,000 Marginal revenue $70 $60 $90 $80 Maximum Production 1000 3000 2000 1000 Let the Integer decisions variables x1, x2, x3, and x4 be the total number of units produced of products 1, 2, 3 and 4, respectively. Management has imposed the following policy constraints on these variables: ADM2302 -- Rim Jaber 21
  • 22.  No more than two of the products can be produced  If product 3 or 4 is produced then product 1 or 2 must be produced  Either 5x1+3x2+6x3+4x4 <= 6,000 Or Either 4x1+6x2+3x3+5x4 <= 6,000 Use Auxiliary binary variables to formulate and solve the mixed BIP model. ADM2302 -- Rim Jaber 22
  • 23. No more than two of the products can be produced  Yi = 1 if product i is produced 0 if product i is not produced  Y1 + Y2 + Y3 + Y4 <= 2  Extension of the Mutually Exclusive Alternatives Constraints  Mutually exclusive constraint is a constraint requiring that the sum of two or more binary variables be less than or equal to 1. Thus if one of the variables is equal to 1 , the others must equal zero. ADM2302 -- Rim Jaber 23
  • 24. If product 3 or 4 is produced then product 1 or 2 must be produced  Contingent Decision (Conditional Decision) : It can be yes only if a certain other yes-or-no decision is yes.  Y3 <= Y1 + Y2 Y 4 <= Y1 + Y2  Contingency Constraints: it involves binary variables that do not allow certain variables to equal 1 unless certain other variables are equal to 1 ADM2302 -- Rim Jaber 24
  • 25. Either 5x1+3x2+6x3+4x4 <= 6,000 Or Either 4x1+6x2+3x3+5x4 <= 6,000  Either-or constraints are not allowed in Linear or Integer Programming  A pair of constraints such that either one can be chosen to be observed and then the other one would be ignored  Use binary variables to reformulate this model into a standard format, in order to be able to find the optimal solution.  Y= 0 if 5x1+3x2+6x3+4x4 <= 6,000 must hold Or 1 if 4x1+6x2+3x3+5x4 <= 6,000 must hold  5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y 4x1+6x2+3x3+5x4 <= 6,000 + 1,000,000(1-Y) ADM2302 -- Rim Jaber 25
  • 26. Production Cost: Setup Costs (=Start-up Costs) + Variable Costs Objective function Max Z = $70x1 + 60x2 + 90x3 +80x4 -  We need to subtract from this expression each setup cost if the corresponding product will be produced, but we should not subtract the setup cost if the product will not be produced. ADM2302 -- Rim Jaber 26
  • 27. Setup Costs (cont’d)  Y1 = 1 if x1 is produced 0 if x1 is not produced  Y2 = 1 if x2 is produced 0 if x2 is not produced  Y3 = 1 if x3 is produced 0 if x3 is not produced  Y4 = 1 if x4 is produced 0 if x4 is not produced 27
  • 28. Objective Function for the Model  The total Start-up Cost is: $50,000Y1 + $40,000Y2 + $70,000Y3 + $60,000Y4  Max Z = $70x1 + $60x2 + $90x3 +$80x4 - $50,000Y1 - $40,000Y2 - $70,000Y3 - $60,000Y4  Constraints: x1 <= 1000Y1 x2 <= 3000 Y2 x3 <= 2000 Y3 x4 <= 1000 Y4 ADM2302 -- Rim Jaber 28
  • 29. The Mixed BIP Model Summary Max Z = $70x1 + $60x2 + $90x3 +$80x4 - $50,000Y1 - $40,000Y2 - $70,000Y3 - $60,000Y4 Subject to Y1 + Y2 + Y3 + Y4 <= 2 Y3 <= Y1 + Y2 Y 4 <= Y1 + Y2 5x1+3x2+6x3+4x4 <= 6,000 + 1,000,000Y 4x1+6x2+3x3+5x4 <= 6,000 + 1,000,00(1-Y) x1 <= 1000Y1 x2 <= 3000Y2 x3 <= 2000Y3 x4 <= 1000Y4 x1, x2, x3, x4 >= 0 and integer; Y,Y1,Y2,Y3,Y4 = 0, 1
  • 30. Summary Integer LP models have variety of applications including:  capital budgeting problems (individual projects are represented as binary variables)  facilities location problems (selecting a location is represented as a binary variable)  airline crew scheduling problems (assigning crew to a particular flight is represented as a binary variable)  knapsack problems (loading an item into a container is represented as a binary variable) ADM2302 -- Rim Jaber 30