Answered
Multistart maxtime never exceeded
I don't know what is going on. But it sounds to me as if your numerical ODE solution might be getting stuck for some values of t...

13 years ago | 0

| accepted

Answered
Extra variables in target function in fmincon
Take a look at <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html the documentation on passing extra paramete...

13 years ago | 1

| accepted

Answered
Problem with nonlinear curve fitting - lsqcurvefit
If your first run with lsqcurvefit produced a local solution, as it seems, then there is no reason I know that MultiStart would ...

13 years ago | 0

Answered
Genetic algorithm initial popuplation
I believe you need to set your PopInitRange option. See <http://www.mathworks.com/help/gads/genetic-algorithm-examples.html#f146...

13 years ago | 0

Answered
Problem With GA toolbox?
If you have MATLAB R2011b or later, and Global Optimization Toolbox, you can solve this kind of problem using the GA function. S...

13 years ago | 0

Answered
Optimization considering integral constraints (battery power system)
I believe that this is a linear programming problem. Use linprog, not fmincon, for its solution. The formulation of the probl...

13 years ago | 0

Answered
Using matlab full parallelisation with pattern search + parfor
You have touched on a thorny subject. I don't think there is ever a definitive answer. One general recommendation is to parallel...

13 years ago | 0

Answered
How to avoid excessive fluctuations of two nearby variables (say by maximum +-20) in 1 generation during optimization with GA
GA is a strictly feasible solver with respect to bounds and linear constraints. This means that, if you have set the linear cons...

13 years ago | 0

| accepted

Answered
how can I do linear programming with a piecewise objective function?
Optimization Toolbox solvers generally assume that objective functions are smooth, meaning twice differentiable. They can have d...

13 years ago | 0

Answered
Using matlab full parallelisation with pattern search + parfor
I am sorry, I do not understand your question. Are you asking whether it is better to run patternsearch in parallel, with the 'U...

13 years ago | 0

Answered
Can the multiobjective optimization solver GAMULTIOBJ work with least squares?
Thanks for the clarification. Perhaps you can simply use lsqcurvefit or lsqnonlin with a modification to your model functions. T...

13 years ago | 0

| accepted

Answered
Size of GOAL must be equal to the size of F returned by FUN Error
You need to write your code to give results in the format that fgoalattain expects. It wants your objective function to be in th...

13 years ago | 0

| accepted

Answered
How to assign a count constraint to linear optimization
You are looking for mixed integer programming. Unfortunately, there is currently no Optimization Toolbox solver that supports th...

13 years ago | 0

| accepted

Answered
Can the multiobjective optimization solver GAMULTIOBJ work with least squares?
I'm sorry, I do not understand your question. Are you having trouble formulating your objective functions in the form that gamul...

13 years ago | 0

Answered
optimization routine for function that is not smooth and also has a lot of local minimum
If you want to minimize a nonsmooth function, <http://www.mathworks.com/help/gads/choosing-a-solver.html#bsbjg7m the general rec...

13 years ago | 1

Answered
Behavioural constraints in gamultiobj
Unfortunately, gamultiobj does not accept nonlinear constraints. Any work-around would require some programming. Perhaps for ...

13 years ago | 0

| accepted

Answered
using fminsearch to optimize SVM parameters
<http://www.mathworks.com/matlabcentral/newsreader/view_thread/326807#898003 As I mentioned on comp.sys-soft.matlab>, this code ...

13 years ago | 0

Answered
How can i do optimization in matlab?
Let me try to guess what you are doing. You have a bunch of input data you call x, and a bunch of output data you call z. There ...

13 years ago | 0

Answered
Solving constrained non linear system using fmincon doesn't work
This question was answered (satisfactorily, I believe) on <http://www.mathworks.com/matlabcentral/newsreader/view_thread/326736 ...

13 years ago | 0

| accepted

Answered
nonlinear optimization with fminunc
For more information on exit messages, <http://www.mathworks.com/help/optim/ug/exit-flags-and-exit-messages.html see the documen...

13 years ago | 0

Answered
gaplotpareto for 3 objective functions
Without guaranteeing anything, I think you can plot any two objectives using the syntax objectivesToPlot = [1,3]; % or whate...

13 years ago | 4

Answered
Matlab Code Optimization in calulating euclidean distance between vectors
If you use profile to check which part of your code is taking the most time, I guess you will find that the load operations are ...

13 years ago | 0

Answered
Should I even try to solve this enormous problem with fmincon?
I believe that you can approach this problem with fmincon if you prepare it carefully. After the reformulation Matt suggested, t...

13 years ago | 3

Answered
both real and integer variables ga optimization
As Benji said, you cannot perform mixed integer optimization automatically in GA unless you have MATLAB R2011b or later. However...

13 years ago | 0

Answered
How and where I can incorporate constraint i.e., for i=1:36; A(1,i)>=A(1,i+36) for a row vector having 72 entries as input for Genetic Algorithm Optimization Solver.
You need 36 linear inequality constraints, A*x <= b. (I assume your notation A is for the variable usually denoted x, the variab...

13 years ago | 1

| accepted

Answered
Computing sensitivities in FMINCON optimization
Perhaps the first place to look is the Lagrange multiplier structure that is optionally returned: [x,fval,exitflag,output,la...

13 years ago | 0

Answered
Matlab inversion and optimization
I suppose you could try using <http://www.mathworks.com/help/matlab/ref/interpn.html interpn> or <http://www.mathworks.com/help/...

13 years ago | 0

Answered
Speeding up exhaustive search
If I understand you correctly, you have 11 possible values for each component, so are planning to execute 11^10 evaluations. Tha...

13 years ago | 0

| accepted

Answered
how to store the intermediate result when using fmincon
Use the <http://www.mathworks.com/help/matlab/ref/xlswrite.html xlswrite> function to export data to an Excel file. Alan Weis...

13 years ago | 0

Load more