Answered
Pattern search seems to evaluate 4*N times the function in each iteration ... ?
I believe that the answer is that MADS has the behavior that when it finds a better point in a poll, it immediately tries pollin...

10 years ago | 1

| accepted

Answered
Using fminunc with blackbox
fun = @obj_b3; x0 = [0;0]; x = fminunc(fun,x0) You might want to consult the documentation on <http://www.mathworks.c...

10 years ago | 1

| accepted

Answered
How to formulate a multi-period binary optimization problem in Matlab with decision variables which are not part of the objective function?
I am afraid that I know nothing about CPLEX, nor its interface with MATLAB, so I cannot help you there. If a variable does no...

10 years ago | 1

Answered
Genetic Algorithm taking too long to optimize
I think that the best thing to do is to not use |ga|, but instead use |patternsearch|, possibly starting from a variety of initi...

10 years ago | 0

| accepted

Answered
PDE with non-linear boundary conditions
Actually, now that I look at it more closely, you have the boundary conditions given as |'u'| and |'u./1000'|. This is incorrect...

10 years ago | 0

Answered
How to get the optimized population data after stopping the gamultiobj function while using the HybridFcn fgoalattain
I do not know what is going on with your problem. However, you are free to add a line to your plot function that causes it to ou...

10 years ago | 0

Answered
How do I add time dependence to linprog
I am not sure that I fully understand your model, but I wonder if <http://www.mathworks.com/help/optim/examples/optimal-dispatch...

10 years ago | 0

Answered
Best penalty lower than best individual in genetic algorithm
I believe that your interpretation of the meaning of the <http://www.mathworks.com/help/gads/mixed-integer-optimization.html#bs1...

10 years ago | 0

| accepted

Answered
Problem with initial guess in Newton-Raphson iteration method
I don't know of anything that is generally applicable, and don't understand your case well enough to give you reasonable ideas. ...

10 years ago | 0

Answered
How can I perform optimization, having 5 unknown parameters i.e. input and a known parameter i.e. output using genetic algorithm in Matlab, can anyone help me?
I suggest that you look at the <http://www.mathworks.com/help/gads/genetic-algorithm.html documentation of the genetic algorithm...

10 years ago | 0

Answered
pdetool concentration profile simulation
You can set different D in the PDE app by selecting *PDE > PDE Mode* and then double-clicking each region to set its coefficient...

10 years ago | 1

| accepted

Answered
How can I run GA without using Optimization tool box
Your question "How can I run GA without using Optimization tool box" does not make sense to me, given that your stated question ...

10 years ago | 0

Answered
Nonlinear optimization problem in Matlab
Are you really allowed to take any d you want? If so, why not just take any R in SO(3), maybe the identity, and take d to be the...

10 years ago | 0

Answered
Lsqnonlin failure optimization Global Local
It sounds like the error is coming from your objective function. Can you show us your objective, please? Alan Weiss MATLAB...

10 years ago | 0

Answered
How can i write Xijkm binary decision variable for i=1:200 j=1:2 k=1:4 and m=1:4 ? Many thanks
I assume that you are using |intlinprog| to optimize your problem, as this is too many variables for |ga| to be effective. Yo...

10 years ago | 0

Answered
How can I connect genetic algorithms with simulink?
You might find <http://www.mathworks.com/matlabcentral/answers/92888-how-do-i-run-a-model-in-simulink-from-my-matlab-function-wh...

10 years ago | 0

Answered
optimization problem in hydrogen production price?
I am sorry, but I do not understand your question. Are you looking for an optimal multiperiod allocation? Perhaps <http://www.ma...

10 years ago | 0

| accepted

Answered
fsolve - system is “unwilling” to move far enough from the initial configuration to find the minimum
Your tolerances are not set in a way that is likely to help the solver. <http://www.mathworks.com/help/optim/ug/tolerances-and-s...

10 years ago | 0

Answered
optimization of location using GA
It would help me to understand what you are doing, and might help you, if you would do the following: * Define exactly what y...

10 years ago | 0

| accepted

Answered
Matlab simulated annealing, how many dimensions can it handle ?
There is no inherent limit on dimension in the simulated annealing algorithm. But it is generally not a very efficient algorithm...

10 years ago | 0

Answered
how can ı define binary decision variable ?
Take a look at the <http://www.mathworks.com/help/optim/examples.html#d0e78 MILP Examples>, especially the <http://www.mathworks...

10 years ago | 2

Answered
What is the best numerical optimizer for this minimization problem?
If you have Optimization Toolbox(TM), as I suppose you do because you used |lsqnonlin|, then take a look at the <http://www.math...

10 years ago | 0

Answered
Linear Inequality Constraints not satisfied while using the GA. Premaure Convergence of the GA
Your objective function |mat_eqn| is linear. So why are you trying to use |ga| instead of |intlinprog|? In almost every case, |i...

10 years ago | 0

Answered
Is it possible to put Heuristic (starting) feasible solution into intlinprog function?
Sorry, at the moment I believe that is not possible. There is a chance that the following could prove useful. If you have a f...

10 years ago | 0

Answered
How to define constitutive properties (c-coefficient matrix) by element in 3d pdetool
<http://www.mathworks.com/help/pde/ug/pde-coefficients-in-function-form-3-d.html The details of writing nonconstant coefficients...

10 years ago | 0

| accepted

Answered
How to use the solve command to solve a system of equations with Cos and Sin in them?
Your equations do not match your description. For a translation in the _x_ direction, you need to make the _tx_ argument appear ...

10 years ago | 0

Answered
Need helps in facility location problem using ILP
The first step in making a model for solution by Optimization Toolbox is to put all of your decision variables into one vector o...

10 years ago | 0

Answered
Global search and Handle function specification
You might want to try the following line of code instead: sixmin = @MSM_likelihood; The function handle for |fmincon| mus...

10 years ago | 0

Answered
What does Tolcon, Tolfun and Diffminchange do?
You might check the <http://www.mathworks.com/help/optim/ug/fmincon.html#input_argument_options documentation of |fmincon| optio...

10 years ago | 0

| accepted

Answered
how can i apply fitness function of GA to binary chromosomes each bit in the chromosomes represent weather to put antenna in this location or not the fittness function of coverage and cost
I think that you are asking how to use <http://www.mathworks.com/help/gads/mixed-integer-optimization.html integer optimization ...

10 years ago | 0

Load more