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

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  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.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

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