Answered
the fmincon sets a wrong dimension for my decision variables and that gets me errors on dimension disagreement.
fmincon takes the dimensionality of the problem from x0. Give the correct x0 and you will have no dimensionality problems. Al...

12 years ago | 1

| accepted

Answered
Linprog Problem--Exiting: The constraints are overly stringent; no feasible point exists.
<http://www.mathworks.com/help/optim/ug/when-the-solver-fails.html#br44i73 The documentation has some suggestions> on steps to t...

12 years ago | 0

Answered
How to solve optimisation problems with discrete search space using GA solver
You can use GA with <http://www.mathworks.com/help/gads/mixed-integer-optimization.html mixed integer optimization>. For an exam...

12 years ago | 0

Answered
How to find the conflicts in the model when use the MATLAB optimization tool?
<http://www.mathworks.com/help/optim/ug/when-the-solver-fails.html#br44i73 The documentation has some suggestions> on what to do...

12 years ago | 1

| accepted

Answered
Problem using OPTIMOPTIONS with FMINCON for PARALLEL COMPUTING
I think there might be two issues here. # The value true for UseParallel was added in <http://www.mathworks.com/help/optim/re...

12 years ago | 0

| accepted

Answered
Maxima of a function using fminbnd
The problem is you are running into some scaling issues. Try scaling your problem so that the value of lambda is between 0 and 1...

12 years ago | 0

| accepted

Answered
Simulink Design Optimization - Parameters Constrains like p1<= p2
Here is an example showing how to do that: <http://www.mathworks.com/help/sldo/ug/estimate-model-parameters-with-parameter-const...

12 years ago | 0

Answered
Integer Population using GA Toolbox
<http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223 The documentation> has details of what "bit string pop...

12 years ago | 0

| accepted

Answered
how to do multidisciplinary design optimization of an aircraft using matlab optimization toolbox
I might be biased, but I think the first thing to do is consult the documentation. Especially, see the <http://www.mathworks.com...

12 years ago | 0

| accepted

Answered
How may I specify gradient information separately from function calls with fmincon?
I believe that, if you conditionalize your code so that your objective function returns only what it needs to return, then fminc...

12 years ago | 0

Answered
Attempted to access c(4) ,,, lsqnonlin
Well, I see in function[dWtt,dWzz]=G(c,Ett,Ezz) lines with ...+((c(4)).*... If c has only three components, then...

12 years ago | 1

| accepted

Answered
fmincon interior point stopping criteria
If somehow you know x_opt, then you can write an <http://www.mathworks.com/help/optim/ug/output-functions.html output function> ...

12 years ago | 0

Answered
Non-linear optimization with fmincon
Please show us your options and your call to fmincon and the resulting output. If you are using the interior-point or sqp algori...

12 years ago | 1

| accepted

Answered
Optimtool for nonlinear constrained optimization - Bounds on design variables
See <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-13 the documentation on bound constraints>. Alan...

12 years ago | 1

| accepted

Answered
How to solve an optimization problem with an objective function which is not directly a function of decision variables?
I am not sure that I understand you. If you have some parameters that are not decision variables, but instead are extra paramete...

12 years ago | 2

| accepted

Answered
How do you tune globalsearch parameters?
<http://www.mathworks.com/help/gads/improve-results.html There are some suggestions here>. Good luck, Alan Weiss MATLAB...

12 years ago | 0

Answered
How to suppress text output from a globalsearch run
<http://www.mathworks.com/help/gads/globalsearch-class.html When you create your GlobalSearch solver> pass the Display option: ...

12 years ago | 0

| accepted

Answered
No solution found using fsolve
I don't know what is going on with your function, but did you try the <http://www.mathworks.com/help/optim/ug/when-the-solver-fa...

12 years ago | 0

| accepted

Answered
Nonlinear optimization problem: The final point is the initial point.
Most likely, you have finite difference steps that are too small. <http://www.mathworks.com/help/optim/ug/optimizing-a-simulatio...

12 years ago | 0

| accepted

Answered
Pass RSS as fitness error using GA tool optimisation
<http://www.mathworks.com/help/matlab/math/example-curve-fitting-via-optimization.html This example might help>. Alan Weiss ...

12 years ago | 0

Answered
How to extract overall best individual in Genetic Algorithm
<http://www.mathworks.com/help/gads/how-the-genetic-algorithm-works.html#f15581 As stated in the documentation>, if your EliteCo...

12 years ago | 0

| accepted

Answered
Where I am mistaking?
I believe that your Aeq matrix should be a row vector, not a column vector. Is your A matrix a vector or a matrix? I mean, do...

12 years ago | 0

| accepted

Answered
Passing updated parameters to simulannealbnd objective function
I have two suggestions: # Learn how to use nested functions. These give you some of the benefits of global variables. For exa...

12 years ago | 0

| accepted

Answered
How can I make the estimation more stable?
I am sorry, I do not understand your question. What exactly are you asking? What are you assuming? Also, if you ask again, pl...

12 years ago | 0

Answered
nonlinear optimization with dynamic constraints
While you can program anything you like into a nonlinear constraint function, I recommend that you solve the problem twice, one ...

12 years ago | 0

| accepted

Answered
fsolve returns non-integer exitflag
I guess that you are interpreting the output of fsolve incorrectly. <http://www.mathworks.com/help/optim/ug/fsolve.html As state...

12 years ago | 2

| accepted

Answered
Is it possible to optimize a transfer function parameter using genetic algorithm optimization toolbox?
I suppose your problem is how do you pass the parameter vector to your integration routine. <http://www.mathworks.com/help/gads/...

12 years ago | 2

| accepted

Answered
How to solve two non-linear equation simultaneously?
Perhaps the suggestion <http://www.mathworks.com/help/optim/ug/nonlinear-systems-with-constraints.html in this part of the docum...

12 years ago | 0

Answered
Solving 3 equations with 3 unknowns gives Warning: Explicit solution could not be found > In solve at 179
The simplest thing to do is probably not to use symbolic variables, but to use an Optimization Toolbox solver such as fmincon. I...

12 years ago | 0

| accepted

Answered
Optimization results in GA
It is possible that your version of MATLAB is older than R2011b when mixed integer GA was introduced. If so, you can try to use ...

12 years ago | 0

Load more