Answered
Fitting a hyperbolic curve to a set of data using Qi, Di, and b
You might want to try <http://www.mathworks.com/help/stats/fitnlm.html fitnlm> to fit a nonlinear model. You could also try the ...

12 years ago | 0

Answered
How to create folder in GA Optimization toolbox
I am not sure what you want. Do you want to save the population at every iteration? You can use an <http://www.mathworks.com/hel...

12 years ago | 0

Answered
optimization of fedbatch bioreactor using GA
There is an <http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel.html example of using GA to optimize the solution of...

12 years ago | 0

Answered
Solving multiple independent non linear equations
I can think of two ways: # Use fzero in a loop, solving one component at a time. # Use fsolve with the following options: ...

12 years ago | 0

Answered
why do i get his error when using genetic algorithm for optimization?
Obviously, we cannot run your code because we do not have your function file "gasimulink" or your input *X*. All I can suggest a...

12 years ago | 0

| accepted

Answered
Difference between iteration and objective function evaluation in simulated annealing?
If you look at the <http://www.mathworks.com/help/gads/how-simulated-annealing-works.html algorithm description>, you will see t...

12 years ago | 0

| accepted

Answered
Difference between iteration and objective function evaluation in simulated annealing?
I do not understand your question. Do you have a Global Optimization Toolbox license, and you are using simulannealbnd? Or are y...

12 years ago | 0

Answered
Undefined function 'fsolve' for input arguments of type 'function_handle'
It sounds as if you don't have Optimization Toolbox installed. You can check by entering ver at the MATLAB command line....

12 years ago | 0

Answered
How is Custom Population Creation Function Evaluated by Genetic Algorithm
I answered this a bit in <http://www.mathworks.com/matlabcentral/answers/113743-genetic-algorithm-relation-between-population-an...

12 years ago | 0

| accepted

Answered
Optimization of three objectives obtained in the form of set of data using ODE function
<http://www.mathworks.com/help/optim/ug/multiobjective-optimization-algorithms.html Multiobjective optimization> is not so simpl...

12 years ago | 0

Answered
No solution with fsolve. Why do fsolve stop before doing any iterations?
The gradient of your function is zero at x0. Perhaps you can start at a different point, or double-check that your "sig" functio...

12 years ago | 1

Answered
defining step size for levenberg-marquardt optimisation
You have hit a bug in optimoptions. Currently, optimoptions does not handle the cell array form of the Algorithm option. This bu...

12 years ago | 0

| accepted

Answered
how to further reduce residual error in an unconstrained levenberg-marquardt optimisation
The Lambda parameter climbs to a very high value at the end. I wonder if your function is smooth. Did you try starting at var...

12 years ago | 1

Answered
optimization with many variables - lsqnonlin
There is no set limit on the number of variables you can use. People routinely use Optimization Toolbox to solve nonlinear probl...

12 years ago | 0

| accepted

Answered
How to use fmincon for constrained maximum likelihood?
I ran exactly the code you gave with your data. fmincon ran to completion: ...

12 years ago | 2

| accepted

Answered
Scalar Output for Fitness Function
Generically, the genetic algorithm is an optimization method. Optimization is where you try to find the minimum of a scalar-valu...

12 years ago | 0

Answered
Use of @ in a statement
I am not sure that I understand your question. Perhaps <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html thi...

12 years ago | 0

| accepted

Answered
is there a starting point strategy when solving nonlinear equations?
Sorry, I do not know of anything that works in general. It's a hard problem to come up with effective starting points. Good l...

12 years ago | 0

Answered
Why fminunc does not find the true global minimum?
I did not look at your data. But I doubt that the true global minimum is at [1 2 2 3] if you are really fitting to data. I would...

12 years ago | 0

Answered
Genetic Algorithms - unexpectedly high, variable, number of f-counts
I assume that you have at least one nonlinear constraint. In <http://www.mathworks.com/help/gads/description-of-the-nonlinear-co...

12 years ago | 0

| accepted

Answered
use of dynamic field within fitness function using GA from optimtool
I think that this is a base MATLAB programming question, it is not specific to GA. If I understand you correctly, you want to en...

12 years ago | 0

| accepted

Answered
Values of NaN or Inf are included in the finite-difference derivatives at the initial point. I cannot continue to calculate with fmincon.
Thank you for providing the error message: Value of NaN or Inf is included in the finite-difference derivatives at the initi...

12 years ago | 0

| accepted

Answered
parameter estimation using lsqcurvefit
Unfortunately, Optimization Toolbox solvers do not accept integer-valued variables. So lsqcurvefit will not be able to optimizae...

12 years ago | 0

| accepted

Answered
Genetic Algorithm - Relation between Population and Fitness Function
<http://www.mathworks.com/help/gads/how-the-genetic-algorithm-works.html As described in the documentation>, the creation functi...

12 years ago | 0

| accepted

Answered
fminbnd in parallel: no gain
fminbnd is a serial algorithm. There is no gain possible using parallel processing. In fact, look at the <http://www.mathworks.c...

12 years ago | 0

| accepted

Answered
fitting equation with condition on 1 parameter
There are some documentation examples that show how to fit equations. Adding bound constraints is easy for lsqnonlin or lsqcurve...

12 years ago | 0

Answered
Need advise: Is my implementation good ?
Do you have Symbolic Math Toolbox? If not, are you supposed to differentiate and integrate numerically or symbolically? Al...

12 years ago | 0

Answered
Can Matlab Optimisation Toolbox solve this problem?
I am not sure that I understand you properly. When you say "2 of the variables are time dependent with discrete values" does it ...

12 years ago | 0

| accepted

Answered
in GA ... How can I define my problem constants once ? and how can I know the final values of the other variables (not the objective function)
If you use <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html#brhkghv-10 nested functions> you can share the ...

12 years ago | 0

Answered
How can I convert symbolic equation to fitness function which can be evaluated by genetic algorithm
fmincon and patternsearch expect that the variable x is a column, though they are pretty forgiving if it is something else. ga e...

12 years ago | 2

Load more