| MATLAB Central > MATLAB Newsreader > optimization result not right |
|
|
|
Hi All, |
|
Subject: optimization result not right From: Sargondjani Date: 18 Jun, 2012 06:47:06 Message: 2 of 12 |
|
first of all: fmincon can only find a local minimum. so if your objective is not well behaved, it is not guaranteed to converge to the gloabl minimum. that might explain why you get different results with different starting value |
|
Subject: optimization result not right From: Johan Lofberg Date: 18 Jun, 2012 07:43:06 Message: 3 of 12 |
|
The function is convex and very nicely behaved. However, it is very small numerically, so what you see is some simply termination criteria kicking in. Very large changes in x gives very small changes in objective. |
|
"xueqi " <xueqidong77@gmail.com> wrote in message <jrl64q$1rt$1@newscl01ah.mathworks.com>... |
|
"xueqi " <xueqidong77@gmail.com> wrote in message <jrl64q$1rt$1@newscl01ah.mathworks.com>... |
|
"Matt J" wrote in message <jrmt7d$522$1@newscl01ah.mathworks.com>... |
|
Yeah Actually it is a bad model for this reason!! It took me a while to figure out this point! Now I am making some modification for this model but meanwhile I still want the answers in this model:) |
|
Hi By mentioning analytical gradient...Do you suggest me to solve the function using first order condition? |
|
"xueqi " <xueqidong77@gmail.com> wrote in message <jrn9bf$p1c$1@newscl01ah.mathworks.com>... |
|
Subject: optimization result not right From: Sargondjani Date: 18 Jun, 2012 13:42:07 Message: 10 of 12 |
|
"xueqi " <xueqidong77@gmail.com> wrote in message <jrn9bf$p1c$1@newscl01ah.mathworks.com>... |
|
"Sargondjani" wrote in message <jrnb7f$4os$1@newscl01ah.mathworks.com>... |
|
Hi, I get rid of the exp(200) and now the result is quite promising!!Really help! Thanks!:) |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| femincon | xueqi | 17 Jun, 2012 14:04:12 |
