You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
How to solve NLP Optimization problem ?
Hello everyone! I'm new in NLP solver, i'm wondering how to write appropriately my objective function also my variables and constraints, i have seen many videos in order to understand but i didn', so i want to share with you my optimization problem may some of volunteers could help me, and any information or suggestion will be appreciated. Thank you in advance,
63 Comments
- Make a list of your unknowns (with dimensions) and put them all together in one long vector
- Classify your constraints as belonging to linear equalities, linear inequalities, bound constraints, integer constraints and nonlinear constraints
- Put the constraints in the adequate fields passed to "ga" (linear equalities: Aeq, beq, linear inequalities: A, b, bound constraints: lb, ub, integer constraints:intcon and nonlinear constraints :nonlcon)
- Make a list of your unknowns (with dimensions) and put them all together in one long vector
- Classify your constraints as belonging to linear equalities, linear inequalities, bound constraints, integer constraints and nonlinear constraints
- Put the constraints in the adequate fields passed to "ga" (linear equalities: Aeq, beq, linear inequalities: A, b, bound constraints: lb, ub, integer constraints:intcon and nonlinear constraints :nonlcon)
Answers (1)
1 Comment
See Also
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 (한국어)