How to select elements to minimize the objective function.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!