Answered
Nonlinear constraints Multi objective genetic algorithm
This limitation on gamultiobj is <http://www.mathworks.com/help/gads/gamultiobj.html documented in the function reference page>....

13 years ago | 0

Answered
Do fminsearch tolerances give the range?
The meaning of TolX and TolFun for most optimization solvers is <http://www.mathworks.com/help/optim/ug/tolerances-and-stopping-...

13 years ago | 0

Answered
Genetic Algorithm - limiting significant digits of Optimization Variable
This is a very difficult thing to do in general, because MATLAB computes to double precision by default. If you really want to c...

13 years ago | 0

| accepted

Answered
fminbnd warning message: Exiting: Maximum number of iterations has been exceeded - increase MaxIter option.
To avoid exit messages and this warning, set the Display option to 'off': opts = optimset('MaxIter',8,'Display','off'); [x...

13 years ago | 2

| accepted

Answered
linear least square optimization method that benefits from good start value?
I believe that if you do not include any constraints in your problem, lsqlin simply calls backslash: x = C\d; The startin...

13 years ago | 1

Answered
" fsolve" to solve a nonlinear system with two unknowns - wrong results!
When I tried I get the following: Equation solved. fsolve completed because the vector of function values is near ze...

13 years ago | 0

| accepted

Answered
Which algorithm converges faster?
It is hard to know in advance which algorithm will be faster. Generally, the more information you can give to an algorithm (expl...

13 years ago | 0

| accepted

Answered
Why does the searchmethod within patternsearch doesn't honor my constraint?
The MATLAB fminsearch solver does not take any constraints; this is the Nelder-Mead search method, so it does not put constraint...

13 years ago | 0

| accepted

Answered
lsqnonlin and Jacobian misunderstanding: what is the Jacobian definition ?
You have a slight misunderstanding of what a Jacobian is for a sum-of-squares problem. The definition is <http://www.mathworks.c...

13 years ago | 0

| accepted

Answered
What algorithm is used by refinemesh.m?
There is a brief discussion in the <https://www.mathworks.com/help/pde/ug/adaptive-mesh-refinement.html#f9135 documentation here...

13 years ago | 1

| accepted

Answered
Optimizing nonlinear system, difficult objective function
<http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel.html There is a similar but simpler example in the documentation...

13 years ago | 0

| accepted

Answered
Optimization. Convex nonlinear function. Exponential mixture
I am sorry, I do not understand your first constraint. You say "c(1-4)>=1" is the constraint, but this is neither mathematical n...

13 years ago | 0

Answered
Need help fitting nonlinear model to data
I think you forgot a dot and a ': LF = @(b,xData)(1./(b(1)+b(2)*exp(-b(3)*x1)))'; You need a dot after the 1 because you ...

13 years ago | 0

Answered
quadprog constraint problem - x equal one value or another
There are exactly two solvers at present that can address discrete problems: * <http://www.mathworks.com/help/optim/ug/bintpr...

13 years ago | 1

| accepted

Answered
Overhead when using optimization: parfor loops or UseParallel 'always' for fmincon?
It is difficult to know which method will give you more speedup. You could try both methods on your current, smaller problem--it...

13 years ago | 0

| accepted

Answered
Optimization using GA tool from ANN output
I don't know anything about neural networks, but I think I can tell you how to diagnose this problem: give an input, say x0 = ra...

13 years ago | 0

Answered
Genetic Algorithm - Variable Tolerance
You can certainly set the TolFun tolerance to something larger than the default, perhaps 1e-4. But that would not necessarily ge...

13 years ago | 0

| accepted

Answered
How to optimize this equation using GA tool?
I don't understand what you think the problem is. The objective function that ga found is better than the one you get by "polyno...

13 years ago | 1

| accepted

Answered
Error related to SVMTRAIN "??? Undefined function or method 'svmtrain' for input arguments of type 'double"
svmtrain was available only in Bioinformatics Toolbox until R2012b. It came into Statistics Toolbox in R2013a. So the question i...

13 years ago | 0

Answered
GA toolbox running error
Please give the exact call you use and the exact exit message. Something like this: [x,fval] = ga(@rastriginsfcn,2) On my...

13 years ago | 0

Answered
Genetic Algorithm fitness value
<http://www.mathworks.com/help/gads/some-genetic-algorithm-terminology.html As stated in the documentation>, GA attempts to find...

13 years ago | 0

| accepted

Answered
Genetic Algorithm Optimization tool
Perhaps you have nonlinear constraints. In that case, ga takes very few iterations, and you might think it is showing only one i...

13 years ago | 0

| accepted

Answered
fminunc not to stop even if it does not converge in one or more of 1000 replications of a simulation
I am not sure what you are asking. Do you want fminunc to continue to iterate even if it stopped without converging? If so, plea...

13 years ago | 0

| accepted

Answered
Use optimization tool to find function maximum
<http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#brhkghv-19 This sounds like a job for linprog>. See <http://www.m...

13 years ago | 1

| accepted

Answered
Fitting experimental data using genetic algorithm
You would probably do better to use lsqcurvefit or lsqnonlin, possibly with MultiStart to search among the local minima. <http:/...

13 years ago | 1

Answered
Constraining number of active bits in GA solution
I wonder if you can use the <http://www.mathworks.com/help/optim/ug/bintprog.html bintprog> function for your problem. You can u...

13 years ago | 0

Answered
Mutation function with integer variables GA
<http://www.mathworks.com/help/gads/mixed-integer-optimization.html#bs1cifg As the documentation states>, GA overrides any mutat...

13 years ago | 1

| accepted

Answered
Symbolic math toolbox- Jacobian of a function with respect to an other function?
doc jacobian Alan Weiss MATLAB mathematical toolbox documentation

13 years ago | 0

Answered
How to write this small optimisation problem?
If you have Optimization Toolbox, use fmincon on -F(x,y,z) = -F(t), where t = [x,y,z]. If you just want to make a grid of points...

13 years ago | 0

| accepted

Answered
I need to find local minima's in a graph(2-dimensional ) without curve fitting ; I have the F(x) and x values only
x = randn(10,2); % random 2-D x locations y = 5*randn(10,1)+20; % random heights at the x locations [maxy,r] = max(y); [...

13 years ago | 0

Load more