Closed-form solution of a quadratic optimization problem

In summary, the conversation discusses the possibility of obtaining a closed form solution for a maximization problem involving vectors and scalar products. The maximum value is 0 when the vectors are equal, and the level set corresponding to this value is when \xi=\lambda, \,\,\lambda\ge 0, \xi\ge 0. The conversation also explores the use of a partial order on the vector space and the conditions for the expression to be unbounded. The solution for the maximization problem is dependent on the values of X and Z, with different cases leading to different maximum values.
  • #1
lementin
7
0
Hello,

My question is as follows. Is it possible to obtain a closed form solution to

[itex] \displaystyle \max_{\xi\ge 0, \lambda\ge 0}\,\, -\frac{1}{2}\||\xi\||^2
+(\xi,\,\lambda) -\frac{1}{2}\||\lambda\||^2[/itex]

Here [itex]\xi[/itex] and [itex]\lambda[/itex] are vectors.
Thank you.
 
Mathematics news on Phys.org
  • #2
The expression is easier to see as -1/2||ξ-λ||2. So the max is 0, when the vectors are equal.
 
  • #3
Thank you very much, mathman.
So the level set corresponding to the maximum value is [itex]\xi=\lambda, \,\,\lambda\ge 0, \xi\ge 0[/itex]
 
  • #4
One remark:

lementin said:
[itex]\lambda\ge 0, \xi\ge 0[/itex]
Are you sure that you want to compare vectors with real numbers?
Your vectors could be real numbers, fine, but in this case I would not expect any formulas with scalar products and so on.

Do you mean [itex]||\lambda||\ge 0, ||\xi||\ge 0[/itex]? This follows from the definition of the norm.
 
  • #5
Thank you for your reply, mfb.

In fact I don't compare vectors with real numbers. In the notation [itex] \lambda\ge 0,\,\,\xi\ge 0,\,\,\,\,\,0\,\,[/itex] is actually the 0 vector (that is all its components are 0).

I would also like to extend my question here. How to find the closed form solution of the following problem, where linear terms are added?

[itex] \displaystyle\max_{\lambda\ge 0 ,\,\, \xi\ge 0}-\frac{1}{2}\||\lambda-\xi\||^2 +(\lambda, -Y-q)+ (\xi, -Y+q-CI),\,\, [/itex]
where all components of Y are either 1 or -1, C>0, I is the identity matrix, and q is an arbitrary vector.
 
  • #6
How do you define [itex]\geq[/itex] for vectors? As far as I know, there is no standard way to do this.

In your equation, [itex]\lambda= \xi[/itex] fixes the first expression to 0. Now, find any vector which gives some positive or negative value for the scalar products, and you can make the product arbitrary large by multiplying the vector with a positive or negative constant.
 
  • #7
Thank you very much, mfb. This really seems to be the case that with some choices of constants within the inner products the expression can be unbounded from above.

I meant a partial order on the vector space, with not all vectors being comparable.
[itex]x\ge y [/itex] iff [itex]\forall i,\,\,\,x_i\ge y_i. [/itex]
 
  • #8
Oh, your relation requires a specific basis of the vector space.

If there is any positive solution which satisfies [itex]\lambda=\xi[/itex], the expression in unbounded.
If there is no positive solution at all, [itex]\lambda=\xi=0[/itex] is the maximum.
If both cases do not help, note that the individual components are all independent, assuming the standard scalar product. Let's take the index 1 and use X=-Y-q, Z=-Y+q-CI:
[tex]-\frac{1}{2}(\lambda_1-\xi_1)^2 + \lambda_1 X_1 + \xi_1 Z_1[/tex]
I drop the index now, as it is always 1.
Using the individual derivatives, this has a maximum in the whole plane where [itex]\lambda-\xi + X=0[/itex] and [itex]-\lambda+\xi + Z=0[/itex]. This can be satisfied for X+Z=0 only. In this case, the first expression is sufficient and a maximum exists for all X, as you can get any arbitrary difference between two positive numbers.

Otherwise, look at [itex]\lambda=\xi[/itex]: If X+Z = -2Y-C > 0, the expression is unbounded. If not, we have a maximum, but not in the whole plane, therefore it has to be at the constraints:

Look at [itex]\lambda=0[/itex]: [itex]-\frac{1}{2}\xi^2 + \xi Z[/itex].
For Z<0, the maximum is at [itex]\xi=0[/itex].

Look at [itex]\xi=0[/itex]: [itex]-\frac{1}{2}\lambda^2 + \lambda X[/itex].
For X<0, the maximum is at [itex]\lambda=0[/itex].

Therefore, if X<0, Z<0, the maximum is at (0,0). If one of those is >0, you have a simple one-dimensional expression. The case X>0, Z>0 leads to X+Z>0 and the unbounded case discussed above.Put everything together, and you get your global maximum ;).
Note that -2Yi-Ci > 0 for any i gives an unbound expression.
 

1. What is a quadratic optimization problem?

A quadratic optimization problem is a type of mathematical optimization problem where the objective function and constraints are quadratic equations. The goal is to find the values of the variables that optimize the objective function while satisfying the constraints.

2. What is a closed-form solution?

A closed-form solution refers to an analytical solution that can be expressed in a finite number of algebraic operations, such as addition, subtraction, multiplication, and division. In the context of quadratic optimization problems, a closed-form solution means that the optimal values for the variables can be directly calculated without the need for iterative methods.

3. How is a quadratic optimization problem solved using a closed-form solution?

To solve a quadratic optimization problem using a closed-form solution, we first need to express the objective function and constraints in the standard form of a quadratic programming problem. Then, we can use mathematical techniques, such as the Karush-Kuhn-Tucker (KKT) conditions, to derive the closed-form solution.

4. What are the benefits of using a closed-form solution for quadratic optimization problems?

Using a closed-form solution for quadratic optimization problems has several benefits. It allows for a more efficient and accurate solution compared to iterative methods. It also provides insights into the structure of the problem and can be used to analyze the sensitivity of the solution to changes in the parameters or constraints.

5. Are there any limitations to using a closed-form solution for quadratic optimization problems?

While closed-form solutions for quadratic optimization problems are generally more efficient and accurate, they may not always be feasible for complex or large-scale problems. In some cases, the closed-form solution may not exist or may be difficult to derive. In such cases, iterative methods may be a better option.

Similar threads

  • General Math
Replies
1
Views
272
Replies
1
Views
397
  • General Math
Replies
19
Views
883
Replies
2
Views
1K
Replies
1
Views
742
Replies
2
Views
1K
  • Advanced Physics Homework Help
Replies
0
Views
555
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Quantum Physics
Replies
1
Views
856
Replies
2
Views
644
Back
Top