Answered
Hello all, I would like to kindly ask for your help, if you are familiar with optimization how i can modeling this function by minimize f
I am not sure what you are asking. Do you have a fixed array and you are trying to scan the array and find the location and valu...

11 years ago | 0

Answered
Not enough input arguments Error in optimization
You need to write your objective function in the <http://www.mathworks.com/help/optim/ug/writing-objective-functions.html#brhkgh...

11 years ago | 1

| accepted

Answered
How to write the nonlinear constraints in a correct way?
I am afraid that you didn't quite understand the example. The point is that an |x| variable has many components, and in this exa...

11 years ago | 1

| accepted

Answered
Ask for fitting data points by power function
Your data as given doesn't lead to a very good fit. Here is what I found: xdata = [ 5.45 6.2 10.15 10.9 11.65 15.55 16.3 17...

11 years ago | 0

Answered
how to use fmincon in matlab need an example wise explanation
I suggest that you look at the <http://www.mathworks.com/help/optim/ug/example-nonlinear-constrained-minimization.html Getting S...

11 years ago | 0

Answered
Constraint in optimization problem
I am sorry, but I do not understand your constraint. Are "consecutive" in one vector? I see nothing wrong with vector1, vector3,...

11 years ago | 0

| accepted

Answered
how to find the minimum value based on two independent value
As with the other comments you have gotten, I am going to assume that there is a function, say myfun(x1, x2), that gives you you...

11 years ago | 0

Answered
Missing data in input matrix - Using fminsearch
It is possible that you will have to remove and then reintroduce variables. For example, suppose that your control variables are...

11 years ago | 0

| accepted

Answered
GA Ignores Initial Population and Initial Scores
There is not much reason to think that |ga| can help with this function. Generally, integer |ga| handles up to about 100 variabl...

11 years ago | 0

| accepted

Answered
CVX Optimization Problem Plz Help >_<
It is possible that you have a quadratic programming problem. If so, look at the <http://www.mathworks.com/help/optim/quadratic-...

11 years ago | 0

Answered
Hiiii having problem in coding optimazation function
It is very hard to understand you, so my comments might be off base. I am not sure that I understand what your control variables...

11 years ago | 0

Answered
Using fsolve inside an other fsolve
I am not sure that I understand you. How many times do you want to run |fsolve|? I suppose that you have a sequence of equations...

11 years ago | 0

| accepted

Answered
how to find inputs based on desired outputs?
If you have Optimization Toolbox, then use the |lsqnonlin| solver. Your objective function is fun = @(x)Bfunction(x)-D wh...

11 years ago | 0

| accepted

Answered
Stopping intlinprog if fval isn't changing
You probably have MATLAB R2014a, which does not have output function support for |intlinprog|. See <http://www.mathworks.com/hel...

11 years ago | 0

Answered
Best way to solve my equation.
I would use fzero or fminbnd, not fminsearch. For both fminbnd and fzero, you would do well to give a finite initial interval (y...

11 years ago | 0

Answered
How Do I Use A Trained Ensemble Model In Optimization Toolbox?
I don't understand what you mean. Boosting is a method of optimization that tries to minimize the "loss". I mean, creating a boo...

11 years ago | 0

Answered
About optimization tool box question
I am not sure that I understand the difference between p_i and p_i^h. But the constraints look like <http://www.mathworks.com/he...

11 years ago | 0

Answered
How to create STOP button in GUI to stop my GA optimization?
Have your GUI call ga with <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 an output function>. As exp...

11 years ago | 0

| accepted

Answered
GA optimization how to get every generation as output to plot?
Take a look at the available <http://www.mathworks.com/help/gads/release-notes.html plot functions>. If there is no built-in ...

11 years ago | 1

Answered
fmincon and exitflag = -2 or 2 / non respect of constrained conditions
If you have a Global Optimization Toolbox license, you could try MultiStart. If you like, you can filter the initial points so t...

11 years ago | 0

Answered
A problem in determining the mutation rate
<http://www.mathworks.com/help/gads/genetic-algorithm-options.html> states "Uniform (mutationuniform) — Uniform mutation is a tw...

11 years ago | 2

| accepted

Answered
How to write constraints for a linear programming problem shown below? [Unable to write constraints even after referring to matlab help guides]
You would do yourself a favor to read an <http://www.mathworks.com/help/optim/ug/example-linear-programming.html introductory ex...

11 years ago | 0

Answered
Fmincon question:1.contraint violation but with no warning/error; 2. difference between the final output of Fmincon (the X in X=fmincon()) and the intermediate x
It depends on how you are giving the upper bound. Is ub = 2*ones(size(x0)) or is ub = 2 ? You need to give an uppe...

11 years ago | 1

Answered
Fmincon in Matlab 2014a
This is happening because you are running a different algorithm than you expect. <http://www.mathworks.com/help/optim/release-no...

11 years ago | 0

Answered
How to do particle swarm optimization for this problem?
If you have a recent version of Global Optimization Toolbox (R2014b) then you can use the <http://www.mathworks.com/help/gads/pa...

11 years ago | 0

Answered
How does penalty factor is applied?
It is difficult to know what you are asking. <http://www.mathworks.com/help/gads/mixed-integer-optimization.html The documentati...

11 years ago | 0

Answered
Use fmincon to solve very large optimization problem
I'm sorry, but as far as I know there is not way to speed the process. If you have not declared all your symbolic variables as r...

11 years ago | 0

| accepted

Answered
Optimizing six Parameters against deflection in MATLAB
I don't know what an ABD matrix is or what an orthotropic place is. But to learn about Optimization Toolbox, I suggest that you ...

11 years ago | 1

| accepted

Answered
Using an output from a function as a constraint in an optimisation problem
Let's suppose that your function is [c,fval] = myobj(x) You want |c| to be less than 5, say, and fval to be minimized. ...

11 years ago | 0

| accepted

Answered
Dynamic stopping criteria Intlinprog
You can write an <http://www.mathworks.com/help/optim/ug/intlinprog-output-functions-and-plot-functions.html output function> to...

11 years ago | 1

Load more