Module 1a v3
Module 1a v3
Also, if you want to use given parameters such as the following unit production cost table:
Period 1 2 3 4 5 6
Unit Cost 4.20 5.10 6.00 5.40 4.80 4.20
you can denote the parameters using 𝑐𝑗 = unit cost for period 𝑗, 𝑗 = 1, 2, …, 6. If 𝑥𝑗 represents number of units
produced in period 𝑗, total production cost can then be written using summation notation: ∑𝑗 𝑐𝑗 𝑥𝑗 .
Resource capacities and demand requirements can also be dealt with in this manner.
• For inventory problems, consider using 𝐼𝑖 = level of inventory at the beginning or end of period 𝑖
• For capital budgeting problems, consider using 𝐶𝑖 = cash/capital on hand at the beginning or end of
period 𝑖
• Then use relationships to define these variables, like (note: dependent on problem):
• 𝐼2 = 𝐼1 + production level in period 1 − demand in period 1
• 𝐶2 = 𝐶1 − cash outflow in period 1 + cash inflow in period 1
• Such relationships are called recurrence relations. These will appear again when you
encounter other optimization algorithms for multiple-period problems.
Remark: if 𝑥𝑖 is URS for multiple values of 𝑖, then create a pair of 𝑥𝑖+ and 𝑥𝑖− for each such 𝑖.
4. Surplus and Deficit
You will sometimes be interested in how much a certain quantity or function 𝑓(𝑥1 , 𝑥2 , … , 𝑥𝑛 ) is greater than,
or less than, a certain “target value” (e.g. is current inventory greater than 25 so holding cost is incurred, or
is it less than 25 so shortage cost will be incurred).
One possible strategy in this situation is to define the auxiliary variables 𝑠 (surplus) and 𝑑 (deficit), and then
form the constraint 𝑓(𝑥1 , 𝑥2 , … , 𝑥𝑛 ) − 𝑠 + 𝑑 = 25 (target value). We must, however, ensure that an
appropriate incentive or penalty is present in the objective function so that the correct pair of (𝑠, 𝑑) will be
chosen – the pair where at least one of 𝑠 or 𝑑 will be set to zero, and the nonzero variable will isolate the
surplus or deficit, respectively, of 𝑓(𝑥1 , 𝑥2 , … , 𝑥𝑛 ) from the target value.
Remarks: feel free to use subscripts 𝑠𝑖 and 𝑑𝑖 in case you need to use this strategy on multiple quantities
2. Finco Investment Corporation must determine investment strategy for the firm during the next three
years. Currently, $100000 is available for investment. Investments A, B, C, D, and E are available. The cash
flow associated with investing $1 in each investment is given in the following table:
For example, $1 is invested in investment B requires a $1 cash outflow at time 1, returns 50¢ at time 2, and
returns $1 at time 3. To ensure that the company’s portfolio is diversified, Finco requires that at most $75000
be placed at any single investment. In addition to investments A to E, Finco can earn interest at 8% per year
by keeping uninvested cash in money market funds.
Furthermore, returns from investments may be immediately reinvested. For example, the positive cash flow
received from investment C at time 1 may immediately be reinvested in investment B. Finco cannot borrow
funds, so that cash available for investment at any time is limited to cash on hand. Formulate an LP that will
maximize cash on hand at the end of time 3.
• 4𝑥1 + 𝑥2 ≤ 4
• 2𝑥1 − 𝑥2 ≤ 0.5
• 𝑥1 , 𝑥2 ≥ 0
Reformulate the objective appropriately in order to deal with the absolute value function. Afterwards, solve
the problem using any preferred algorithm. Check that your solution (values of decision variables and
optimal 𝑍 value) are consistent with your formulation.
4. Steelco’s main plant currently has a steel manufacturing area and shipping area. The locations of these
areas can be modeled on a coordinate plane, with coordinates (700, 600) and (1000, 0), respectively, relative
to some origin point (distances are in feet). The company must determine where to locate a casting facility
and an assembly and storage facility to minimize the daily cost of moving material through the plant. The
number of trips to be made each day are shown in the following table:
Cost (¢) per 100 feet
From To Daily # of Trips
Traveled
Casting Assembly and storage 40 10
Steel manufacturing Casting 8 10
Steel manufacturing Assembly and storage 8 10
Shipping Assembly and storage 2 20
Assuming that all travel is in only an east-west or north-south direction, formulate an LP to determine where
to place the casting facility and the assembly and storage facility in order to minimize daily transportation
costs.