(OPTIMIZATION) Initial point is a local minimum - PROBLEM!!
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.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda
Risposta accettata
0 voti
Condividi un link a questa risposta
16 Commenti
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento
Condividi un link a questo commento

Condividi un link a questo commento
- If your response F(x) is flat, then you need to debug your code.
- If your response F(x) is stair-stepped, then you need to use a solver that is appropriate. I would usually suggest patternsearch to minimize the sum of squares of deviations for a nonsmooth multivariable function. But maybe you don't have Global Optimization Toolbox. In that case you might have to simply calculate F at a variety of points and look for a minimum manually. Or maybe a scaled version of fminsearch could work. We can discuss details later if necessary.
- If the response is smoothly differentiable then I am surprised, because your initial problem is that the first-order optimality measure (essentially, the gradient) is zero, meaning there is no change in the response for small changes in x.
Condividi un link a questo commento

- If D0 = 0 then you are at least in the stair-stepping case I have been describing, where small changes in the parameter vector x lead to zero changes in the response.
- If D1 = 0 then you are in the case where the response is independent of the input variable x and you need to debug your program.
Condividi un link a questo commento

Condividi un link a questo commento
Condividi un link a questo commento
Più risposte (0)
Categorie
Scopri di più su Get Started with Optimization Toolbox in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!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)
