Surrogateopt stopping the plot in between
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using Surrogateopt and plotting the results. But in between I get a message that asks me if I want to proceed.
I click yes but the message comes again. I want the results to be plotted at once without accepting it to proceed again and again.
Why does this happen and how to stop the message? Please tell.
1 Kommentar
Shubham
am 27 Aug. 2024
Hey Vinod, please share the script that you are using for "surrogateopt" along with data files if any, so that I can reproduce the issue at my end.
Antworten (1)
Shubham
am 27 Aug. 2024
Hey Vinod,
I understand that you are using "surrogateopt" to perform optimization, but while plotting the values of your objective function, the process stops and you are required to provide user input in order to proceed further. I suspect that you are using a custom plot function for performing the surrogate optimization.
The following documentation for "surrogateopt" mentions that an "OutputFcn" or "PlotFcn" can halt the iterations: https://www.mathworks.com/help/gads/surrogate-optimization-options.html#:~:text=An%20OutputFcn%20or%20PlotFcn%20can%20halt%20the%20iterations.
There are a few examples present in the documentation of "surrogateopt" function that does not have any issues while plotting the results. If you are still encountering the issue, then you may use the paperclip icon to attach the relevant code files.
Hope this would help!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surrogate Optimization finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!