Problem 1 (30%) The Mean Value Theorem
a) Example A.2: page=650
We have , where and . It is then easy to verify that and .Mean Value Theorem
For a function , and any vector we have
for some .
Link to original
We then find the Gradient of
Which allows us to calculate
We can then calculate the Mean Value Theorem
Giving us which is in the range .
b) Lipschitz Continuity Given , its derivative is equal to .
From the definition of Lipschitz Continuity
Link to originalWe see that . This means that there exists no constant Lipschitz constant, , such that
In a small small neighborhood around .
Therefore, is not Lipschitz continuous.
Problem 2 (25%) LP and KKT-conditions (Exam August 2000)
Given the following LP in standard form
Link to originalWhere and
We can derive the KKT (Karush–Kuhn–Tucker) Conditions conditions
Link to original
Stationary First we find the Lagrangian
Where is the multiplier for the equality constraint, and is the multiplier for the inequality constraint. We then find the gradient of the Lagrangian when it is equal to zero
Which we can write as
Primal Feasibility
Dual Feasibility
Complementary Condition
Problem 3 (45%) Linear Programming
Standard form for LP problem is
Link to originala) We want to maximize profit
And can rewrite this into a minimization problem
With the following constraints
And naturally , as we can’t produce “negative” product.
This gives us the following matrices we can use in the standard form for a LP problem
b) Basic Feasible Point (BFP) We have two rows () and three columns () in . The index set is therefore , and the basis contains indices.
The idea for finding a basic feasible point is trying to optimize for n variables (setting the rest to zero), and solving the resulting equation set.
We have that
- , which is the same as setting This gives , and it follows that
Which gives us .
-
, which is the same as setting This gives , and solved similarly we get .
-
, which is the same as setting This gives us , and solved similarly we get .
Setting gives us an infeasible point, since , while the points we get setting and gives us basic feasible points.
c) We remember the KKT (Karush–Kuhn–Tucker) Conditions
Link to original
We start by checking the point . We can skip a few steps of calculations by using information found in problem 2
From the complementary condition we have
Giving us
From the stationary condition we have
Solving this in WolframAlpha gives us
Since , dual feasibility is not fulfilled, and KKT do not hold. This point is therefore not the solution.
We then check the point similarly. This gives , and the stationary condition gives us
Giving us
Since , the dual feasibility condition is satisfied, and all KKT conditions holds.
Solution
The solution to the problem is therefore , and the function value at this point is . For the original problem, this means a profit of (since we made this into a minimization problem instead of the maximization problem originally given)
d) The Dual LP Problem The given LP problem is already on standard form, therefore the dual problem is given by (same , , , and )
Link to originalwhere and .
e)
Using the first KKT condition
The equality constraint at
And the last condition
From equation 1
c^Tx^* &= (A^T\lambda^*+s^*)^Tx^* \\ &=\lambda^{*T}Ax^*+s ^{*T}x^* \\ &=\lambda^{*T}b+0 \\ &=b^T\lambda^*, \;\;\; \text{Q.E.D} \end{align}The last line is legal since it will be the same scalar operations
f) Sensitivity
The multiplier for is , and the multiplier for is . Since . We will therefore see a bigger increase by increasing the capacity of compared to .Sensitivity
Given
Link to originalWhere we do a small perturbation in , then the new solution fulfillsWhere and are optimal solution and corresponding Lagrangian.
Link to original
Using the linprog
function in Matlab (similar to Matlab Assignment 1) gives the following values for different
Which confirms the theory.