Answered
Problem with optimizing a function which has indirect variables (variables are a set of data that is generated with the help of another function)
I am not completely sure, but it appears that you are trying to minimize a sum of squares. If so, then take a look at <http://ww...

11 years ago | 0

Answered
Hey. I'll like to know which optimization method the MATLAB function linprog uses? How do I check?
|linprog| has several different algorithms. You can set the algorithm using the |Algorithm| option. The default algorithm is |'i...

11 years ago | 0

Answered
What is the meaning of function count in the genetic algorithm in matlab optimization?
When you use a nonlinear constraint in |ga|, the solution algorithm is different than without the nonlinear constraint. See <htt...

11 years ago | 0

| accepted

Answered
stopping fmincon from termenation before finding the minimum
If the solution depends strongly on the initial point, then either there are a lot of local minima, or your objective is not so ...

11 years ago | 1

Answered
Problem with optimization problem when using constraints
As explained in <http://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html Optimizin...

11 years ago | 0

Answered
Is there a faster version of the matlab function erfi?
I don't know of any way to speed |erfi|. You can call |erfi| on a 3-D array all at once (you don't have to loop through the indi...

11 years ago | 0

Answered
Inconsistent results produced by lsqcurvefit using the same setting and initial starting points
Thank you for providing complete data so that diagnosing your problem was easy. You never passed in your custom start point s...

11 years ago | 0

| accepted

Answered
Optimize a group of parameters to minimize the delay which is constrained by a second-oder ODE, PLEASE HELP!
Without reading your problem, perhaps you can find some help in <http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel....

11 years ago | 0

| accepted

Answered
How can I write the objective function of the following linear optimization problem?
If you have Optimization Toolbox, you can use the |<http://www.mathworks.com/help/optim/ug/linprog.html linprog>| function to so...

11 years ago | 0

Answered
How to define the different Variables in GA optimization function?
Perhaps <http://www.mathworks.com/help/gads/constrained-minimization-using-ga.html this simple documentation example> will help....

11 years ago | 0

Answered
Optimisation problem for bivariate functions
|<http://www.mathworks.com/help/matlab/ref/fminsearch.html fminsearch>| solves multivariable minimization problems. Also, if you...

11 years ago | 0

Answered
How does the parallel genetic algorithm evaluates the initial population?
|ga| does an initial function evaluation in part to determine if the fitness function errors or has other problems. Once a singl...

11 years ago | 0

Answered
How to find the feasible solution space of a nonlinear constraint optimization problem?
I am not sure what you are asking. It seems to me that you check the constraints by evaluating |hk(X)| and |gi(X)|. But you a...

11 years ago | 0

Answered
I'm using a GlobalSearch (gs) function to find the global minimum for my function. But i get a errors like "PROBLEM structure should have a non-empty X0 field" and "Arguments must occur in name-value pairs".
It would have been much easier to read your question if you had marked your code with the |{} Code| button. But in any case i...

11 years ago | 0

| accepted

Answered
Error in travelling salesman problem cost function
It would be easier to read your code if you marked it with the |{} Code| button. And it would be easier to diagnose your problem...

11 years ago | 0

Answered
How to use input command "T_amb = input('Enter Ambient Temperature in (C) =');" with lsqnonlin function?
You need to write your script so that the values that get input become parameters that are treated as constants in the objective...

11 years ago | 1

| accepted

Answered
maximize a log-likelihood function
You are quite right, the way to keep the function from stepping out of bounds is to set the bounds exactly as you guessed: l...

11 years ago | 0

Answered
How to handle simulation error within optimization (gamultiobj)
Is there a reason that you are using |ga| instead of |patternsearch|? The |patternsearch| solver is quite <http://www.mathworks....

11 years ago | 0

Answered
convergence of fsolve solution stepsize
The exit message that you report does not indicate an error or a problem. |fsolve| is simply telling you why it stopped. See the...

11 years ago | 0

Answered
intlinprpog: "Solver stopped prematurely. Integer feasible point found." How to find optimal solution?
You are asking a difficult question. There are some <http://www.mathworks.com/help/optim/ug/tuning-integer-linear-programming.ht...

11 years ago | 0

Answered
what is the difference between the Objective function and the fitness function
The terms are synonymous. The <http://www.mathworks.com/help/gads/computing-objective-functions.html typical terminology of an o...

11 years ago | 0

| accepted

Answered
How to create simulated annealing objective function?
The simulated annealing solver is based on continuous variables by default. Perhaps you could make it work for a custom data typ...

11 years ago | 0

Answered
Regarding use of assempde in the following code.
To create 2-D geometry, see <http://www.mathworks.com/help/pde/ug/three-ways-to-create-2-d-geometry.html the documentation>. ...

11 years ago | 0

Answered
how can i set the boudary condition ? that changes its temperature with respect to time?
It depends on your MATLAB version. For R2014b or R2015a, follow <http://www.mathworks.com/help/pde/ug/nonconstant-boundary-objec...

11 years ago | 0

Answered
I am getting an error message 'not enough input arguments' on running Rosenbrock's function using the optimization tool box solver 'fmincon' solver. How to correct it?
For more help, please show us your exact Rosenbrock function, your exact and full |fmincon| call, and the exact output that you ...

11 years ago | 0

Answered
Optimizing a Black Box function
You have three variables: flap, elevator, and throttle. I would try to minimize drag by controlling all three variables at once,...

11 years ago | 1

Answered
Is there any way to derive the analytic gradient of constraint function in "fmincon" or we have to input it manually ?
I am not sure what you are asking. If you would like MATLAB to calculate gradients for you, and you have Symbolic Math Toolbox, ...

11 years ago | 0

Answered
fsolve not converging fast enough
You might find some <http://www.mathworks.com/help/optim/ug/solver-takes-too-long.html inspiration here>. <http://www.mathw...

11 years ago | 0

Answered
How to use the optimization toolboox for a value at risk based problem?
You probably just didn't pass your extra parameters properly. I assume that you have |cv| and |m1| in your workspace, and you wa...

11 years ago | 0

| accepted

Answered
How to use minlp with non analytic optimization function
You did not state how you included the constraints such as x(10) <= x(19); I hope you used <http://www.mathworks.com/help...

11 years ago | 0

Load more