Perform two iterations of the gradient descent algorithm

Assignment Help Engineering Mathematics
Reference no: EM133715628

Question 1 Consider the system of linear equations

x - y = 2,

kx - y = k.

a. Reduce the augmented matrix for this system to row-echelon (or upper-triangular) form. (You do not need to make the leading nonzero entries 1.)
b. Find the values of k (if any) when the system has
(i) No solution.
(ii) Exactly one solution (if this is possible, find the solution in terms of k).
(iii) Infinitely many solutions (if this is possible, find the solutions).

Question 2

Consider the following constrained optimization problem. We will solve it using analytical methods, explicitly employing the Karush-Kuhn-Tucker(KKT) approach.

minimize f(x1, x2) = x1 + 2x22 - x1x2 - x1 - x2,

subject to

2x1 + x2 ≤ 1.

(i) State the KKT conditions for this problem. Use KKT conditions:  ∇f (x) + λ∇g(x) = 0, λg(x) = 0 and λ ≥ 0.
(ii) Determine KKT points, if they exist.

Question 3

Consider the problem introduced in Question 2.

minimize f(x1, x2) = x1 + 2x2 - x1x2 - x1 - x2,

subject to

2x1 + x2 ≤ 1.

(i) Express the Lagrangian function of the problem in the form

L(x. λ) = f(x) + λg(x), where λ = 3/11.

(ii) Identify the critical points by setting the gradient equal to zero.
(iii) Apply the second derivative test using the Hessian of L(x, λ) to classify the critical points.
(iv) Compare the optimal solution obtained in Question 2 and comment on the comparison.

Question 4

We will now apply a numerical technique to solve the problem

minimize f (x1, x2) = x12 +2x22 -x1x2 -x1 - x2,
subject to

2X1 + X2 ≤ 1.

Specifically, we will utilize the gradient descent method to optimize the function

L(x, λ) = x12 + 2x22 - x1x2 - x1 - x2 + 3/11(2x1 + x2 - 1).

Perform two iterations of the gradient descent algorithm, where the parameters of the model are updated iteratively in a defined direction with starting at x0 = (0.2636,0.1727) and t = 0.1. This iterative process helps refine the parameters and aims to converge towards an optimal solution.

Hints: update the point using gradient descent steps xk+1 = xk - t∇f (xk).

Question 5 A logistics company is tasked with distributing goods from three warehouses to four retail stores. Each warehouse has a specific supply of goods, and each store has a specific demand. The company aims to minimize the total transportation cost. Below is the cost matrix, representing the cost of transporting one unit of goods from each warehouse to each store. Determine minimum transportation cost using Vogel's approximation method.

Table 1: Cost table.

Origin

 

 

 

 

 

 

S1

S2

S3

S4

Available

W1

1

2

3

4

6

W2

  • 1

3

2

0

8

W3

0

2

2

1

10

Requirements

4

6

8

6

24

[You are not required to write/convert to the mathematical model. Follow the VAM steps to get the solution. Here are the shorter forms of the steps.

Steps: identify the smallest and next-to-smallest costs and find the difference between them for each row and column. Identify the largest difference among all rows and columns and allocate the maximum feasible amount.]

Question 6
Consider the problem of asigning four jobs to four persons. The assignment costs are given as follows. Determine the optimum assignment schedule and costs using the Hungarian Method.

 

 

 

Jobs

 

Persons

1

2

3

4

A

8

4

2

6

B

0

9

5

5

C

3

8

9

2

D

4

3

1

0

Table 2: Cost table.

Note: You are not required to write/convert to the mathematical model. Follow the steps of the Hungarian method and find the optimal solution.

Reference no: EM133715628

Questions Cloud

Blood pressure in each arm of healthy adult client : When measuring the blood pressure in each arm of a healthy adult client, the nurse recognizes that which statement is true?
How does ms avila break up her students into groups : How does Ms. Avila break up her students into groups? How does Ms. Avila interact with students in small groups to highlight her support for them? Be specific.
What is your opinion of diversity : What is your opinion of diversity and inclusion efforts in schools, the workplace, and other areas and give an example?
How many different diversity factors are shown via cast : Discuss whether you think the cast of characters in this book, episode, or movie is diverse. How many different diversity factors are shown via the cast?
Perform two iterations of the gradient descent algorithm : Identify the critical points by setting the gradient equal to zero. (iii) Apply the second derivative test using the Hessian of L(x, ?) to classify the critical
Describe each clinical experience setting : Describe each clinical experience setting. What the students were participating in at the time of observation, and the experience of the educator.
Improve preventive health of the nation-healthcare systems : To implement the recommendations provided by the National Prevention Council to improve the preventive health of the nation, healthcare systems,
How does affordable care act affect behavioral health care : How does the Affordable Care Act affect behavioral health care? How do these factors impact the patient in the scenario you provided?
Highly active antiretroviral therapy : Demetrius is HIV positive and is being treated with highly active antiretroviral therapy.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Discuss five versions of commercials for a new television

A communications researcher wants to know which of five versions of commercials for a new television show is most effective in terms of viewing likelihood.

  Find the rule for generating each of the parity checks

Consider a parity check code with three data bits and four parity checks. Suppose that three of the code words are 10010II, 010 110 I, and 0011110.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Member of the family research council

Assume you are a member of the Family Research Council and have become increasingly concerned about the drug use by professional sports players.

  How each event affects the equilibrium price and quantity

Will Shakespeare is a struggling playwright in sixteenth-century London. As the price he receives for writing a play increases, he is willing to write.

  Predict percent of us population with internet connections

Modeling internet users the following table gives the percent of the U.S. population with Internet connections for selected years from 2000 to 2008.

  Determining the production of various compounds

Missouri Mineral Products (MMP) purchases two unprocessed ores from Bolivia Mining, which it uses in the production of various compounds. Its current needs are for 800 pounds copper, 600 pounds of zinc, and 500 pounds of iron. The amount of each m..

  What is the probability that the cost will be more or less

In an article about the cost of health care. Money magazine reported that a visit to a hospital emergency room for something as simple as a sore throat.

  Optimization equation and constraint equations

Make a table (no not that type of table, the other type) that summarizes the above information. Write down the optimization equation and the constraint equations and label them as such.  Make sure your write down all of the constraint equations.  T..

  Calculate the change in government purchases of goods

In each of the following cases, either a recessionary or inflationary gap exists. Assume that the aggregate supply curve is horizontal.

  The zero vector is an interior point of e

Eherorem 18.13 (steinhaus) if E is a Leansgue measurable subset of IRN suc that λ(E)>0,then the zero vector ia an interior point of E - E.

  Compounding and a prevailing interest rate

Suppose you know that the amount a wine-drinker is willing to pay for a bottle of wine t years from now is $P(1+20(sqr(t))). Assuming continuous compounding and a prevailing interest rate of 5% per year, when is the best time to sell your wine?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd