Introduction To Optimization MS&E 111/MS&E 211/ENGR 62 HW2 Course Instructor: Ashish Goel
Introduction To Optimization MS&E 111/MS&E 211/ENGR 62 HW2 Course Instructor: Ashish Goel
Introduction To Optimization MS&E 111/MS&E 211/ENGR 62 HW2 Course Instructor: Ashish Goel
Introduction to Optimization
MS&E 111/MS&E 211/ENGR 62 HW2
Course Instructor: Ashish Goel
1. If a contingent claims market has an arbitrage opportunity, then there must be two portfolios with
the same payoff but different prices.
2. In the pattern classification problem, there always exists a feasible solution for the problem of
minimizing the total violation.
Short Questions
You will receive 5 points if you state whether the statement is true or false correctly, 5 points if you
provide correct explanation, and -5 points if you answer it incorrectly (with or without explanation). If
the net score on this question is negative, we will make it up to zero.
1. Is it possible for a linear program to have exactly two basic feasible solutions?
2. Consider the linear program
maximize cx
subject to Ax = b
x ≥ 0.
1
MS&E 111/MS&E 211/ENGR 62
Long Questions
1. Alice and Bob have $200, 000 in their Investment Retirement Account(IRA) which they need to
withdraw over three years. Funds in their IRA earn an annual 10% rate of return and do not get
taxed while they are in the IRA. Unfortunately, (for Alice and Bob), withdrawls from their IRA
get taxed as income. Alice and Bob would like to maximize the total after tax income over three
years. Assume they have an additional fixed income of $30, 000 each year from social security (this
$30, 000 is not deposited into the IRA. Instead it is treated as an income which will
taxed). Also assume that their tax rate is 0% for the first $40, 000, 10% for the next $40, 000, and
25% thereafter e.g. for $90, 000 the amount of tax is .1 × 40, 000 + .25 × 10, 000. Assume that IRA
withdrawals are made at the beginning and social security is also received in the beginning. Note
that all the money will be withdrawn at the beginning of the third year.
Formulate this problem as an LP.
2. You plan to buy stocks (no shorting is allowed). There are two stocks you are interested in
purchasing: stock A and B. They both cost $10 per unit. You have $1000 which you wish to
completely invest. You believe that there are three possible prices for the shares in one year as
given in the table below.
Formulate this problem as a linear program to maximize the worst case value of your portfolio in
a year.
minimize bT · y
subject to:
Ay ≥ c
y ≥ 0.
More specifically, write down the dimensions of b, A, y, and c, and clearly explain what the
components of these matrices/vectors correspond to in this problem.
(b) How many different food items could be present in the optimal package obtained by solving
this linear program using a typical commercial linear programming solver (eg. Excel)? Explain
briefly. Assume that the LP has a basic feasible solution as well as an optimum solution.
5. Consider a directed graph with the set of nodes V and the set of edges E where c(v, w) is the cost
of edge (v, w). Suppose that a graph has one source node s and two possible destination nodes t1
and t2 . Your goal is to find the shortest path starting at s and going to either t1 or t2 .
2
MS&E 111/MS&E 211/ENGR 62
(a) How will you rewrite this as a standard shortest path problem with a single source and a
single destination? Note that we are not looking for an LP formulation.
(b) Consider the following network. Let the numbers on the edges represent the cost of traversing
that edge. Your goal is to find the shortest path starting at s and ending at either p or w.
Formulate this as a standard shortest path problem by drawing the new graph, specifying the
source and the destination, and the edge costs. Do not solve the problem.
6. (Extra Credit*) Suppose that we have N different currencies (e.g., US Dollars, Euros, etc.). For
each pair of currencies, (i, j), one unit of currency i can be exchanged into rij units of currency j.
We wish to find an arbitrage opportunity if it exists, i.e. a sequential series of currency trades that
allows us to make a profit with no risk. Formulate this as a min-cost flow problem and provide an
LP with a bounded feasible polytope which solves it. Assume no transaction costs.