MultiStart optimization problem structure
2 views (last 30 days)
Show older comments
I currently have a 9x9 double matrix called coeff and another 1x9 double matrix called new_data. I am trying to use MultiStart and GlobalSearch in the Global Optimization Toolbox to find the minima of the following optimization problem:
min (new_data-(coeff*test_weights))^2.
In words, I am trying to minimize the squared distance between the new_data and coeff multiplied by test_weights where test_weights is what I am changing. test_weights should be a 9x1 matrix when finished. I would appreciate if anybody could help me come up with the createOptimProblem statement in MATLAB.
1 Comment
Answers (1)
Matt J
on 7 Jan 2014
Edited: Matt J
on 7 Jan 2014
It seems strange to be using the Global Optimization Toolbox for this when there is a one-line analytical solution
test_weights=coeff\new_data
Furthermore, unless you have some nonlinear constraints that you haven't mentioned, the problem is convex. There can be no non-global minima.
4 Comments
See Also
Categories
Find more on Global or Multiple Starting Point Search in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!