Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello, I¦m running MATLAB optimi

Status
Not open for further replies.

lopessilva

Mechanical
Joined
Nov 26, 2011
Messages
49
Location
PT
Hello,

I´m running MATLAB optimization toolbox, and i´m using fmincon function for contrained non-linear minimization. I can run the code with no problems, but it only runs one iteration, and after it stop, saying this message:

_________________________________________________________________________________________________

Max Line search Directional First-order
Iter F-count f(x) constraint steplength derivative optimality Procedure
0 7 0.0040098 -0.11

Optimization completed: The first-order optimality measure, 0.000000e+000, is less
than options.TolFun = 1.000000e-020, and the maximum constraint violation, -1.100000e-001,
is less than options.TolCon = 1.000000e-006.

Optimization Metric Options
first-order optimality = 0.00e+000 TolFun = 1e-020 (selected)
max(constraint violation) = -1.10e-001 TolCon = 1e-006 (default)

No active inequalities.
________________________________________________________________________________________________


Can you please give me some useful tips in solving this problem?

regards,
Silva

Regards,
Hugo Silva
Mechanical Eng. PhD student
Materials Eng. MSc.
 
I have never used the canned optimization function, but I suspect the problem is here

max(constraint violation) = -1.10e-001 TolCon = 1e-006 (default)

sadly without understanding more about your system that's all i can tell.

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top