Answered
fsolve a output variable is egual equal to the initial value I assigned
I count 9 equations, not 8: function F = bottom19(b) global Fc0 ke k1 k2 k3 k4 k6 e1 e2 e3 e4 e6 T Fsupp Q0 Pco20 R ...

13 years ago | 0

Answered
Can fmincon (optimization tool) be used over one variable.?
Yes. However, I am not sure that this is the answer you wanted. Feel free to ask again with more detail. Meanwhile, you might...

13 years ago | 0

| accepted

Answered
Symbolic Mathematics with Optimization Toolbox Solvers
You will find the answer to your questions in <http://www.mathworks.com/help/optim/ug/constrained-nonlinear-optimization-example...

13 years ago | 0

Answered
Decrease step size in lsqnonlin() for presentation.
So you want a less efficient solver, one that takes more function evaluations to find an optimum? I think you are making a mista...

13 years ago | 0

| accepted

Answered
mixed binary interger linear programming
I am sorry to say that, currently, there is no Optimization Toolbox solver that handles mixed integer linear programming. The...

13 years ago | 0

| accepted

Answered
Solving algebraically not numerically
I am not sure I understand what you want. If you want a routine that takes your function f(X1,X2) as an input and finds the best...

13 years ago | 0

Answered
Constraint syntax of a matrix variable in optimization
Perhaps a sneak peek at some yet-to-be-released documentation will make things clearer: ----------------- Matrix Arguments...

13 years ago | 2

Answered
how can i write the objective function with constraint given?
This is a mixed integer nonlinear programming problem. The only solver in MATLAB toolboxes that addresses this type of problem i...

13 years ago | 0

| accepted

Answered
Linprog to maximise a function
I'm sorry, I do not understand why you are dissatisfied with the result. If the result satisfies all the constraints, then what ...

13 years ago | 0

Answered
Global Search optimization error
The warning indicates that you are using the fmincon active-set algorithm. The first thing I would try is to use the interior-po...

13 years ago | 0

Answered
How to add some special constraints in ga optimization?
The answer to your specific question is yes, of course, you can use if-else or any other MATLAB statement in a nonlinear constra...

13 years ago | 0

| accepted

Answered
Numerical integration with nonlinear least squares curve fitting?
Your function NumInt returns a solution structure S. Your lsqcurvefit call takes (xdata,ydata) arguments as t and y. Did you do ...

13 years ago | 0

Answered
Limits within function and optimization with accurracy
This type of constraint is called a bound. Take a look at <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkg...

13 years ago | 0

Answered
Script as Objective Function in lsqcurvefit (Optimization tool)
I still do not see what is going on here. What is the error you obtain? I just noticed that the x0 parameter is one-dimension...

13 years ago | 1

| accepted

Answered
nonlinear constraints in fmincon
There is a <http://www.mathworks.com/help/optim/ug/writing-constraints.html#btfdwb7 section in the documentation> dealing with e...

13 years ago | 0

| accepted

Answered
Script as Objective Function in lsqcurvefit (Optimization tool)
I don't know what is going on. Can you please give your function call, something like [x,res] = lsqcurvefit(fun,x0,xdata,yda...

13 years ago | 0

Answered
Problem with Constrained Optimization with nonlinear constraints
fmincon handles vector arguments such as x. <http://www.mathworks.com/help/optim/ug/when-the-solver-fails.html#br44i73 This sect...

13 years ago | 0

| accepted

Answered
parameterized function of quadgk with another array input argument
I think you just need to make an anonymous function for your integral: @(z)myfun(x,y,z) If myfun accepts matrix arguments...

13 years ago | 0

Answered
Hello, I am trying to fit some data points with an exponential equation.
The documentation has <http://www.mathworks.com/help/matlab/math/example-curve-fitting-via-optimization.html a solved example> t...

13 years ago | 0

Answered
Problem using lsqnonlin on Six-hump camel back
The problem is a misunderstanding of what lsqnonlin does. It attempts to minimize the sum of squares of the components of the ob...

13 years ago | 0

Answered
Fix variables to real values when using lsqnonlin optimizing
The solver returns complex numbers only when your objective function returns complex numbers. There might be something you can d...

13 years ago | 0

| accepted

Answered
constrained fitting using lsqcurvefit / fmincon
fmincon can satisfy your conditions, which are, I believe: 0 <= x(4) <= 1 0 <= x(5) <= 1 0 <= 1 - x(4) - x(5) <= 1, whic...

13 years ago | 1

Answered
Best Combination of Parameters via Mathematical Optimization
Your objective function looks discontinuous. So according to the <http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#...

13 years ago | 0

Answered
Call GA in a loop to customize stop criteria
If you want to create your own stopping criterion, I suggest you disable the existing criteria and insert your own via an <http:...

13 years ago | 1

Answered
output function for gamultiobj (multiobjective optimization)
I'm not sure what you are asking. The solution x contains the Pareto points, and f contains the response values at those points....

13 years ago | 1

| accepted

Answered
How do I plot the values at every iteration of an optimization algorithm against the value of the function to be optimized
Use an output function. See <http://www.mathworks.com/help/optim/ug/optimization-options-reference.html#f11022 this link>. Al...

13 years ago | 2

Answered
Failure in initial user-supplied nonlinear constraint function evaluation. FMINCON cannot continue.
You have a few problems. A nonlinear constraint function must return both the inequality constraints and the equality constraint...

13 years ago | 1

Answered
Genetic Algorithms---Mixed Integer Optimization problem with binary variables
I suspect your version of MATLAB is older than R2011b, when mixed-integer GA was released. If your version is R2011b or later...

13 years ago | 0

Answered
How to determine the stationary points of a fitted second order model using Matlab?
Without a bound on the variables X1 through X4, there is no minimum of the model response. The fitted model has negative eigenva...

13 years ago | 0

| accepted

Answered
Can Matlab be used to perform the optimization of a second order model to determine the optimum points?
You can find a minimum of a function using fminsearch. If you have optimization Toolbox, use fminunc. You can find a maximum ...

13 years ago | 0

| accepted

Load more