Answered
How to use quadprog for this multi-dimension problem?
All Optimization Toolbox(TM) solvers require that you put your control variables into a single vector, typically called |x|. For...

10 years ago | 1

| accepted

Answered
Symbolic Maths and Active-Set algorithm in fmincon
You seem to know about the <http://www.mathworks.com/help/optim/ug/symbolic-math-toolbox-calculates-gradients-and-hessians.html ...

10 years ago | 0

| accepted

Answered
Is there a way to plot the output of my function for fmincon evaluations?
It is not clear that you are obtaining a true minimum. See <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-su...

10 years ago | 0

| accepted

Answered
Need a better method to plot this function
Without understanding what you wrote in any detail, it seems to me that you are looking at a large number of real roots of a rea...

10 years ago | 1

Answered
What operators are present in the multi-dimensional elliptical PDE?
The definition of the |c| input <http://www.mathworks.com/help/pde/ug/c.html is detailed here>. In short, the gradient of |u| is...

10 years ago | 0

Answered
fmincon: objfun and nonlinear constraint subproblem
<http://www.mathworks.com/help/optim/ug/objective-and-nonlinear-constraints-in-the-same-function.html Yes there is>. Alan Wei...

10 years ago | 0

Answered
fmincon:initial point is the optimum
As I told you in <http://www.mathworks.com/matlabcentral/answers/251462-fmincon-stops-at-initial-point-saying-the-optimization-h...

10 years ago | 1

Answered
fmincon stops at initial point saying the optimization has been accomplished
It appears that the gradient of your objective function is zero at the initial point, as far as |fmincon| can determine. And the...

10 years ago | 1

| accepted

Answered
Using Optimization Toolbox to Estimate Population Parameters
I don't really understand your code, but I see some things that make me suspect that you aren't getting what you think you are g...

10 years ago | 0

| accepted

Answered
How can I resolve this 'Improper assignment with rectangular..' error while using Genetic Algorithm minimization (ga function)?
There could be several problems here. One is that you set |intcon| wrong. If you want all variables except for the first to be i...

10 years ago | 1

Answered
Genetic Algorithm (ga) - Constraint computed inside the fitness function
<http://www.mathworks.com/help/optim/ug/objective-and-nonlinear-constraints-in-the-same-function.html Optimization Toolbox docum...

10 years ago | 0

Answered
How can I adjust the tolerance parameter for pdeadgsc from adaptmesh?
If I am not mistaken, you can set the |'Par'| name-value pair to something less than 0.5 to have the effect you want. Alan We...

10 years ago | 0

Answered
PDE compact solutions in Matlab
Sorry, I don't understand what you mean. What is a compact solution? Also, are you asking with respect to PDE Toolbox, or som...

10 years ago | 0

Answered
Possible bug in pdetoolbox
Sorry that you got bit by a bug; at least, that's what it sounds like to me. I think it might be best to define your geometry...

10 years ago | 0

Answered
Simulated Annealing - Parameters definition
If you are using |simulannealbnd| then there is no way to enforce integer constraints. |ga| is the only Global Optimization Tool...

10 years ago | 0

| accepted

Answered
genetic algorithm solver convergence
It is not easy to assess the reliability of a |ga| solution. First, I want to make sure that you are <http://www.mathworks.com/h...

10 years ago | 0

| accepted

Answered
How to use quadprog with a group of points
I am not sure what you are really trying to do. You seem to already have |f|, |A|, and |b|. Do you need to figure out an appropr...

10 years ago | 0

Answered
Vary step size for fminunc
Sorry, no, you cannot set |DiffMinChange| adaptively. You might want to use the <http://www.mathworks.com/help/optim/ug/optimizi...

10 years ago | 0

| accepted

Answered
Multiobjective genetic algorithm stopping criteria
You can stop |gamultiobj| at any point using an <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 output...

10 years ago | 0

| accepted

Answered
Active constraints in fgoalattain result, but I didn't provide constraints.
I think that what is happening is that |fgoalattain| internally reformulates your problem <http://www.mathworks.com/help/optim/u...

10 years ago | 0

| accepted

Answered
How to fast solve a system with block tridiagonal matrix
I wonder whether you have specified your matrix elements as sparse. If not, then I think that you should try using sparse matric...

10 years ago | 1

Answered
Optimization problem with constraints
I am not familiar with the financial model you discuss. However, it is likely that |<http://www.mathworks.com/help/optim/ug/fmin...

10 years ago | 0

Answered
fmincon; produces different answers against theoretically the same question ...
Bound constraints are indeed handled differently than linear inequality constraints. You are likely to get a faster, more accura...

10 years ago | 0

Answered
How to use Parallel Computing inside ga (genetic algorithm)
What error messages are you seeing, if any? Did you try to create a parallel pool before starting GA? It is possible that you ha...

10 years ago | 0

Answered
Formulation of Intlinprog problem with quadratic terms
Without reading your problem in detail, I think that <http://www.mathworks.com/help/optim/examples/mixed-integer-quadratic-progr...

10 years ago | 0

| accepted

Answered
How to interpret this output of intlinprog?
The first line gives you the value of the LP relaxation of the MILP problem, which is never larger than the ultimate MILP soluti...

10 years ago | 0

| accepted

Answered
Are there any Matlab functions to use for optimization using particle swarm optimization technique?
|<http://www.mathworks.com/help/gads/particleswarm.html particleswarm>| was introduced into Global Optimization Toolbox in <http...

10 years ago | 0

Answered
returning additional values from a fitness function for genetic optimisation
You can use <http://www.mathworks.com/help/matlab/matlab_prog/nested-functions.html nested functions> to do what you want. The <...

10 years ago | 0

| accepted

Answered
Blending problem with linprog
Perhaps the <http://www.mathworks.com/help/optim/ug/mixed-integer-linear-programming-basics.html Mixed-Integer Linear Programmin...

10 years ago | 0

Load more