what changes should i make in final optimised value with opt time vector
1 回表示 (過去 30 日間)
古いコメントを表示
Any modifications to be done in the final optimized value that specify a combination of step size (Ts) and number of iterations (N)?
I am getting a higher optimized value in a problem based optimization problem ,should i make any changes in the final Fval since
opt Time=5*60=300 chosen in my problem?
2 件のコメント
Image Analyst
2021 年 9 月 26 日
Can you just run through a brute force trial of all possible combinations?
回答 (1 件)
Matt J
2021 年 9 月 26 日
編集済み: Matt J
2021 年 9 月 26 日
Use prob2struct
s=prob2struct(prob);
s.f0
The value of s.f0 will be the discrepancy between a problem-based linear optimization and a solver-based linear optimization.
4 件のコメント
Matt J
2021 年 9 月 27 日
I am not sitting beside you at your computer. I cannot see what you entered...
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!