Answered
how can i solved mixed integer linear programming using genetic algorithm in matlab
I suppose you have Global Optimization Toolbox R2011b or later. The IntCon field should be [1,2] to specify that the first two v...

13 years ago | 0

Answered
What does this other Fmincon error mean?
fmincon estimates derivatives by taking finite difference steps. Your initial point was feasible, but once fmincon took a tiny s...

13 years ago | 1

| accepted

Answered
How to create matrices of Symbolic Variables in an earlier version of Symbolic toolbox
<http://www.mathworks.com/help/optim/ug/symbolic-math-toolbox-calculates-gradients-and-hessians.html#brwgbii This might not be a...

13 years ago | 1

Answered
fitting sum of gaussians into a data set (100 rows and 1 column)
<http://www.mathworks.com/help/optim/ug/lsqcurvefit.html As clearly stated in the Input Arguments section of the documentation>,...

13 years ago | 0

Answered
fmincon algorithm step by step
In what way do you find the <http://www.mathworks.com/help/optim/ug/constrained-nonlinear-optimization-algorithms.html explanati...

13 years ago | 1

| accepted

Answered
Get multiple solutions from genetic algorithm (ga)
You can use <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 an output function> to get whatever you wa...

13 years ago | 1

Answered
Error using the solve command
You cannot really expect a symbolic solution to such a problem involving, as it does, the complementary error function. Instead,...

13 years ago | 1

Answered
Genetic Algorithm options 'PopInitRange' not working
I believe that the problem is that you have linear constraints. By default, ga uses the gacreationlinearfeasible function to cre...

13 years ago | 2

| accepted

Answered
Trouble achieving the global minimum in the GA
To search every value, suppose your integer values are x(1) = 1:15; x(2) = 4:20; x(3) = -5:5; x(4) = 2:2:100; You h...

13 years ago | 0

Answered
Trouble achieving the global minimum in the GA
Hi, did you try the suggestions in the <http://www.mathworks.com/matlabcentral/newsreader/view_thread/329372#905588 newsgroup di...

13 years ago | 0

Answered
Constraints in Genetic Algorithm - Not Just Input Constraints
<http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-16 Nonlinear constraint functions> allow you to express...

13 years ago | 1

| accepted

Answered
Quadratic constraints problem feasibility
You can solve this problem using fmincon. Give an objective function of zero: fun = @(x)0 Express your nonlinear constrai...

13 years ago | 0

Answered
ga configuration for large problem
I'm sorry, but I do not understand what you are asking. Do you need help in coding a fitness function? Do you need help in codin...

13 years ago | 0

Answered
PI Tunning & Reference Tracking With Genetic Algorithm
You can set the initial range of the genetic algorithm to anything you like, <http://www.mathworks.com/help/gads/population-dive...

13 years ago | 0

Answered
Can Fmincon recover from an error in evaluating the cost function?
The sqp and interior-point algorithms are robust to evaluation failures, as long as the initial point x0 has a well-defined obje...

13 years ago | 0

Answered
Help!!! Mysterious FSOLVE InputOutputModel/vertcat Error!
I am not sure what your code does. Can you please try to execute testvalue = fpiss_fun(x0,param) where x0 is your initial...

13 years ago | 0

Answered
fmincon optimization with min/max criterion - constraint violation
I don't really understand what you are doing, but most fmincon algorithms satisfy bounds at every iteration. <http://www.mathwor...

13 years ago | 0

| accepted

Answered
Restarting Genetic Algorithm after Crash
You can at least get the population from the state structure, and use it as an initial population if you have to restart the opt...

13 years ago | 2

| accepted

Answered
how to solve this linear program with objective function variable in time
I believe you can formulate this problem without time, but with more variables, something along the following lines: z(1) = ...

13 years ago | 0

Answered
can't turn on the jacobian for lsqnonlin
Did you get iterative display? Yes? Then the options were accepted and used by the solver. To check the values of options, do...

13 years ago | 0

Answered
How to change the tolerance of optimization function lsqnonlin()?
The exit message tells you that lsqnonlin used your TolFun: lsqnonlin stopped because the final change in the sum of squares...

13 years ago | 0

Answered
can't turn on the jacobian for lsqnonlin
Did you pass the options to the solver? I mean, when you call lsqnonlin, did you include options something like this: x = ls...

13 years ago | 0

Answered
what is this mean: Gradient must be provided for trust-region algorithm?
<http://www.mathworks.com/help/optim/ug/fmincon.html#f854721 fmincon options> describes the restrictions for the trust-region-re...

13 years ago | 0

| accepted

Answered
How to use Simulated Annealing Algorithm with matrices in the function
Optimization Toolbox and Global Optimization Toolbox minimize scalar functions. If your objective function f is a scalar, not a ...

13 years ago | 0

Answered
genetic algorithm error not enough input arguments
There are several problems with your syntax. The main problem is that all optimization solvers expect the decision variables (th...

13 years ago | 2

| accepted

Answered
Integer Constrained Multi Objective Optimization
Sorry, the gamultiobj function does not accept either integer constraints or nonlinear constraints. Alan Weiss MATLAB math...

13 years ago | 0

Answered
Reusing scores during genetic algorithm optimization
I recommend that you use patternsearch instead of ga. You can set the Cache option to have patternsearch skip recalculating poin...

13 years ago | 1

| accepted

Answered
Levenberg Marquardt taking a long time to converge
You can <http://www.mathworks.com/help/optim/ug/optimization-options-reference.html#f11022 use an output function> to stop lsqcu...

13 years ago | 0

Answered
Suggestion for using global optimization
My best suggestion is to try using patternsearch instead of ga or simulannealbnd. patternsearch is easier to tune, and is almost...

13 years ago | 0

| accepted

Answered
Saving the design variable's history in optimization
This can be done easily using an Output Function. The <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 ...

13 years ago | 0

| accepted

Load more