what changes should i make in final optimised value with opt time vector

1 Ansicht (letzte 30 Tage)
NN
NN am 26 Sep. 2021
Kommentiert: Matt J am 27 Sep. 2021
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 Kommentare
NN
NN am 26 Sep. 2021
Thank you fo rthe reply , Can you please detail what exactly meant and how it can be done

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Matt J
Matt J am 26 Sep. 2021
Bearbeitet: Matt J am 26 Sep. 2021
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 Kommentare
NN
NN am 27 Sep. 2021
When i tried to use probstruct , it gives the following error
Unable to convert 'struct' to 'sym'.
Please advice
Matt J
Matt J am 27 Sep. 2021
I am not sitting beside you at your computer. I cannot see what you entered...

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by