Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Minimization using Fmincon Error
Replies: 2   Last Post: Aug 5, 2013 4:29 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 14
Registered: 12/8/12
Minimization using Fmincon Error
Posted: Aug 5, 2013 2:02 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello everyone,
I'm working on a minimization problem with the objective of minimizing the difference between the measured properties and my model's input parameters (5 variables). I'm using fmincon: thus I have an objective function (i.e. my mechanistic model), initial guesses for my variables, no linear equality/inequality (i.e. [],[],[],[]), lower bound, upper bound for all variables and a constraint function (i.e. nlconst) to ensure positive, definitness of my variables.

Of course my code is not working but I quiet don't get where it fails, I was hoping you guys could help me understand what these error messages mean:

Error using optimfcnchk/checkfun (line 318)
User function 'homogenizationRoutine1t' returned NaN
when evaluated;
FMINCON cannot continue.

Error in nlconst (line 744)
f = feval(funfcn{3},x,varargin{:});

Error in fmincon (line 837)

Does this mean that my constraints (defined by me) cannot be met using the defined objective function (also defined by me)?

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.