10.0 Integer - Goal - and - NonLinear - Programming
10.0 Integer - Goal - and - NonLinear - Programming
PROFESSIONAL STUDIES
Table of Contents
Learning Objectives 3
Introduction 3
Integer Programming 3
Using Software to Solve Integer Programming Problem 5
Mixed-Integer Programming Problem 6
Using Software for Mixed-Integer Programming Problem Example 7
Modeling with 0-1 (Binary) Variables 8
Capital Budgeting 8
Limiting the Number of Alternatives Selected 9
Dependent Selections 10
Fixed-Charge Problems 10
Financial Investment 11
Goal Programming 12
Extension to Equally Important Multiple Goals 13
Ranking Goals with Priority Levels 14
Goal Programming with Weighted Goals 14
Using QM for Windows to Solve Goal Programming Problem 15
Nonlinear Programming 15
Nonlinear Objective Function and Linear Constraints 16
Linear Objective Function and Nonlinear Constraints 17
References 19
2
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Learning Objectives
Introduction
• Not every problem faced by businesses can easily fit into a neat linear programming
context.
• Many business problems can be solved only if variables have integer values.
• Many business problems have multiple objectives, and goal programming is an
extension to LP that can permit multiple objectives
• Linear programming requires linear models, and nonlinear programming allows
objectives and constraints to be nonlinear.
Integer Programming
• An integer programming model is one where 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 integer programming where all variables have integer values.
2. Mixed-integer programming where some but not all the variables will have
integer values.
3. Zero-one integer programming are special cases in which all the decision
variables must have integer solution values of 0 or 1.
Illustrative Example
• The Company produces two products popular with home renovators, old-fashioned
chandeliers, 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 only 12 hours of wiring time and 30 hours of
assembly time are available.
• Each chandelier produced nets the firm $7 and each fan $6.
• Harrison’s production mix decision can be formulated using LP as follows:
Maximize profit = $7X1 + $6X2
subject to 2X1 + 3X2 ≤ 12 (wiring hours)
6X1 + 5X2 ≤ 30 (assembly hours)
X1, X2 ≥ 0 (nonnegativity)
3
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Where:
X1 = number of chandeliers produced
X2 = number of ceiling fans produced
4
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
2 1 20
3 1 27
4 1 34
0 2 12
1 2 19
2 2 26
3 2 33
0 3 18
1 3 25
0 4 24
5
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
6
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
7
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• We can demonstrate how 0-1 variables can be used to model several diverse
situations.
• Typically a 0-1 variable is assigned a value of 0 if a certain condition is not met and
a 1 if the condition is met.
• This is also called a binary variable.
Capital Budgeting
• A common capital budgeting problem is selecting from a set of possible projects
when budget limitations make it impossible to select them all.
• A 0-1 variable is defined for each project.
• Quemo Chemical Company is considering three possible improvement projects for
its plant:
o A new catalytic converter.
o A new software program for controlling operations.
o Expanding the storage warehouse.
• It cannot do them all
• It wants to maximize net present value of projects undertaken.
Illustrative Example
8
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• This is solved with computer software, and the optimal solution is X1 = 1, X2 = 0, and
X3 = 1 with an objective function value of 57,000.
• This means that Quemo Chemical should fund the catalytic converter and
warehouse expansion projects only.
• The net present value of these investments will be $57,000.
9
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Dependent Selections
• At times the selection of one project depends on the selection of another project.
• Suppose Quemo’s catalytic converter could only be purchased if the software was
purchased.
• The following constraint would force this to occur:
X1 ≤ X2 or X1 – X2 ≤ 0
• If we wished for the catalytic converter and software projects to either both be
selected or both not be selected, the constraint would be:
X1 = X2 or X1 – X2 = 0
Fixed-Charge Problems
Often businesses are faced with decisions involving a fixed charge that will affect
the cost of future operations.
Illustrative Example
• Sitka Manufacturing is planning to build at least one new plant and three cities are
being considered in:
o Baytown, Texas
o Lake Charles, Louisiana
o Mobile, Alabama
• Once the plant or plants are built, the company wants to have capacity to produce
at least 38,000 units each year.
• Fixed and variable costs for Sitka Manufacturing
SITE ANNUAL VARIABLE ANNUAL
FIXED COST PER CAPACITY
COST UNIT
Baytown, TX $340,000 $32 21,000
Lake Charles, $270,000 $33 20,000
LA
Mobile, AL $290,000 $30 19,000
Define the decision variables as:
X1 = { 1 if factor is built in Baytown
0 otherwise
X2 = { 1 factory is built in Lake Charles
0 otherwise
X3 = { 1 if 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
10
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Financial Investment
Illustrative Example
• Simkin, Simkin, and Steinberg specialize in recommending oil stock portfolios for
wealthy clients.
• One client has the following specifications:
o At least two Texas firms must be in the portfolio.
o No more than one investment can be made in a foreign oil company.
o One of the two California oil stocks must be purchased.
• The client has $3 million to invest and wants to buy large blocks of shares.
• Below is the table for Simkin, Simkin, and Steinberg’s Oil Investment Opportunities
COMPANY EXPECTED ANNUAL COST FOR BLOCK OF
STOCK
NAME RETURN ($1,000s) SHARES ($1,000s)
1 Trans-Texas Oil 50 480
2 British Petroleum 80 540
3 Dutch Shell 90 680
11
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Goal Programming
12
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• The main difference is in the objective function where goal programming tries to
minimize the deviations between goals and what we can actually achieve within the
given constraints.
• Harrison is moving to a new location and feels that maximizing profit is not a realistic
objective.
• Management sets a profit level of $30 that would be satisfactory during this period.
• The goal programming problem is to find the production mix that achieves this goal
as closely as possible given the production time constraints.
• We need to define two deviational variables:
o d1 – = underachievement of the profit target
o d1+ = overachievement of the profit target
• We can now state the Harrison Electric problem as a single-goal programming
model:
Minimize under or overachievement of profit target = d1– + d1+
Subject to $7X1 + $6X2 + d1– – d1+ = $30 (profit goal constraint)
2X1 + 3X2 ≤ 12 (wiring hours)
6X1 + 5X2 ≤ 30 (assembly hours)
–
X1, X2, d1 , d1 ≥ 0
+
13
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
Because management is unconcerned about d1+, d2+, d3–, and d4+ these may be
omitted from the objective function.
• The new objective function and constraints are:
Minimize total deviation = d1– + d2– + d3+ + d4–
subject to 7X1 + 6X2 + d1– – d1+ = 30 (profit constraint)
–
2X1 + 3X2 + d2 – d2 +
= 12 (wiring hours)
–
6X1 + 5X2 + d3 – d3 +
= 30 (assembly hours)
X2 + d4– – d4+ = 7 (ceiling fan
constraint)
All Xi, di variables ≥ 0
• In most goal programming problems, one goal will be more important than another,
which will in turn be more important than a third.
• Higher-order goals are satisfied before lower-order goals.
• Priorities (Pi’s) are assigned to each deviational variable with the ranking so that P1
is the most important goal, P2 the next most important, P3 the third, and so on.
• Harrison Electric has set the following priorities for their four goals:
GOAL PRIORITY
Reach a profit as much above $30 as P1
possible
Fully use wiring department hours P2
available
Avoid assembly department overtime P3
Produce at least seven ceiling fans P4
• This effectively means that each goal is infinitely more important than the next lower
goal.
• With the ranking of goals considered, the new objective function is:
Minimize total deviation = P1d1– + P2d2– + P3d3+ + P4d4–
• Constraints remain identical to the previous formulation.
• Normally priority levels in goal programming assume that each level is infinitely more
important than the level below it.
• Sometimes a goal may be only two or three times more important than another.
14
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• Instead of placing these goals on different levels, we place them on the same level
but with different weights.
• The coefficients of the deviation variables in the objective function include both the
priority level and the weight.
• Suppose Harrison decides to add another goal of producing at least two chandeliers.
• The goal of producing seven ceiling fans is considered twice as important as this
goal.
• The goal of two chandeliers is assigned a weight of 1 and the goal of seven ceiling
fans is assigned a weight of 2 and both will be priority level 4.
• The new constraint and objective function are:
X1 + d5– – d5+ = 2 (chandeliers)
Minimize = P1d1– + P2d2– + P3d3+ + P4(2d4–) + P4d5–
Summary Screen for Harrison Electric’s Goal Programming Analysis Using QM for
Windows
Nonlinear Programming
• The methods seen so far have assumed that the objective function and constraints
are linear.
• Terms such as X13, 1/X2, log X3, or 5X1X2 are not allowed.
15
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• But there are many nonlinear relationships in the real world that would require the
objective function, constraint equations, or both to be nonlinear.
• Excel can be used to solve these nonlinear programming (NLP) problems.
• One disadvantage of NLP is that the solution yielded may only be a local optimum,
rather than a global optimum.
o In other words, it may be an optimum over a particular range, but not overall.
16
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• Thermlock Corp. produces massive rubber washers and gaskets like the type used
to seal joints on the NASA Space Shuttles.
• It combines two ingredients, rubber (X1) and oil (X2).
17
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
• The cost of the industrial quality rubber is $5 per pound and the cost of high
viscosity oil is $7 per pound.
• Two of the three constraints are nonlinear.
• The firm’s objective function and constraints are:
Minimize costs = $5X1 + $7X2
subject to 3X1 + 0.25X12 + 4X2 + 0.3X22 ≥ 125 (hardness constraint)
13X1 + X13 ≥ 80 (tensile strength)
0.7X1 + X2 ≥ 17 (elasticity)
18
Integer, Goal, and Non-Linear Programming
BA201 Quantitative Analysis and Statistics
University of Bohol Graduate School and Professional Studies
References
Render, B., Stair Jr, R., Hanna, M., & Hale, T. (2018). Quantitative Analysis for
Management. Pearson Education Limited.
Render, B., Stair, R., & Hanna, M. (2012). Quantitative Analysis for Management,
Eleventh Edition. New Jersey: Pearson Education Inc.
19