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

14 ビュー (過去 30 日間)
Riyadh Muttaleb
Riyadh Muttaleb 2017 年 5 月 10 日
コメント済み: Riyadh Muttaleb 2017 年 5 月 11 日
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

回答 (2 件)

Torsten
Torsten 2017 年 5 月 11 日
編集済み: Torsten 2017 年 5 月 11 日
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 2017 年 5 月 10 日
Just use lsqlin which allows you specify both upper and lower bounds explicitly.
  1 件のコメント
Riyadh Muttaleb
Riyadh Muttaleb 2017 年 5 月 10 日
Thank you for your response, I have to use "lsqnonneg"

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLinear Least Squares についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by