5. Optimization and Control

Constrained Optimization — Quiz

Test your understanding of constrained optimization with 5 practice questions.

Read the lesson first

Practice Questions

Question 1

When solving a constrained optimization problem using the method of Lagrange multipliers, what is the significance of the partial derivative of the Lagrangian function with respect to a decision variable, set to zero?

Question 2

Consider a constrained optimization problem with an inequality constraint given by $g(x) \le 0$. To apply the method of Lagrange multipliers, a slack variable $s$ is introduced such that the constraint becomes $g(x) + s^2 = 0$. What is the primary reason for using $s^2$ instead of $s$?

Question 3

In the context of numerical solvers for constrained optimization, what is the role of an 'active set method'?

Question 4

Consider the problem of maximizing $f(x, y) = 2xy$ subject to the constraint $x + y = 4$. Using the method of Lagrange multipliers, what is the optimal value of $f(x, y)$?

Question 5

Which of the following best describes the 'Karush-Kuhn-Tucker (KKT) conditions' in constrained optimization?