Answered
Shading a bounded boundaries
Perhaps the <http://www.mathworks.com/help/optim/ug/when-the-solver-succeeds.html#brhkghv-65 figure at the botttom of this page>...

12 years ago | 0

Answered
Exchange data in MAtlab when using the genetic algorithm toolbox.
If you can define the fitness function programmatically in MATLAB, in any way whatsoever including reading from a file, then you...

12 years ago | 0

| accepted

Answered
Solving an equation on MATLAB
Try fzero. I suggest that you give an initial interval such as [1,1000] because you will get an error if fzero tries a value les...

12 years ago | 0

| accepted

Answered
How to find equilibrium points of a system of 5 non linear ordinary differential equations???
Basically you want to find a point where the derivative of each equation is zero. I mean, if your equations are d/dt x(t) = ...

12 years ago | 0

| accepted

Answered
Passing parameter from the objective function to the output function
You can use nested functions along the lines of passing information <http://www.mathworks.com/help/optim/ug/objective-and-nonlin...

12 years ago | 0

| accepted

Answered
how to add a constraint condition to fsolve?
There is <http://www.mathworks.com/help/optim/ug/nonlinear-systems-with-constraints.html relatively new documentation on solving...

12 years ago | 1

Answered
What exactly does TolCon do and how is relative max(constraint violation) calculated?
Tolerances are described <http://www.mathworks.com/help/gads/setting-tolerances-for-the-solver.html?searchHighlight=Tolerances h...

12 years ago | 0

Answered
Specifying Constraints for Chromosome in Genetic Algorithm
Have you looked in the <http://www.mathworks.com/help/gads/write-constraints.html documentation on constraint setup>? Alan We...

12 years ago | 0

| accepted

Answered
the 'optimtool' setup problem
I am a bit surprised that Optimization Toolbox does not show up as a toolbox in your version, nor Statistics Toolbox. Perhaps yo...

12 years ago | 0

| accepted

Answered
Tips for specifying Population Size, No. of Generations, and other Options for GA with large nvars
Depending on your problem, GA can have a lot of trouble with such a high-dimensional problem. Is GA really the right optimizer? ...

12 years ago | 1

| accepted

Answered
Change Population representation and initialisation in GA
<http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223 Here is the documentation on population options>. <...

12 years ago | 1

Answered
Optimization with fmincon: Error==> initVals.f = feval(funfcn{3},X,varargin{:});
I do not understand how you are trying to optimize your simulation. Your objective function file, if I understand correctly, is:...

12 years ago | 0

Answered
optimization for two output parameters varying three input variables within given constraints
You have two objectives: minimize delta_p while maximizing delta_T. In general, multiobjective optimization does not have a uniq...

12 years ago | 1

| accepted

Answered
Template Fitting using lsqcurvefit
Unfortunately, Optimization Toolbox solvers (except for bintprog) are for continuous variables, and do not work with integer con...

12 years ago | 0

| accepted

Answered
GA ToolBox - Length of Chromosome
<http://www.mathworks.com/help/gads/write-objective-function.html Perhaps the documentation on defining fitness functions> can h...

12 years ago | 0

| accepted

Answered
How to formulate this GA constrain ?
You have 35 turbines, so there are 35*34/2 pairwise constraints that the distance has to be greater than 300. Let S(i,j) be the ...

12 years ago | 1

| accepted

Answered
MATLAB ga() genetic algorithm not changing part of the decision vector
<http://www.mathworks.com/matlabcentral/newsreader/view_thread/332326#913275 As I said in comp.sys-soft.matlab when you asked th...

12 years ago | 0

Answered
Pdepe for heat conduction and in thermal parameters optimization. Non smooth cost function.
Sonia, did you try setting DiffMinChange and DiffMaxChange to 1e3 and 1e4 respectively? Your plot makes it appear as if you migh...

12 years ago | 0

Answered
how can i give a non-linear constraint for genetic algorithm (GA) in matlab toolbox (GATool) ....my constraint is x*y*z=82368, where x,y,z are the variables.........please help me
To learn about writing nonlinear constraints, <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-16 consul...

12 years ago | 0

Answered
Lsqnonlin doing too small steps and not moving from initial point during optimization
<http://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html There is some documentati...

12 years ago | 0

| accepted

Answered
I am working on Constrained Minimisation using ga tool. When i input the non linear constraint function that accepts x as the input i get an error stating:Attempted to access x(1); index out of bounds because numel(x)=0.
<http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223 According to the documentation for bitstring type>, fo...

12 years ago | 0

Answered
how to write a constraint file for an optimization problem for which independent variable is a matrix?
<http://www.mathworks.com/help/optim/ug/matrix-arguments.html There is a little bit of documentation on this subject>. I don't k...

12 years ago | 0

Answered
can we plot a graph in genetic algorithm solver
I am not sure what you are asking. Do you want to see the fitness as a function of the iteration number in the genetic algorithm...

12 years ago | 0

Answered
Maximizing using fminsearch over an interval
If you use the <http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#brhkghv-19 optimization decision table> for your n...

12 years ago | 0

Answered
Invalid problem structure error when using GlobalSearch
<http://www.mathworks.com/help/gads/how-globalsearch-and-multistart-work.html#bsc591v GlobalSearch does not accept lsqcurvefit a...

12 years ago | 0

| accepted

Answered
i am getting different results for different times of running the genetic algorithm
I didn't see any attachments, so I cannot comment directly on your problem. Are you sure you want to use the genetic algorith...

12 years ago | 1

| accepted

Answered
fminsearch finds local minimum when fminunc does not?
Perhaps you are minimizing a simulation or differential equation. <http://www.mathworks.com/help/optim/ug/optimizing-a-simulatio...

12 years ago | 0

| accepted

Answered
options = optimset('MaxFunEvals',999) does not work
You have to include the options in the function call. Something like x = lsqcurvefit(fun,x0,xdata,ydata,lb,ub,hybridopts) ...

12 years ago | 2

Answered
Fminunc. First order optimality not close to zero.
<http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded.html#br44i8w This section of the documentation> mig...

12 years ago | 0

Answered
Can we pass a data structure to fmincon? If yes, how?
See <http://www.mathworks.com/help/optim/pass-extra-parameters.html this section of the documentation> on passing parameters. ...

12 years ago | 1

Load more