Respondida
Thermal anaysis Using PDE Toolbox
While I don't know exactly what kind of problem you have, generally, PDE Toolbox does not yet support multi-part assemblies. Now...

más de 9 años hace | 0

Respondida
How to find a constrained distribution within an array that results in an optimum.
I suppose that when you say that you want to "optimize" |y|, you want to minimize or maximize the sum of the elements in that mu...

más de 9 años hace | 2

| aceptada

Respondida
How to set options of particleswarm ?
What version of MATLAB do you have? |particleswarm| was introduced in R2014b. Do you have a Global Optimization Toolbox licen...

más de 9 años hace | 0

| aceptada

Respondida
optimtool to be removed?
I'm sorry that the note caused you concern. Only the Optimization app ( |optimtool|) will be removed, because the underlying sof...

más de 9 años hace | 0

Respondida
How do I fit an arbitrary function to data using LSQNONLIN ?
Your objective is piecewise constant (you have |round| calls). Like all nonlinear Optimization Toolbox solvers, |lsqnonlin| is b...

más de 9 años hace | 1

Respondida
using genetic algorithm optimizer to figure out points that satisfy the imposed constraints
You did not show us how you defined your objective function. Here is one that will work: fun = @(x)1; Alan Weiss MATLA...

más de 9 años hace | 0

Respondida
Run genetic algorithm from mps problem file
If your problem is really an MILP problem, with no nonlinear constraints, then you should use |intlinprog|, and not a genetic al...

más de 9 años hace | 0

| aceptada

Respondida
how do i create a crater (upside down hollow dome) and include it as a geometry in a PDE model?
Try using <https://www.mathworks.com/help/pde/ug/create-and-view-3-d-geometry.html#buv3nfg-1 3-D geometry from a point cloud>. Y...

más de 9 años hace | 0

| aceptada

Respondida
Applying MATLAB's Nonlinear Heat Transfer In a Thin Plate to a 3D Geometry
Take a look at the <https://www.mathworks.com/help/pde/ug/pdeplot3d.html |pdeplot3D| reference page>. You will see that |XYData|...

más de 9 años hace | 0

Respondida
Options for Genetic Algorithm don't work
For R2014b use |gaoptimset|. For R2014b, use the correct option names, as <http://www.mathworks.com/help/releases/R2016a/gads/op...

más de 9 años hace | 1

Respondida
Formulate linear programming problem
I think that you can formulate this as an integer problem. Let each object be either assigned a +1 to mean it goes to son A, or ...

más de 9 años hace | 0

Respondida
contiguous surface for pde problems.
For such a vague question, I can give only a generic answer: take a look at <https://www.mathworks.com/help/pde/getting-started-...

más de 9 años hace | 0

Respondida
intlinprog: multicore support possibile?
There are some documented <https://www.mathworks.com/help/optim/ug/tuning-integer-linear-programming.html suggestions for improv...

más de 9 años hace | 0

Respondida
linear programming involving sum of element-wise product of two matrices
Yes, I believe that |linprog| can address this problem. The |linprog| problem formulation is to minimize, for a given column vec...

más de 9 años hace | 1

Respondida
Help with Stopping Criteria when using 'gamultiobj' for Multiobjective Optimization.
I am not at all sure that I understand what you are trying to do, but it is possible that an <https://www.mathworks.com/help/gad...

más de 9 años hace | 0

Respondida
How to display every parameter value at every iteration while using Genetic algorithm
Use an <https://www.mathworks.com/help/gads/custom-output-function-for-genetic-algorithm.html Output Function> to report whateve...

más de 9 años hace | 1

Respondida
How to properly use fmincon and optimization?
It sounds like |lsqcurvefit| is eminently suited to your problem, except for the scaling issue of too-small function values. I w...

más de 9 años hace | 1

Respondida
Plot two solutions of PDE from different space.
I suppose that the first mesh points are in a vector |x1|, and the second set of mesh points is in a vector |x2|. I also assume ...

más de 9 años hace | 1

Respondida
linprog inconsistent messages I am using linprog, and not supplying initial starting value, i.e., my code reads as follows options = optimoptions('linprog','Algorithm','interior-point','Display','iter'); x = linprog(f,A,b,Aeq,beq,lb,ub,options); I g
You are using a version of MATLAB that requires an |x0| input. Yet not all the |linprog| algorithms accept |x0|. I suggest that ...

más de 9 años hace | 2

| aceptada

Respondida
fminunc: Too many output arguments
In your options you set |GradObj| to |'on'| and |Hessian| to |'user-supplied'|. Yet your objective function does not return the ...

más de 9 años hace | 1

| aceptada

Respondida
Setting optimality tolerance for fminunc
Yes, indeed. R2016a is where |OptimalityTolerance| was introduced. More information is in the <http://www.mathworks.com/help/rel...

más de 9 años hace | 0

| aceptada

Respondida
How fmincon can manipulate continuous and discrete variables ?
No, |fmincon| does not use discrete variables, only continuous. Alan Weiss MATLAB mathematical toolbox documentation

más de 9 años hace | 0

| aceptada

Respondida
How to plot Pareto Front for 4 Objective Functions ?
I have no idea how to plot such a thing. You might want to try looking at four different <https://www.mathworks.com/matlabcentra...

más de 9 años hace | 0

Respondida
Optimal portfolio weights maximizing the expected utility function?
You simply need to change your objective function reference to ObjectFunction = @(x)expectedutility(x,blockP1,gamma) Thi...

más de 9 años hace | 0

| aceptada

Respondida
How to check optimized values after stopping the program midway?
You can use a <https://www.mathworks.com/help/optim/ug/plot-functions_br5474z.html plot function> to monitor your optimization. ...

más de 9 años hace | 0

| aceptada

Respondida
UseParallel Option with fmincon
Well, if you supply the gradients and set the appropriate options (set |SpecifyObjectiveGradient| and |SpecifyConstraintGradient...

más de 9 años hace | 0

| aceptada

Respondida
How do I set a custom algebraic upper/lower bound on lsqcurvefit, instead of a constant one?
For that, you will have to use |lsqlin| (if it is applicable) or |fmincon| if it is not applicable. I cannot be sure, based on y...

más de 9 años hace | 0

Respondida
How can I set up constraints in the Optimization toolbox?
Get the variables into your workspace and then call |fmincon| or whatever solver you are using. Something like this: A = yo...

más de 9 años hace | 0

| aceptada

Respondida
HOW TO GENERATE REGULAR SQUARE MESHES INSTEAD OF IRREGULAR TRIANGULAR MESHES, OVER A 2D REGION TO SOLVE PARTIAL DIFFERENTIAL EQUATION.
I'm afraid that you cannot use a rectangular mesh with PDE Toolbox. The toolbox uses triangular meshes only. Alan Weiss MA...

más de 9 años hace | 1

| aceptada

Respondida
How to solve linear constraint in genetic algorithm with population type of Bit string .?
1. Please format your question using the |{} Code| button as appropriate so that we can read your code. 2. You probably don't...

más de 9 años hace | 0

| aceptada

Cargar más