q: fminunc() problem



hi, im using fminunc to minimize parameters that define a function.
however, when i run the optimization, it chooses infinitly low numbers
(stops around -1e5000). i would like to make it so that fminunc wont
try negative values, is there an option for this?

.



Relevant Pages

  • Re: Need help with fmincon and fminunc
    ... I forgot to mention that of course when I used the fminunc ... command I didn't consider my ub and lb. ... fmincon,and when I run the optimization program,this ... 1.I don't have any constraint function.However,I have the ...
    (comp.soft-sys.matlab)
  • Re: error using fminunc
    ... Input to ROOTS must not contain NaN or Inf. ... therefore fminunc is a better choise. ... At some point in the optimization, ... A piece of code in one of the helper functions that FMINUNC called threw an ...
    (comp.soft-sys.matlab)
  • Re: q: fminunc() problem
    ... im using fminunc to minimize parameters that define a function. ... > however, when i run the optimization, it chooses infinitly low numbers ... If fminunc has no constraints, ... preferably the same, cat. ...
    (comp.soft-sys.matlab)
  • Need help with fmincon and fminunc
    ... fmincon,and when I run the optimization program,this ... 1.I don't have any constraint function.However,I have the ... use fminunc or should I use only fmincon? ... This command is written before the main command of ...
    (comp.soft-sys.matlab)
  • Optimisation problems using fminunc
    ... estimation of a multivariate VAR with nonlinear constraints and error ... heteroscedascity for which I used the "fminunc" function. ... The same codes work differently if I use these with Optimization ...
    (comp.soft-sys.matlab)