Respondida
How can I find the optimal point of two fitness functions
First of all, to maximize a fitness function, <http://www.mathworks.com/help/gads/computing-objective-functions.html#brdvvgw min...

más de 10 años hace | 0

Respondida
Problem with input integer variable indices in GA
Mixed integer programming for |ga| was introduced in <http://www.mathworks.com/help/gads/release-notes.html R2011b>. If your MAT...

más de 10 años hace | 0

Respondida
'Not enough input arguments' when I am defining a function
I think that you have a misunderstanding about what |intlinprog| does. It does NOT minimize nonlinear functions, such as a funct...

más de 10 años hace | 0

Respondida
fminunc optimisation values not always decreasing
I suggest that you <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded.html#br44i8w consult the documen...

más de 10 años hace | 0

Respondida
simulated annealing with constraints or shifting to genetic algorithm
I do not understand exactly what problem you are trying to solve. If it can be formulated as an integer programming problem, per...

más de 10 años hace | 0

Respondida
How can I solve MINLP optimization using ga?
Indeed, |ga| wants a single row vector of decision variables. This is easily arranged, as follows (or something similar): f...

más de 10 años hace | 0

Respondida
Combining two optimization functions
Without reading your code in detail, I can tell you that the syntax error is because you have defined |Objective| as a function ...

más de 10 años hace | 0

Respondida
Patternsearch polls out of mesh points
I am not sure why this is happening. I wonder if you can perform a bit more analysis on the points |patternsearch| visits, perha...

más de 10 años hace | 0

Respondida
error in fsolve solving nonlinear equations
Well, you gave |x0 = [-5;5]|, but your equation has components |x(1)| through |x(5)|. You either need to have equations involvin...

más de 10 años hace | 1

| aceptada

Respondida
how to get numerical solution to system of non-linear equations?
If you have Optimization Toolbox, look into <http://www.mathworks.com/help/optim/systems-of-nonlinear-equations.html Systems of ...

más de 10 años hace | 1

Respondida
Maximize loglikelihood function GARCH(1,1)
You might just be running into a limitation of |fminsearch|, which is not a very robust solver. If you have access to Optimizati...

más de 10 años hace | 0

Respondida
How to create custom Mesh for PDE model
I think that you can create your own mesh as long as you stick with the following two rules: * Don't use a |PDEModel| to repr...

más de 10 años hace | 0

Respondida
What is a appropriate method to maximize function subject to nonlinear equality constraint? can we use fmincon?
Perhaps Walter's answer satisfied you, but it seems to me the question was how to maximize rather than minimize a function, subj...

más de 10 años hace | 1

Respondida
fminimax option iter not working
What are the number of elements in |x0|? If you have more than 49, then your function might never take even the first step becau...

más de 10 años hace | 0

Respondida
Optimization of a function with constraints containing 15 variables
Do not use nonlinear constraint functions to effect linear constraints and bounds. Your first five nonlinear inequality constrai...

más de 10 años hace | 0

| aceptada

Respondida
what might lead to "constraint function returned Nan"?
|fmincon| tried to take a step, and when it evaluated your nonlinear constraint functions at the new point, at least one of them...

más de 10 años hace | 0

Respondida
How do you retrieve the current solution if you stop the Genetic algorithm function?
I believe that if you click the Pause button you will be able to access the current state of the population, but if you click St...

más de 10 años hace | 0

Respondida
Using Genetic Algorithm with bounds and non linear constraints
Your |simple_constraint| function should not return function handles for |c| and |ceq|, but instead should return double values:...

más de 10 años hace | 0

Respondida
Production Optimization using MILP
What do you think the decision variables are, namely, the variables that the solver will change to minimize your cost? Do they i...

más de 10 años hace | 0

Respondida
How to find exponent of a function?
I suppose that you have some data for |d| and |D|, and maybe even |Y|, and are asking how you can fit |n| and |Y| to the data. I...

más de 10 años hace | 0

Respondida
How do I speed up the optimization of a tomographic imaging system with genetic algorithm?
I believe that the best way to speed any genetic algorithm optimization is to change the solver from |ga| to |patternsearch|. In...

más de 10 años hace | 0

Respondida
fmincon and Parallel Computing
The automatic parallel computing in |fmincon| will not help, because you are providing function gradients, and that is all the p...

más de 10 años hace | 0

| aceptada

Respondida
problem with writing uncommon constraint function in genetic algorithm???
Take a look at the <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-16 documentation of nonlinear constr...

más de 10 años hace | 0

Respondida
Non Linear Programming Optimization problem
I do not understand what you are trying to do, but if you have Optimization Toolbox, you might be able to use its nonlinear prog...

más de 10 años hace | 0

Respondida
Fit an ellipse to a set of boxes.
# Parametrize an ellipse with a vector |x|, whose components represent the eccentricity, size, and center (4 dimensions), or any...

más de 10 años hace | 0

Respondida
Error message when using optimization toolbox
It is not clear to me how you are calling an optimization routine based on your Ebola function. At the very least, an objecti...

más de 10 años hace | 0

Respondida
Solving these two equations using Fsolve is giving the wrong answer don't understand why ?
Your tolerances don't make much sense. See <http://www.mathworks.com/help/optim/ug/tolerances-and-stopping-criteria.html the doc...

más de 10 años hace | 0

Respondida
Vectorization of nested for loops for following code
# Why all the |double| calls? It seems to me that they are completely superfluous. # MATLAB is a matrix language. I believe tha...

más de 10 años hace | 0

Respondida
Can I solve 5 partial differential equations (PDEs), which I wrote in Fortran, using Matlab?
It is not clear to me what type of equations you have, nor whether you have a Partial Differential Equation Toolbox license. PDE...

más de 10 años hace | 0

Respondida
Exporting from PDE toolbox to workspace
The question you raise is how to export for the PDE app to the workspace. The app is a visual method of solving PDEs. You can...

más de 10 años hace | 0

Cargar más