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?

回答(1 个)

Matt J
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 个评论
NN
NN 2021-9-27
When i tried to use probstruct , it gives the following error
Unable to convert 'struct' to 'sym'.
Please advice

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by