How to select elements to minimize the objective function.
2 ビュー (過去 30 日間)
古いコメントを表示
Suppose a set
has 4 elements,
;For another set
,where n=1,2,...,64, and bis random number in [0.45,0.55]. Select a element from
for each n, and get a select matrix
(64×4), where
represents the nth seletion is ith element in
. So only one element in each column of matrix
is 1, others are 0.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800549/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800554/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800559/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800564/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800569/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800574/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800579/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800584/image.png)
The objective function is
, which means how to select element in
in each n to get objectve function minimum.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800589/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/800594/image.png)
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Problem-Based Optimization Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!