Least Squares With Multiple Quadratic Constraints

Click For Summary
SUMMARY

The discussion focuses on solving a least squares problem with multiple quadratic constraints using Lagrange multipliers. The user, Nick, seeks guidance on extending a method that works for one quadratic constraint to accommodate three constraints. The solution involves adding three equations and variables to the standard least squares formulation, resulting in a symmetric but not positive definite system. Caution is advised when selecting library routines for solving these equations.

PREREQUISITES
  • Understanding of least squares optimization
  • Familiarity with Lagrange multipliers
  • Knowledge of matrix algebra
  • Experience with numerical methods for solving equations
NEXT STEPS
  • Research Lagrange multipliers in optimization
  • Study symmetric matrix properties and their implications
  • Explore numerical libraries for solving non-positive definite systems
  • Learn about extending least squares problems with multiple constraints
USEFUL FOR

Mathematicians, data scientists, and engineers involved in optimization problems, particularly those dealing with multiple constraints in least squares formulations.

WCMU101
Messages
14
Reaction score
0
Problem:

A = n by m matrix
x = m by 1 vector
y = n by 1 vector

C = c by m matrix
E = e by m matrix

Alpha, gamma and theta are constants.

norm(Ax-y) = min

subject to:

norm(Cx) = alpha
norm(Ex) = gamma
transpose(Cx)*Ex = (alpha^2)*(gamma^2)*cos(theta)

I read a paper on how to do this with 1 quadratic constraint and I got that working, but I can't figure out how to do it with 3. Any advice? (Numerical methods are fine).

Nick.
 
Physics news on Phys.org
You can do this using Lagrange multipliers. See any optimisation textbook, or Google.

This will add 3 more equations and 3 more variables to the "standard" least squares equations. Note, the extended system of equations will be symmetric, but NOT positive definite, so be careful what library routine you use to solve them!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 15 ·
Replies
15
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K