Professional Documents
Culture Documents
Autonomous work:
Exercises about
linear programming
Patrick Meyer
& Mehrdad Mohammadi
IMT Atlantique
Part 1 : Linear Programming
A few formulation and resolution exercises
Blueberry makes quarterly decisions about their product mix. We consider that they
produce notebook computers and desktop computers.
There are a number of limits on what Blueberry can produce. The major constraints
are as follows :
- Each computer (either notebook or desktop) requires a Processing Chip. Due to
tightness in the market, the supplier has allocated 10,000 such chips to
Blueberry ;
- Each computer requires memory. Memory comes in 4 GB chip sets. A notebook
computer has 4 GB memory installed (so needs 1 chip set) while a desktop
computer has 8 GB (so requires 2 chip sets). Blueberry has a stock of 15,000
chip sets to use over the next quarter ;
- Each computer requires assembly time. Due to tight tolerances, a notebook
computer takes more time to assemble : 4 minutes versus 3 minutes for a
desktop. There are 25,000 minutes of assembly time available in the next quarter.
Given the current market conditions, material cost, and the production
system, each notebook computer produced generates 750 USD profit,
and each desktop produces 1000 USD profit.
How many of each type computer should Blueberry produce in the
next quarter in order to maximize its profit ?
- Objective :
- max 750x1 + 1000x2
- Summary of the LP :
Observation : the
processing chips constraint
is useless !
- Optimal solution in
x1 = 1 and x2 = 7 ;
- Decision variables :
- x11 ≥ 0 number of cases to be shipped from I to A
- x12 ≥ 0 number of cases to be shipped from I to B
- x13 ≥ 0 number of cases to be shipped from I to C
- x21 ≥ 0 number of cases to be shipped from II to A
- x22 ≥ 0 number of cases to be shipped from II to B
- x23 ≥ 0 number of cases to be shipped from II to C
min 225·x11+153·x12+162·x13+225·x21+162·x22+126·x23
- Each food can only be served a certain number of times per day ;
- What is the least cost satisfactory diet ?
- Give only the formulation as a LP.
- Objective :
- minimize cost ;
- min 3x1 + 24x2 + 13x3 + 9x4 + 20x5 + 19x6 .
- Every worker works five consecutive days, and then takes two
days off, repeating this pattern indefinitely ;
- Constraints :
- Who works on Monday ? Those who start their shift on Monday,
Thursday, Friday, Saturday, Sunday ;
- x1 + x4 + x5 + x6 + x7 ≥ 14
- ...
- Objective :
- max 9x1 + 12x2 + 15x3 + 8x4 + 6x5 + 3xs
- Commercial loans :
x4 ≥ 0.2(x1 + x2 + x3 + x4 + x5 )
x1 + x2 + x3 + x4 + x5 + xs ≤ 10.000.000
- Nonnegativity constraints.
X Exercises
X Model decision problems as linear programs
X Solve certain of them graphically
- Case study
Read about the two topics
Watch videos
Decide which of the two topics you would like to study