How to add the non-linear constraints to gamultiobj when using ga toolbox?
1 view (last 30 days)
Show older comments
Jason Shih
on 6 Sep 2015
Commented: Walter Roberson
on 11 Jul 2017
How to add the non-linear constraints to gamultiobj when using ga toolbox? I want to use it in multi-objective GA, but I don't know how to add the non-linear constraints.
0 Comments
Accepted Answer
Walter Roberson
on 6 Sep 2015
The first 9 arguments for gamultiobj() are the same as the first 9 arguments for ga(). (The 10th argument for ga() is different.) This includes the nonlinear constraint function.
If you are using some kind of visual tool to generate code, then if you need to you could configure it with ga and nonlinear constraints, and then you could edit the code to change ga() to gamultiobj()
2 Comments
Walter Roberson
on 11 Jul 2017
No, the ability to use the nonlinear constraint function with gamultiobj was introduced in R2014b.
More Answers (0)
See Also
Categories
Find more on Multiobjective Optimization 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!