Professional Documents
Culture Documents
MSCI222-IP1
MSCI222-IP1
MSCI222-IP1
Burak Boyacı
Department of Management Science
History of Integer Programming
• G.B. Dantzig introduced the simplex
method for linear programming in 1947.
• It rapidly became popular and Dantzig
wrote a book in 1956 about it.1
• Non-linear programming emerged shortly
after with a major landmark paper
published in 1952 by Harry Markowitz on
portfolio selection.2
• A few years later people began to realise
that it often makes sense for decision
variables to take integer (whole number)
values.3
1 Linear inequalities and related systems. George Dantzig et. al. Edited by H.W. Kuhn and A.W. Tucker. Princeton University Press.
2 Markowitz, H. (1952), PORTFOLIO SELECTION*. The Journal of Finance, 7: 77-91. https://doi.org/10.1111/j.1540-6261.1952.tb01525.x.
3 Dantzig, George B. “On the Significance of Solving Linear Programming Problems with Some Integer Variables.” Econometrica, vol. 28, no. 1,
[Wiley, Econometric Society], 1960, pp. 30–44, https://doi.org/10.2307/1905292.
MSCI222 - IP (1) - Introduction and
Slide 2
Modelling
Integer-Constrained Variables
• In some cases, it is obvious that certain decision variables should be
integer-constrained:
– Number of items produced
– Number of components used
– Number of trucks, planes, machines, workers, etc. bought, used, assigned or
hired.
• However, there are many situations that binary (0-1) variables would
be useful.
• Terminology:
– An Integer Linear Program (ILP) is like an LP with all variables required to be
integers.
– A Zero-One Linear Program (0-1LP) or a Binary Integer Program (BIP) is like
an LP with all variables required to be binary.
– A Mixed Integer Linear Program (MILP) is like an LP with mixture of integer
(including binary) and continuous variables.
MSCI222 - IP (1) - Introduction and
Slide 3
Modelling
Modelling with Binary Variables
• Binary variables are restricted to take either 0 or 1.
• They can be used to model “logical conditions”:
– 1 means something is true
– 0 means something is false
• We seen binary variables in assignment problem:
– : 1 if machine is assigned to job ; 0 otherwise
• But they can be used much more widely that
allows to model complex problems with linear
programming models.
• means select at most 1 element of (e.g. choose at most one very high risk
investment in your portfolio)
• We can make the RHS of these constraints for any constant k too.
– (at least elements)
– (at most elements)
– (exactly elements)
(5) z happens only if x and y happens (z=1 only if x=1 and y=1)
(7) z happens only if either x or y happens (not both) (z=1 only if x=1, y=0 or x=0,
y=1) MSCI222 - IP (1) - Introduction and
Slide 8
Modelling
Example 3: Capital Budgeting
Spencer Enterprises must choose among a series of new investment alternatives. Each project is
summarised with their net present value and capital requirements for each year below. If they
cannot partially invest to any options, what should be their investment plan maximising their
total net present value while satisfying the capital requirements.
Alternative Net Present Year 1 Requirement Year 2 Requirement Year 3 Requirement
Value (M$) (M$) (M$) (M$)
1 4 3 1 4
2 6 2.5 3.5 3.5
3 10.5 6 4 5
4 4 2 1.5 1.8
5 8 5 1 4
6 3 1 0.5 0.9
Funds Available ($) 10.5 7 8.75
Management also stated that we should not consider making more than 175 units of
product 1, 150 units of product 2 and 140 units of product 3. Write a mathematical
model that maximises the total net profit of the company while satisfying all the
production and sales constraints. If the company wants to produce at most two of
these products, how can this restriction be added to the mathematical model?
An Introduction to Management Science: Quantitative Approaches to Decision Making 14e, page 352 Exercise 11
for all
– If there is a fixed cost and a variable cost (proportional to value of ) , then can
be addedMSCI222
regarded as the total cost.
- IP (1) - Introduction and
Slide 13
Modelling
(6) Cardinality Constraints
• Suppose are all non-negative continuous variables, and we want no more
than of them to take positive values.
• This kind of constraints are called cardinality constraints.
• Cardinality constraints arise frequently in finance (e.g. portfolio
optimisation) and statistics (e.g. best-subset regression).
An Introduction to Management Science: Quantitative Approaches to Decision Making 14e, page 359-360, Exercise 24