How can we get the surrogate function after the optimisation?

1 view (last 30 days)
Hello, I would like to know if it is possible to have the surrogate function obtained after an optimisation process. Indeed, after an optimisation with the surrogate tool, we obtain certain figures for the design variables but I also want the surrogate model. How can I get it ? Thanks

Answers (1)

Alan Weiss
Alan Weiss on 25 Mar 2021
The surrogate model is not available, sorry. Indeed, its quality as a surrogate is unknown, and may be poor.
Can you please say why you would like to get the surrogate model?
Alan Weiss
MATLAB mathematical toolbox documentation
  3 Comments
Matthieu Bernard
Matthieu Bernard on 27 Mar 2021
Just, what are the reasons why the surrogate model is not available?
Alan Weiss
Alan Weiss on 30 Mar 2021
Well, it is intended to help find an optimum, but not necessarily to be a true surrogate globally. There are no guarantees for its quality. That said, you are free to create an RBF model based on the evaluated points; you can obtain the evaluated points and their values in the trials output using the syntax
[x,fval,exitflag,output,trials] = surrogateopt(___)
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!