[SOLVED] E880 Problem Set 4

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon PS4-gd6l0y.zip (329.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
Rate this product

Reference: Chapter 4 and notes

1. DoExercise4.1

Econ 880: Problem Set 4

Limit attention to the following three methods.
1.b Steepest descent with line search. You can use fminsearch to find λ.
1.d Conjugate gradient based on steepest descent. You can use fminsearch to find λ.

To see which method does well, try different starting values, and try to find cases that lead to correct solution under some method(s) but not other(s). Specifically, try starting from (0,0), (-1,-1) and (-1,2), and report (x k , y k ) for the first 5 iterations.

You do not need to plot the function, but if you want to have a look at it, the command are countour() for contour plot, and mesh() for 3D plot.

1

1. DoExercise4.2
Solve the problem for m = n = 3 using: (A) Penalty method, (B ) Matlab’s fmincon.

The preference parameters are:
ai = 1

ai = 0.2;aN =0.2 i+1 1

a ij = 0 in all other cases vji = 0.5

The weights are equal for all: λi = 1. Endowments are equally distributed: e ji = n1 . The constraints include the market clearing:

and non-negativity: x ji ≥ 0.

Ni=1xji ≤Ni=1 eji,

j =1,…,M

2

  • PS4-gd6l0y.zip