From: zhila amini on
I use fmin for sizing optimization, the result is this:

--------------------------
Local minimum possible. Constraints satisfied.

fmincon stopped because the predicted change in the objective function
is less than the selected value of the function tolerance and constraints
were satisfied to within the selected value of the constraint tolerance.

<stopping criteria details>

Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
1
2
5
-----------------------------------------

now how is the result, is it trust able, i use fmincon via yalmip , and i can't change tolfun and tolcon,with this statement:

options= optimset('fmincon')
optnew = optimset(options,'Tolcon',1e-8);

why doesn't it work?
From: Alan Weiss on
Hi, I am not sure why you want to change TolCon. It seems you did set it
since the exit message states "...the selected value..." (if you had not
set TolCon the message would state "...the default value..."). Then
again, I am not familiar with yalmip, so perhaps that overrides your
settings.

For more information on whether the result is reliable, see
http://www.mathworks.com/access/helpdesk/help/toolbox/optim/ug/br44i2r.html

Alan Weiss
MATLAB mathematical toolbox documentation

zhila amini wrote:
> I use fmin for sizing optimization, the result is this:
>
> --------------------------
> Local minimum possible. Constraints satisfied.
>
> fmincon stopped because the predicted change in the objective function
> is less than the selected value of the function tolerance and
> constraints were satisfied to within the selected value of the
> constraint tolerance.
>
> <stopping criteria details>
>
> Active inequalities (to within options.TolCon = 1e-006):
> lower upper ineqlin ineqnonlin
> 1
> 2
> 5
> -----------------------------------------
>
> now how is the result, is it trust able, i use fmincon via yalmip , and
> i can't change tolfun and tolcon,with this statement:
> options= optimset('fmincon')
> optnew = optimset(options,'Tolcon',1e-8);
>
> why doesn't it work?
From: Johan Löfberg on
"zhila amini" <zh.amini(a)gmail.com> wrote in message <hltbem$al4$1(a)fred.mathworks.com>...
> I use fmin for sizing optimization, the result is this:
>
> --------------------------
> Local minimum possible. Constraints satisfied.
>
> fmincon stopped because the predicted change in the objective function
> is less than the selected value of the function tolerance and constraints
> were satisfied to within the selected value of the constraint tolerance.
>
> <stopping criteria details>
>
> Active inequalities (to within options.TolCon = 1e-006):
> lower upper ineqlin ineqnonlin
> 1
> 2
> 5
> -----------------------------------------
>
> now how is the result, is it trust able, i use fmincon via yalmip , and i can't change tolfun and tolcon,with this statement:
>
> options= optimset('fmincon')
> optnew = optimset(options,'Tolcon',1e-8);
>
> why doesn't it work?

Well, if you use fmincon via YALMIP, you have to pass the settings via YALMIP too. Something like this

solvesdp(constraints,objective,sdpsettings('fmincon.Tolcon',1e-8))