optimization toolbox-quick question
1 view (last 30 days)
Show older comments
Hello..
One question: How to use the optimization toolbox (ga) for a problem with 4 variables and three inequality constrains?
Thanks! B.
0 Comments
Accepted Answer
Geoff Hayes
on 17 May 2015
B - have you looked at the documentation found at ga? The first example discusses an optimization problem of two variables with three inequality constraints so I suspect that it can be extended to your problem of 4 variables and three inequality constraints.
2 Comments
Geoff Hayes
on 21 May 2015
B - one of the examples from the above link corresponds to an optimization problem of two variables so you should be able to adapt that for your purposes.
More Answers (0)
See Also
Categories
Find more on Genetic Algorithm in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!