Respondida
pdebound function form only Dirichlet boundary conditions
I wonder if you simply need to change the signature of your function to function [qmatrix,gmatrix,hmatrix,rmatrix] = pdeboun...

casi 11 años hace | 0

Respondida
lsqnonlin First order optimality?
I am sorry, but I have a hard time understanding your problem. The message you get is not an error message, it is an exit messag...

alrededor de 11 años hace | 0

Respondida
Simplest way to calculate the maximum
It depends on whether you have a univariate polynomial (just one variable) or multidimensional polynomial. For univariate, yo...

alrededor de 11 años hace | 1

| aceptada

Respondida
How to create internal boundary conditions using "IF" function to solve PDEs
If I understand you correctly, then I think that you have to change the geometry of your problem to have a hole. It doesn't s...

alrededor de 11 años hace | 0

| aceptada

Respondida
How can I integrate a m.file consist of functions, input and output into MATLAB GUI
You should probably look at an example of a GUI and how the callback gets implemented. <http://www.mathworks.com/matlabcentral/f...

alrededor de 11 años hace | 0

Respondida
GA: How to create chromosomes with n genes evaluated with a fitness function measunring m parameters for each one?
It sounds to me as if you have an integer optimization problem. It sounds like each population member should be a permutation of...

alrededor de 11 años hace | 0

Respondida
Are the region structure fields (region.x, .y, .z) the centroids of the elements in PDE toolbox (3D Geometry)?
The solvers need to evaluate the coefficients at various locations depending on the type of element, linear or quadratic. Integr...

alrededor de 11 años hace | 0

| aceptada

Respondida
Non linear Optimization problem.
<http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#brhkghv-19 As the Optimization Decision Table shows>, |fmincon| i...

alrededor de 11 años hace | 0

| aceptada

Respondida
Bintprog exceeds the max time for one set of parameters but optimizes the function in under a minute for other sets of parameters. What is wrong and how do I fix it?
The successful run that you showed has the linear programming relaxation arrive at an integer solution. You cannot expect to be ...

alrededor de 11 años hace | 0

Respondida
Writing a function with many outputs, and maximizing over the first output
It is possible that a <http://www.mathworks.com/help/gads/output-functions-for-globalsearch-and-multistart.html global output fu...

alrededor de 11 años hace | 0

Respondida
Rank Deficient Warning from fmincon
You can try some of the <http://www.mathworks.com/help/optim/ug/when-the-solver-might-have-succeeded.html#br44i8w suggestions in...

alrededor de 11 años hace | 0

Respondida
What can I do to make a GA spread the intial population over a larger area
<http://www.mathworks.com/help/gads/population-diversity.html The documentation> has suggestions about setting the initial diver...

alrededor de 11 años hace | 0

Respondida
"too many output arguments". gamultiobj Optimization Toolbox
Your objective function looks vectorized. Did you set options to have vectorized function evaluations? options = gaoptimset(...

alrededor de 11 años hace | 0

Respondida
Non linear optimization using 'optimization toolbox
The problem is smooth: your objective function is rational. Yes, <http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#...

alrededor de 11 años hace | 0

| aceptada

Respondida
How to get the Values of nonlcon in gamultiobj?
Currently, you cannot obtain the value of the nonlinear constraint functions as a field in the |gamultiobj state| structure in a...

alrededor de 11 años hace | 1

| aceptada

Respondida
Solving Heat Equation With Spatially Varying Thermal Conductivity
<http://www.mathworks.com/help/pde/ug/scalar-coefficients-in-string-form.html The documentation> describes how to include coeffi...

alrededor de 11 años hace | 0

Respondida
in MATLAB PDE Toolbox App, I've multiple objects (Rectangular shaped) in one file. For multiple objects I'd like to specify the PDE coefficients differently. How can I specify the different PDE coefficients for different objects.
After you have drawn your rectangles, select *PDE > PDE Mode*. Then double-click each rectangle to enter its coefficients. Al...

alrededor de 11 años hace | 1

| aceptada

Respondida
What version of Matlab include the function intlinprog ?
<http://www.mathworks.com/help/optim/release-notes.html |intlinprog| was introduced in R2014a>. To use this functionality you wi...

alrededor de 11 años hace | 0

Respondida
output function for ga
An output function only runs at the end of an iteration, and has access to variables described in the <http://www.mathworks.com/...

alrededor de 11 años hace | 0

Respondida
Interior-point algorithm vs SQP algoritm
Perhaps you are running into an <http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#btr9d6u inaccuracy due to using a...

alrededor de 11 años hace | 1

| aceptada

Respondida
Standard errors from hessian using fminunc/fmincon
You might not have read <http://www.mathworks.com/help/optim/ug/hessian.html the documentation of the Hessian output> for |fminu...

alrededor de 11 años hace | 0

Respondida
linprog error message: the dual appears to be infeasible (and the primal unbounded).
I cannot reproduce your result. When I entered the following, I got an answer: A =[ 0.5 -1 0 0 0 0 1 -1 0 0 0 0 -...

alrededor de 11 años hace | 0

Respondida
how can we know the optimal solution from GA in MATLAB is the best solution? if all the results are always different from each other after run it in several times.
<http://www.mathworks.com/help/optim/ug/when-the-solver-succeeds.html#brhkghv-65 The Optimization Toolbox documentation> discuss...

alrededor de 11 años hace | 1

Respondida
How to do optimisation with multiple input variables?
In Optimization Toolbox you have to put all your control variables (those that you can change to try to find a minimum) into one...

alrededor de 11 años hace | 0

Respondida
How can I specify different PDE coefficients for different regions in a 3D geometry using PDE toolbox?
Currently, subdomains are not supported for 3-D geometry. However, you can write <http://www.mathworks.com/help/pde/ug/pde-coeff...

alrededor de 11 años hace | 0

Respondida
Why does patternsearch decrease mesh size without function evaluation?
We didn't see your |patternsearch| call. Perhaps your bounds are well within the rather large initial mesh that you gave, so tha...

alrededor de 11 años hace | 0

Respondida
Why GA becomes error when we try to click running in second time?
I imagine that your nonlinear constraint function returns complex or |Inf| or |NaN| results for some population members. Remembe...

alrededor de 11 años hace | 0

| aceptada

Respondida
How to output and save x1 and x2 after each run / generation?
Use an <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 Output Function>. For an example (using differe...

alrededor de 11 años hace | 0

Respondida
How to add a constraint in lsqonlin minimization?
For that kind of nonlinear constraint, use |fmincon| instead of |lsqnonlin|. See the <http://www.mathworks.com/help/optim/ug/cho...

alrededor de 11 años hace | 0

Respondida
Does the value of nonlinear inequality constraints matter as long as he is smaller zero?
|fmincon| uses the value of the nonlinear constraint to indicate the level of feasibility, and therefore to estimate how large a...

alrededor de 11 años hace | 1

| aceptada

Cargar más