How do I use gaoptim toolbox?

34 views (last 30 days)
Prerna Mishra
Prerna Mishra on 25 Jul 2022
Answered: GandaBerunda on 27 Jul 2022
How can I install Global Optimization Toolbox? I am trying to use gaoptimset but I keep getting the following error:
'gaoptimset' requires Global Optimization Toolbox.

Answers (1)

GandaBerunda
GandaBerunda on 27 Jul 2022
Hi Prerna,
The procedure for installing any add on is as follows:
  1. On your Matlab start page, go to apps.
  2. Click on Get More Apps, which will cause the Add On explorer to open.
  3. Search for the Global Optimization Toolbox, and download it.
With specific reference to gaoptimset, documentation says that it is not recommended to be used post R2018B. Instead, optimoptions can be used((Not recommended) Create genetic algorithm options structure - MATLAB gaoptimset - MathWorks India).
Hope it helps

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!