Re: Minimizing the Frobenius norm




In article <1169162070.659648.204840@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"svlad" <madsvlad@xxxxxxxxx> writes:
Hi,

I need to minimize the following:

E(v1....vn) = sum_{ i=1 to L } (sum_{ j=adj(i) } || Ti - Tj ||^2 )
where || . || is the Frobenius norm.

Each of the T matrices are defined in terms of the v1....vn variables.
A subset of the v1....vn variables are known in advanced.

Each matrix T is dependent on exactly four of the n variables. adj(i)
is the subset of T that are adjacent to the current Ti. Adjacency is
defined as having two of the n variables in common.

Any help would be greatly appreciated.

Thanks.


the frobenius norm squared is the sum of the squares of the elements of the
matrix. hence you have here a typical "least squares" problem.
now it depends on the kind how your variables v_i enter the matrices T_i
what to do: should each of the elements of these matrices be an affine linear
function of the v_i, then you have a simple linear least squares problem and
can use one of the well established linear least squares solvers, for example
the one from LAPACK. (DGELSS)
Otherwise you have a nonlinear least squares problem and need a corresponding
code. there exist several good codes for this , for example ELSUNC is such ,
or , should the optimal sum of differences not be small,
port/n2f or port/n2g
anything in
http://www.netlib.org
or look here
http://plato.asu.edu/sub/nonlsq.html#lsqnres

hth
peter
.



Relevant Pages

  • Re: Vandermonde Solution for Least Squares
    ... is it possible to find a least squares parabolic fit for a redundant ... this is a linear least squares problem: ... and in some programming language using one of the many linear least squares ...
    (sci.math.num-analysis)
  • Re: how to analyze the orthogonal experiment data with strong dependence.
    ... linear) in order to do so. ... Takeaki Kariya and Hiroshi Kurata Generalized least squares. ... Wiley series in probability and statistics. ... If the orthogonal design was not the correct design for those ...
    (sci.stat.consult)
  • Re: 2D gaussian fit
    ... My understanding is that in 3D linear regression ... based on least squares Euclidean norm the bound is O. ... >I have an array with data and I want to fit it to a 2D gaussian. ... Find statistical mean and variance and use those as a fit. ...
    (sci.math.num-analysis)
  • Re: Line fitting
    ... This is known as a linear least squares ... spline is a "free knot" problem, ... linear regression modeling works. ...
    (comp.soft-sys.matlab)
  • Re: Frenchs Primordial Study and Schramm & Turner, 1997
    ... >> least squares analysis. ... > How did you determine that the relationship was linear, Franz? ... Fit a hypothesis that the relaionship contains a square ...
    (sci.astro)