How can find (BVLS) bound-variable least square for "lsqnonneg"?

5 vues (au cours des 30 derniers jours)
Riyadh Muttaleb
Riyadh Muttaleb le 10 Mai 2017
Commenté : Riyadh Muttaleb le 11 Mai 2017
Hello all,
I would like to find Bounded-Variable Least Squares (BVLS), with simultaneous upper and lower bounds αᵢ ≤ xᵢ ≤ βᵢ for "lsqnonneg" function,
any help will be so appreciated,
Riyadh

Réponses (2)

Torsten
Torsten le 11 Mai 2017
Modifié(e) : Torsten le 11 Mai 2017
Introduce new variables
x' = x-alpha
y' = beta-x
and solve
A*x' = b-A*alpha
A*y' = A*beta-b
x',y' >= 0
using "lsqnonneg".
Will work if A is quadratic and not singular.
Best wishes
Torsten.

Matt J
Matt J le 10 Mai 2017
Just use lsqlin which allows you specify both upper and lower bounds explicitly.
  1 commentaire
Riyadh Muttaleb
Riyadh Muttaleb le 10 Mai 2017
Thank you for your response, I have to use "lsqnonneg"

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by