Respondida
TimeLimit option in Patternsearch being ignored?
I am very sorry to say that you got bit by a bug. We will fix it as soon as we can. Here is the bug. |patternsearch| uses the...

más de 10 años hace | 3

| aceptada

Respondida
Problem using fmincon to find a constrained minimum
The exit message does not indicate a problem; in fact, it indicates that |fmincon| arrived at a true local minimum. Alan Weis...

más de 10 años hace | 0

Respondida
Apparent contradiction in the behaviour of linprog
I do not understand it, but perhaps there is a weakness in the simplex algorithm implementation. I suggest that you use the |'du...

más de 10 años hace | 0

Respondida
Anyone knows whether is possible to perfome an optimization with Global Search using only integer inputs?
The answer is no. |GlobalSearch| uses |fmincon| as its local optimizer, and there is no way to restrict |fmincon| to integer val...

más de 10 años hace | 0

| aceptada

Respondida
How can I determine (optimize) 4 constants or parameters for an equation with 4 variables in Matlab
If you have no constraints (limits on your variables), use <http://www.mathworks.com/help/matlab/ref/fminsearch.html fminsearch>...

más de 10 años hace | 0

Respondida
How to deliver the values got from the objective function to the non-linear constraint function when use the genetic algorithm?
If you can use <http://www.mathworks.com/help/gads/vectorizing-the-fitness-function.html vectorized objective and constraint fun...

más de 10 años hace | 0

Respondida
Can I use the matrix to the variable genetic algorithm?
Sorry, I do not understand your code or your question. If you are using Global Optimization toolbox, then your individuals must ...

más de 10 años hace | 0

Respondida
Parallel optimization with extra parameters (fmincon) using for loop and if then statements
At the very least you need to have an objective function that takes exactly one input argument. Perhaps fun = @(x)objfun(x,...

más de 10 años hace | 0

Respondida
How to save a variable in optimization fitness or constrain function ?
You can use an <http://www.mathworks.com/help/optim/ug/output-functions.html output function>. The example I linked shows how to...

más de 10 años hace | 0

Respondida
Hi , I'm new to matlab with fsolve and I get not enough input arguments everytime. Can someone please as what am I missing. Many Thanks
Perhaps you should pass your parameters as follows: p = parameter(); % get the parameters into the workspace [x,fval] = ...

más de 10 años hace | 0

| aceptada

Respondida
nonlcon : Too many input arguments.
To quote <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-16 the documentation on nonlinear constraints>...

más de 10 años hace | 0

| aceptada

Respondida
Nonlinear parabolic PDE with PDE toolbox
Generally, PDE Toolbox solves problems with <http://www.mathworks.com/help/pde/ug/types-of-pde-problems-you-can-solve.html secon...

más de 10 años hace | 0

Respondida
Ceiling function for objective function in MILP optimization
You can use an extra variable that keeps track of the number of segments of people/28. Here's how. Suppose that |n| is the nu...

más de 10 años hace | 1

| aceptada

Respondida
Optimise scaling factor for 3D points
If I understand you correctly, the transformations you are willing to perform are rotation in 3-D space, and linear scaling in e...

más de 10 años hace | 0

Respondida
What is the largest number of DOFs that MATLAB pdetool can solve without running into memory issues?
In 2-D you can have a pretty large problem. Are you running into issues? In 3-D the solution can run into memory issues. It i...

más de 10 años hace | 0

Respondida
Does MATLAB pdetool support square and brick elements?
No, PDE Toolbox supports only triangles in 2-D and tetrahedral in 3-D. Alan Weiss MATLAB mathematical toolbox documentatio...

más de 10 años hace | 0

Respondida
lsqcurvefit does not change the initial values
Let us look at your function near your initial values. |(1-exp(-(x(1)*2.868+x(3)) = 1| because x(1) is of order 1000 and x(3)...

más de 10 años hace | 0

Respondida
How to set the values for the options in genetic algorithm toolbox?
Why do you need to set any options? Get the program to work, and then, if the default options don't give you a satisfactory solu...

más de 10 años hace | 0

Respondida
fminbnd not adjusting largest initial guess.
You might want to <http://www.mathworks.com/help/optim/ug/when-the-solver-fails.html#br53duy-1 rescale your problem>. This is no...

más de 10 años hace | 0

Respondida
Problem with unconstrained optimization fminunc 'quasi-newton'
If you want to examine the quality of the solution, <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded...

más de 10 años hace | 0

Respondida
ploting optimization of parameters from lsqcurvefit
You can use an <http://www.mathworks.com/help/optim/ug/optimization-options-reference.html#f11022 output function> to keep a his...

más de 10 años hace | 0

Respondida
Passing variable array in fmincon
You are doing well for just a day with MATLAB! All you need to do is set your objective function as the following function handl...

más de 10 años hace | 0

Respondida
genetic algorithm matlab minimization
Perhaps the <http://www.mathworks.com/help/gads/examples/constrained-minimization-using-the-genetic-algorithm.html constrained m...

más de 10 años hace | 0

Respondida
Multi-variable Fitness Function error using Optimization Tool
Global Optimization Toolbox solvers optimize functions of <http://www.mathworks.com/help/gads/computing-objective-functions.html...

más de 10 años hace | 0

| aceptada

Respondida
fmincon optimization of airfoil, gradients
<http://www.mathworks.com/help/optim/ug/optimizing-a-simulation-or-ordinary-differential-equation.html The documentation on opti...

más de 10 años hace | 0

Respondida
How to optimize a multi-variate function based on a constraint?
Perhaps the Optimization Toolbox(TM) <http://www.mathworks.com/help/optim/ug/fmincon.html?searchHighlight=fmincon#busow0u-1 fmin...

más de 10 años hace | 0

Respondida
How to force intlinprog to give integer solution ?
I think that this must be a bug in your Optimization Toolbox(TM) version. Please report the issue to <http://www.mathworks.com/s...

más de 10 años hace | 0

Respondida
optimization function fmincon with a transfer function
You have to be able to evaluate the objective function for |fmincon| to work. So, how do you evaluate a transfer function as a f...

más de 10 años hace | 0

Respondida
Are my optimset conditions functioning correctly?
Unlike other optimization algorithms, |fminsearch| stops when it satisfies BOTH the |TolX| and |TolFun| tolerances, not when it ...

más de 10 años hace | 0

Respondida
fmincon and Active-set; symbolic math toolbox
You have to give problems in the form Optimization Toolbox(TM) solvers require. Please check the syntax for |<http://www.mathwor...

más de 10 años hace | 0

| aceptada

Cargar más