Answered
pde toolbox: how to integrate the solution only over a subdomain?
Depending on your MATLAB version, you can interpolate the solution to any point you give using <http://www.mathworks.com/help/pd...

9 years ago | 0

Answered
Problem to maximize one and minimize other objective
<http://www.mathworks.com/help/gads/maximizing-vs-minimizing.html Negate the objective that you want to maximize>. Alan Weiss...

9 years ago | 0

| accepted

Answered
While implementing genetic algorithm for finding the global minimum for a variable 'y' (which depends upon both x and z), I want to optimise only x and not z. I want to input z from the main code and pass it to my fitness function. Can this be done?
<http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html See the documentation on passing extra parameters>, and qu...

9 years ago | 1

| accepted

Answered
Genetic Algorithm starting population with integer valued variables
I don't know why you think that you cannot put in some initial points to help start the optimization. <http://www.mathworks.com/...

9 years ago | 0

| accepted

Answered
Comparison of Gradient Ascent and Hill Climbing
<http://www.mathworks.com/help/optim/examples/banana-function-minimization.html This example> might give you some ideas about po...

9 years ago | 1

Answered
Customising creation function in GA optimisation tool
<http://www.mathworks.com/help/gads/examples/custom-data-type-optimization-using-the-genetic-algorithm.html This example> might ...

9 years ago | 0

| accepted

Answered
The value of the parameter doesn't seem to vary while I use fmincon or patternsearch?
Do you have nonlinear constraints? If so, you might not see all the points that |patternsearch| is visiting. If not, then |pa...

9 years ago | 0

Answered
How do I solve a system of non linear partial differential equation?
I am not certain, but it is possible that Partial Differential Equation Toolbox can handle this equation. The toolbox requires s...

9 years ago | 0

Answered
Passing symprod into fmincon error
There are several possible problems here, but the main one is that |fmincon|, like all other optimization solvers, takes a *sing...

9 years ago | 0

Answered
Fmincon cannot move away from initial point
I suggest that you take a look at <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded.html#br44i4j Fina...

9 years ago | 0

Answered
Why the value of variables optimized using ga (genetic algorithm) are always different from 0 (but something like 0,00123) even if 0 would be more convenient?
There are several things that might be going on. If you have an integer problem, where you know that some of your variables shou...

9 years ago | 0

| accepted

Answered
Is there a way to view all of the iterations/generations using the optimization toolbox?
Use an <http://www.mathworks.com/help/optim/ug/output-function.html output function>. There is an example <http://www.mathworks....

9 years ago | 0

Answered
How to use ga optimization function with 3 variables (2 cell arrays, 1 array of different dimensions)
The <http://www.mathworks.com/help/gads/computing-objective-functions.html documentation for objective functions> states that yo...

9 years ago | 2

| accepted

Answered
Why is fmincon ending in points it knows are sub-optimal?
It appears that the first-order optimality measure is nowhere near zero, so I am sure that |fmincon| does not claim that it reac...

9 years ago | 2

| accepted

Answered
How to access to the vertices and facets of each face detected using importGeometry (PDE toolbox) ?
First you have to create the mesh: generatemesh(model); If you have the latest MATLAB version (R2016b), you can view the ...

9 years ago | 1

Answered
How to use fmincon on an symbolic integral function
I do not understand your example, but perhaps a completely new start will help you. Suppose that you have a parameterized functi...

9 years ago | 0

Answered
in MATLAB 2015b PDE toolbox for 3D geometry, how can i specify coefficients?
<http://www.mathworks.com/help/releases/R2015b/pde/index.html The R2015b documentation is here>. The specific part of the doc...

9 years ago | 0

Answered
Solving 2 nonlinear elliptic pdes in 2 separate domains (2D), coupled by a function of solution u
I am not sure that I completely understand the problem, but perhaps you could try to do the following. If the two electrodes hav...

9 years ago | 0

| accepted

Answered
I can't use pde toolbox to draw pictures
It sounds like your PDE Toolbox installation is corrupt. Try reinstalling, and issue this command: rehash toolboxcache I...

9 years ago | 1

| accepted

Answered
Optimizing GRNN with Genetic Algorithm?
You are confusing the data and the control variables. Control variables are those variables that you want the solver to move in ...

9 years ago | 0

Answered
How to manually change MaxFunctionEvaluations in fmincon
I think that the short answer to your question is to set the <http://www.mathworks.com/help/optim/ug/fmincon.html#input_argument...

9 years ago | 2

| accepted

Answered
How can I save parameter values while using simulated annealing?
You can write an <http://www.mathworks.com/help/gads/simulated-annealing-options.html#bq26j8s-7 output function> that logs thing...

9 years ago | 0

Answered
How to interpolate PDE solution to cartesian grid
<http://www.mathworks.com/help/pde/ug/interpolatesolution.html interpolateSolution> interpolates your solution to any set of poi...

9 years ago | 0

Answered
Different a coefficient for each element not possible anymore with solvepde?
Sorry, but to use the latest solvers, I think that you will need to update <http://www.mathworks.com/help/pde/ug/m-d-or-a-coeffi...

9 years ago | 0

Answered
How does mesh scaling work in Pattern Search
You are free to read the |patternsearch| code to see exactly what is going on. Usually, when you have a poorly scaled problem, y...

9 years ago | 0

| accepted

Answered
Nonlinear inequality constraint in Fmincon produces optimized x values only where constraint value equals zero
I am not sure that I understand why you believe that there is a problem with the result. Often, the minimum for a constrained fu...

9 years ago | 0

| accepted

Answered
Is there a function for 2D linear elasticity equation ?
Perhaps <http://www.mathworks.com/help/pde/examples/dynamic-analysis-of-a-clamped-beam.html this example> contains the informati...

9 years ago | 0

| accepted

Answered
Optimization with Algebraic Modelling Language and MATLAB
Currently, MATLAB does not have modeling language support as a built-in feature. People certainly have created interfaces betwee...

9 years ago | 0

Answered
Can I use gamultiobj optimization for a problem where the objective functions are not in terms of the decision variables?
Take a look at <http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel.html this example>, which shows how to use an ODE...

9 years ago | 0

| accepted

Answered
how to do the exhaustive search?
Perhaps your problem is one of integer values, 0 through 20 for each of your seven variables. If you cannot vectorize your funct...

9 years ago | 1

| accepted

Load more