how I found W1,W2 ?

5 ビュー (過去 30 日間)
ahlem sellami
ahlem sellami 2018 年 4 月 2 日
コメント済み: Walter Roberson 2018 年 4 月 3 日
f= w1 F1(x) + w2 F2(x)
Consider the problem for minimize F1(x)and maximize F2(x)
Wi = weight value
how I found W1,W2 ? help me please!!

回答 (2 件)

John D'Errico
John D'Errico 2018 年 4 月 2 日
編集済み: John D'Errico 2018 年 4 月 2 日
Huh?
First, you would simply minimize
f = w1*F1(x) - w2*F2(x)
for some choice of positive w1 and w2.
But ONLY YOU can choose the values of w1 and w2. They would represent the relative importance of these two functions, as well as the relative scaling of the two functions, to make them both of roughly the same size.
Completely your choice though.
You might want to do some reading here:
https://en.wikipedia.org/wiki/Multi-objective_optimization
https://en.wikipedia.org/wiki/Pareto_efficiency
  1 件のコメント
ahlem sellami
ahlem sellami 2018 年 4 月 2 日
my object is to maximize F1 and minimize F2 and formulating a single-objective optimization problem f more explanation please

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


Walter Roberson
Walter Roberson 2018 年 4 月 2 日
F1(x) and F2(x) are whatever they are. Changing w1 and w2 will not change them.
Is f a fixed value and is the question to fit a bunch of known points? You can use the \ operator for fitting. But that will not have anything to do with minimizing or maximizing.
Are there bounds on the weights or on their sum?
  11 件のコメント
Walter Roberson
Walter Roberson 2018 年 4 月 3 日
By the way if you can find analytic solutions for the above then you do not need to perform the optimization...
Walter Roberson
Walter Roberson 2018 年 4 月 3 日
Also remember that solve(diff(w1*f1(x) + w2*f2(x), x)==0, x) might be solving for a maxima rather than a minima.

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

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by