Paretosearch graph doesn't appear

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:

Réponses (1)

Alan Weiss
Alan Weiss le 25 Juin 2020

0 votes

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 commentaires

Hakem Melad
Hakem Melad le 25 Juin 2020
Modifié(e) : Hakem Melad le 25 Juin 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 le 25 Juin 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

Connectez-vous pour commenter.

Produits

Version

R2019b

Modifié(e) :

le 25 Juin 2020

Community Treasure Hunt

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

Start Hunting!

Translated by