Answered
which values of exitflag in lsqcurvefit is denoting the result is true?
The lsqcurvefit exit flags are described in Output Arguments <http://www.mathworks.com/help/optim/ug/lsqcurvefit.html in this li...

13 years ago | 0

| accepted

Answered
[Optimization toolbox] Reannealing procedure ?
<http://www.mathworks.com/help/gads/how-simulated-annealing-works.html Step 4 of the algorithm description> addresses reannealin...

13 years ago | 1

| accepted

Answered
'All Different' and 'Is Integer' constraint in Optimization
If you have continuous variables, then I think the "all different" restriction does not make sense. You can perturb an element b...

13 years ago | 1

Answered
simulated annealing for clustering
If you have Statistics Toolbox, take a look at <http://www.mathworks.com/help/stats/cluster-analysis-1.html the documentation on...

13 years ago | 0

Answered
What is the order that fmincon uses to evaluate objective and nonlinear constraint functions?
There is a <http://www.mathworks.com/help/optim/ug/writing-constraints.html#btfdwb7 new documentation example> related to this, ...

13 years ago | 0

Answered
How can I request an output in real time without interrupting my program?
There are ways to do this via an output function. You could, for example, store whatever intermediate results or data you like i...

13 years ago | 0

Answered
Mixed integer optimization problem
If you have a recent version of Global Optimization Toolbox, these files are in your distribution. Enter edit cantileverCons...

13 years ago | 0

Answered
Using Symbolic Toolbox for Optimization Solvers
I'm glad you like the example. There are some other examples on using symbolic math with optimization, but I doubt that any give...

13 years ago | 0

Answered
Global optimization for Rastrigin's function
I think you would do yourself a favor to read the documentation, and try to work the examples. But to answer your questions: ...

13 years ago | 0

Answered
multiple constraints in genetic algorithm
You can write as many constraints as you like. Take a look at the <http://www.mathworks.com/help/optim/ug/writing-constraints.ht...

13 years ago | 0

Answered
In genetic algorithm problem in objective function i have 1 variable but in constraints I have 8 variables so how many number of variables should I give?
The number of variables is the number of things that ga changes in its search. If you have 8 variables to set, then N = 8. If yo...

13 years ago | 0

Answered
Problem with nonlinear optimization of a process model
Without more details, I don't know what to say. Perhaps you could use the fmincon interior-point algorithm, if you aren't alread...

13 years ago | 0

Answered
how can i solve this errore in svmtrain?
Did you check whether there are any NaN values in train_y or target_y? For example, examine sum(isnan(train_y) + isinf(train...

13 years ago | 0

Answered
Problem with nonlinear optimization of a process model
It is possible that your objective function does not change when the parameters change by a small amount. This can cause prematu...

13 years ago | 1

Answered
Global optimization using genetic algorithm
You might do well to <http://www.mathworks.com/help/gads/mixed-integer-optimization.html read the documentation on ga with integ...

13 years ago | 0

Answered
Pattern Search dependance on initial population
Firstly, patternsearch is not population based. Instead, it takes an initial point, usually named x0. Secondly, like every ot...

13 years ago | 1

Answered
How to call a function in fmincon
Just a slight change: fun = @(x)LL(u1, u2, x) [Teta, LL] = fmincon(fun,x0,A,b,Aeq,beq,lb,ub) If you don't have linear c...

13 years ago | 0

| accepted

Answered
Optimizing a function consisting of other variables
Your question might be about how to include extra parameters. See <http://www.mathworks.com/help/optim/ug/passing-extra-paramete...

13 years ago | 0

| accepted

Answered
How to pass variables to the fintness function in Genetic algorithm?
I'm sorry, I do not understand you. It is indeed possible to call the fitnes function with f = @(x)parameterfun(x,a,b,c). If you...

13 years ago | 0

Answered
Constraint function not working in genetic algorithm 'GA' toolbox
Perhaps <http://www.mathworks.com/help/gads/description-of-the-nonlinear-constraint-solver_bqf8bdd.html this explanation of the ...

13 years ago | 0

Answered
How to pass variables to the fintness function in Genetic algorithm?
Take a look at <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html#bskkr4z the documentation on including extr...

13 years ago | 0

| accepted

Answered
Error Message using GA Genetic Algorithm need help!
Without trying to understand your code, perhaps <http://www.mathworks.com/help/gads/pattern-search-examples-setting-options.html...

13 years ago | 0

Answered
Global optimization toolbox - GA solver
ga is a strictly feasible algorithm with respect to bounds and linear constraints, so if you give bounds properly, you will neve...

13 years ago | 0

Answered
Global minimum function Integer-value
If you have Global Optimization Toolbox R2011b or later, you can use the mixed integer programming capabilities of the ga functi...

13 years ago | 0

Answered
non linear system of equations
I don't really understand what you are asking, but perhaps <http://www.mathworks.com/help/optim/ug/when-the-solver-fails.html#br...

14 years ago | 0

Answered
Not enough input arguments Error
I wonder if you understand what type of arguments fmincon is expecting. The quantities you want to optimize should be in a singl...

14 years ago | 0

| accepted

Answered
Mixed integer optimization - help
# You cannot choose a creation function when using ga integer optimization. # You can select an initial population range. # Yo...

14 years ago | 1

| accepted

Answered
Non negativity constraint in fmincon
You did not pass an options structure, so you are using the fmincon active-set algorithm. This algorithm does not strictly satis...

14 years ago | 0

Answered
Genetic Algorithm never runs past 15 iterations
The nonlinear constraints cause the algorithm to behave differently than you might expect. You see how high the F-counts are. Th...

14 years ago | 0

Answered
[Global Optimization Toolbox] Nonlinear constraint fulfillment in GA
You can read about the <http://www.mathworks.com/help/gads/description-of-the-nonlinear-constraint-solver_bqf8bdd.html nonlinear...

14 years ago | 0

Load more