Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
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 Commenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269225/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1269230/image.png)
- 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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270855/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270860/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270865/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270870/image.png)
- 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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1276035/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1276040/image.png)
Risposte (1)
1 Commento
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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-Pacifico
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)