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!