Answered
joint optimization in genetic algorithm
Are you using |ga| from Global Optimization Toolbox? Or do you have a different genetic algorithm solver? For Global Optimiza...

9 years ago | 0

Answered
How do I estimate parameters of a system of ODEs using fmincon?
I am not sure that I understand your problem, but it is possible that <http://www.mathworks.com/help/gads/optimize-an-ode-in-par...

9 years ago | 0

Answered
Difference in function evaluations between ga and gamultiobj
You are probably specifying your inequality constraint as a <http://www.mathworks.com/help/optim/ug/nonlinear-constraints.html n...

9 years ago | 0

| accepted

Answered
Multiobjective Genetic Algorithm Generalised Assignment Problem - multiple pareto front not foun
The |gamultiobj| solver does not support integer variables. The |ga| solver does not calculate a Pareto front, it just finds a m...

9 years ago | 0

Answered
Constraining inputs to a maximum radius within fmincon objective function
See the <http://www.mathworks.com/help/optim/ug/nonlinear-constraints.html documentation for nonlinear constraints> and, if nece...

9 years ago | 0

| accepted

Answered
How to pass iteration number and f-count to fmincon
If you make your objective function explicitly depend on a parameter vector |v|, then you can make a <http://www.mathworks.com/h...

9 years ago | 1

| accepted

Answered
Create Boundary Condition Matrix from PDEModel geometry
The easiest way to create a boundary matrix is to export it from the PDE app. As far as I know, there is no easy way to transfer...

9 years ago | 0

Answered
solvepde fails on complex 'f' coefficient
It seems to me that your problem would be best solved by setting the |f| coefficient to |1i|, a constant rather than a function....

9 years ago | 0

Answered
Double lognormal and fmincon
If you have Symbolic Math Toolbox(TM), you could get the gradient (and even Hessian) of your objective and constraint functions ...

9 years ago | 0

Answered
Solving PDEs using fsolve
I do not understand how you propose to parameterize your problem so that |fsolve| would be appropriate. Don't you need to put a ...

9 years ago | 0

Answered
How to interrupt the optimisation routine (from Optimisation Toolbox)
All plot functions have this as built-in functionality. Perhaps the simplest thing to do is to write a <http://www.mathworks.com...

9 years ago | 0

Answered
nonlinear constraints violated by fmincon in output with sqp and interior point algorithms
You misunderstand the documentation: the |'sqp'| and |'interior-point'| algorithms satisfy BOUNDS at all iterations, not nonline...

9 years ago | 2

| accepted

Answered
How to specify PDE model coefficients in MATLAB 2015b?
I suggest that you either use the built-in MATLAB help system, available by entering doc at the command line, or use the...

9 years ago | 0

Answered
How can I insert different materials with different thermal conductivity in PDE heat transfer analysis in functional form?
Use a <http://www.mathworks.com/help/pde/pde-coefficients.html nonconstant coefficient function> for each coefficient such as |c...

9 years ago | 0

Answered
pdetool identify boundary nodes
I believe that you can get the [p,e,t] representation of the mesh, and then examine the list of edges |e|. Look at the indices |...

9 years ago | 0

Answered
Implementing matrix multiplication constraints in fmincon
Your control variables |C| is a 5x32 matrix, which represents 160 elements. <http://www.mathworks.com/help/optim/ug/matrix-argum...

9 years ago | 1

Answered
Command Line hyperbolic PDE with non zero boundary conditions
It depends on how many dimensions your geometry has. For 2-D and 3-D problems, <http://www.mathworks.com/help/pde/index.html Par...

9 years ago | 0

Answered
Linear least sqaure combined with golden section search
<http://www.mathworks.com/help/optim/examples/nonlinear-data-fitting.html This Optimization Toolbox example> shows how to use a ...

10 years ago | 0

Answered
GA is showing penalty value vs generation graph in place of objective value vs generation graph.
You are writing your constraints as nonlinear constraints instead of linear constraints. That is why you have a penalty function...

10 years ago | 0

Answered
In optimization toolbox, in function "gamultiobj" how to define ConstraintFile.m function in which constraints are not functions of design variables. This facility is available in "ga" under "nonlin".
If the constraints are not functions of design variables, then how are they constraints? |gamultiobj| gained the ability to u...

10 years ago | 1

| accepted

Answered
Error working with saoptmset OutputFcns
The syntax for a |simulannealbnd| output function differs from that of an Optimization Toolbox(TM) output function. See the <htt...

10 years ago | 0

Answered
How to create a symbolic equation system and pass it to a solver
I am sorry, but I do not understand completely what you are doing. You understand that |fmincon| does not deal with symbolic var...

10 years ago | 0

| accepted

Answered
Is it possible to use a variable coefficient "a" in PDE Toolbox with parabolic solver?
The answer is, it depends on your MATLAB version. <http://www.mathworks.com/help/pde/release-notes.html According to the release...

10 years ago | 1

| accepted

Answered
Optimization with multiple unknowns, multi-constraints, and 2 objectives
Take a look at |<http://www.mathworks.com/help/gads/gamultiobj.html gamultiobj>| from Global Optimization Toolbox, and <http://w...

10 years ago | 0

Answered
can you make a MATLAB function that calls your simulation software and has access to the result?
It seems to me that this has nothing to do with optimization or |ga|. The question is, can you make a MATLAB function that calls...

10 years ago | 0

Answered
I would like to refine a 2D mesh in the pde toolbox using the "new" flow. I am basically looking for the new version of the old function "refinemesh"
Sorry, the new way to do it is to construct an entirely new mesh using |generateMesh| using a smaller |Hmax| value. It is indeed...

10 years ago | 0

Answered
pdegrad, Matlab, more output data than input
To get the values at the node points use <http://www.mathworks.com/help/pde/ug/pdeprtni.html pdeprtni>. Alan Weiss MATLAB ...

10 years ago | 0

Answered
How can I cluster data points according to the local minima they belong to?
I wrote a <http://blogs.mathworks.com/loren/2014/05/20/selecting-the-granularity-you-want-in-globalsearch-or-multistart/ guest p...

10 years ago | 1

Answered
How do I set a conditional condition in an optimization probem using Linprog
Perhaps this <http://www.mathworks.com/help/optim/examples/mixed-integer-quadratic-programming-portfolio-optimization.html MIQP ...

10 years ago | 0

| accepted

Answered
Global Optimization Toolbox - 'TimeLimit' ignored
As I explained in <http://www.mathworks.com/matlabcentral/answers/258775-timelimit-option-in-patternsearch-being-ignored this An...

10 years ago | 1

Load more