You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
Bi-level Optimization Problem



Answers (1)
-
-
Direct link to this answer
https://www.mathworks.com/matlabcentral/answers/1946778-bi-level-optimization-problem#answer_1215363
-
-
Direct link to this answer
https://www.mathworks.com/matlabcentral/answers/1946778-bi-level-optimization-problem#answer_1215363
18 Comments
GA does not solve problems with integer and equality constraints.
For more help see No Equality Constraints in the documentation.
Error in gacommon (line 185)
[ConstrInfo,Iterate,output] = constrValidate(NonconFcn, ...
Error in ga (line 377)
NonconFcn,options,Iterate,type] = gacommon(nvars,fun,Aineq,bineq,Aeq,beq,lb,ub, ...
Error in solution>Test2 (line 10)
ga(@cam, 3, [],[],[],[],[0 0 -inf], [1,20,+inf],@(p)nonlcon(p,t),1:2,options);

See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom(English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)