Respondida
How can I find the Pareto optimal boundary for three sets of data?
I am not sure of the most efficient way to do this. However, in principle all you need to do is to compare the 3-D values pairwi...

alrededor de 12 años hace | 0

Respondida
Help with setting up an optimization problem
If you need to pass the data, see <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html Pass Extra Parameters>. ...

alrededor de 12 años hace | 0

| aceptada

Respondida
Does fmincon satisfy the non linear and linear constraints at each step?
# No fmincon algorithm is guaranteed to satisfy nonlinear inequality constraints at intermediate iterations, only bound constrai...

alrededor de 12 años hace | 0

Respondida
How to change this piece of code from GA to IntLinProg
intlinprog does not accept nonlinear constraints. Also, it accepts only linear objective functions. Alan Weiss MATLAB math...

alrededor de 12 años hace | 0

| aceptada

Respondida
Error in fmincon: infinite loop?
I suggest that you set iterative display instead of turning the display off, and I also suggest that you use the interior-point ...

alrededor de 12 años hace | 1

Respondida
Something strange with the next population generation in GA.
Since you cannot provide code, there is no way for us to check what might be happening. All I can suggest is that you put <http:...

alrededor de 12 años hace | 0

| aceptada

Respondida
fmincon returns wrong length
What is your x0 input to fmincon? The returned solution x has the same size as x0. Alan Weiss MATLAB mathematical toolbox ...

alrededor de 12 años hace | 0

| aceptada

Respondida
Issue formatting MATLAB results output
I think that you misunderstand the result. The x variable is in your workspace after intlinprog finishes. It contains the result...

alrededor de 12 años hace | 0

| aceptada

Respondida
fmincon PI-controller of nonlinear System
You can include constraints on acceleration as nonlinear constraints. For example, if you want acceleration to be less than 5, y...

alrededor de 12 años hace | 0

| aceptada

Respondida
Error when using lsqnonlin
Your settings of TolFun and TolX don't make sense. They should not be smaller than 1e-14, and should probably be much larger. Se...

alrededor de 12 años hace | 0

Respondida
How to make Integer (1 0) constraints in the gamultiobj. solver?
gamultiobj does not allow for integer constraints. Sorry. If you only have a few binary variables, say up to 20 or so, then I th...

alrededor de 12 años hace | 0

Respondida
How does the ga in matlab give exitflag 1 before reaching the stall generation limit ?
Thank you for posting the options, GA call, and returned info. As you realize, having a nonlinear constraint function, even o...

alrededor de 12 años hace | 0

Respondida
Display resnorm at each iteration of lsqcurvefit?
The residual is returned in the iterative display. For the trust-region-reflective algorithm (default), the heading is f(x). For...

alrededor de 12 años hace | 0

Respondida
Show an expression on each iteration of the optimization
Write a function named Jurgenoutput consisting of the following: function stop = Jurgenoutput(z,optimValues,state) stop = ...

alrededor de 12 años hace | 2

| aceptada

Respondida
Matlab Optimization Toolbox value selection
If you want ALL your final variables to be exactly two decimals, you can use patternsearch as follows. * Set the ScaleMesh op...

alrededor de 12 años hace | 0

Respondida
How does the ga in matlab give exitflag 1 before reaching the stall generation limit ?
I don't understand how you are seeing what you report. My reading of the GA code shows that it should give an exit flag of 0 whe...

alrededor de 12 años hace | 0

Respondida
Minimizing a function with vector input
This sounds like a job for <http://www.mathworks.com/help/optim/ug/lsqnonlin.html lsqnonlin>. In general, for help choosing a...

alrededor de 12 años hace | 0

Respondida
real coded genetic algorithm
<http://www.mathworks.com/help/gads/computing-objective-functions.html#brdvvgw The documentation> shows how to maximize instead ...

alrededor de 12 años hace | 0

Respondida
Question about 2 output optimization
This sounds straightforward to solve in Optimization Toolbox. You have a nonlinear equality constraint (the value of the second ...

alrededor de 12 años hace | 3

| aceptada

Respondida
Setting Linear constraints GA
There is <http://www.mathworks.com/help/optim/ug/writing-constraints.html#btqvfel documentation about OR constraints here>. T...

alrededor de 12 años hace | 0

| aceptada

Respondida
patternsearch returns result violates equality constraint
It is not clear to me whether you are using the A, b arguments or the Aeq, beq arguments. The latter are for the equality constr...

alrededor de 12 años hace | 1

Respondida
optimization procedure convergence and "norm of step"
Your problem seems to have stalled. You might want to use some of the suggestions in < Too Many Iterations or Function Evaluat...

alrededor de 12 años hace | 0

Respondida
Tips to avoid genetic algorithms premature convergence
There is no option maxGenerations. Perhaps you mean Generations. If you set Generations to 10, then you should never have more t...

alrededor de 12 años hace | 0

Respondida
How can I limit maximum value of yy axis of the gaplot fcn?
While you cannot do this so easily while the optimization is running, you can call ylim([10,100]) at the end of the optim...

alrededor de 12 años hace | 0

| aceptada

Respondida
how to tweak fmincon into yielding Global Minimum
I think that the following two lines are out of order: for i= 1:m f=0; The way you have it, f is reset for the first...

alrededor de 12 años hace | 1

Respondida
get exitflag number of iterations and function evaluations and final value of the gradient vector of the objective function
If you are using the GUI (the Optimization app, as it is called these days) then after you get your solution choose <http://www....

alrededor de 12 años hace | 0

| aceptada

Respondida
Does line search in "fminunc" use the directional derivatives? And can this be turned off?
If you look at equation 6-14 in <http://www.mathworks.com/help/optim/ug/unconstrained-nonlinear-optimization-algorithms.html#brn...

alrededor de 12 años hace | 0

| aceptada

Respondida
Plotting x vector of fmincon
Use an <http://www.mathworks.com/help/optim/ug/output-functions.html output function> to save the values of x. There is more det...

alrededor de 12 años hace | 0

| aceptada

Respondida
How to solve these type of equation using matlab ?
In general I don't think that you can solve this kind of problem, because you have just 3 unknowns but you have 9 equations (one...

alrededor de 12 años hace | 0

Respondida
fgoalattain with external code: x does not change
It is possible that you are running into an issue described in <http://www.mathworks.com/help/optim/ug/optimizing-a-simulation-o...

alrededor de 12 años hace | 1

| aceptada

Cargar más