Paretosearch graph doesn't appear

1 view (last 30 days)
Hakem Melad
Hakem Melad on 25 Jun 2020
Edited: Hakem Melad on 25 Jun 2020
Any idea how to make the Paretosearch graph appear ?
This is what I used:
options = optimoptions('paretosearch','ParetoSetChangeTolerance',1e-7,...
'PlotFcn',{'psplotbestf', 'psplotmeshsize', 'psplotbestx'},'ParetoSetSize',200);
The optimisation is working and gives me the results. However, there is no graph appeard as it shown below:

Answers (1)

Alan Weiss
Alan Weiss on 25 Jun 2020
Consult the documentation for the available plot functions. In partiicular, you find this statement there:
"For patternsearch only or paretosearch with a single objective: 'psplotbestf' | 'psplotmeshsize' | 'psplotbestx'"
Alan Weiss
MATLAB mathematical toolbox documentation
  2 Comments
Hakem Melad
Hakem Melad on 25 Jun 2020
Edited: Hakem Melad on 25 Jun 2020
Thank you Alan
I have done the same, but no graph was shown, the system is running and gives me the result with empty template. ((My problem is Nonlinear with Discrete Variables))
Do you think there is a technical issue with Matlab or could you give me an advice how to solve the problem.
Kind regards
options = optimoptions('paretosearch','ParetoSetChangeTolerance',1e-7,...
'PlotFcn',{'psplotbestf','psplotmeshsize','psplotbestx'},'ParetoSetSize',200);
Alan Weiss
Alan Weiss on 25 Jun 2020
Hakeem, please use only supported plot functions. Remove 'psplotbestf','psplotmeshsize','psplotbestx' as they are not supported. Please look at the documentation and use only supported plot functions for multiobjective functions.
Alan Weiss
MATLAB mathematical toolbox documentation

Sign in to comment.

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!