Answered
3D Fem pde inhomogeneous geometry
I am sorry, but currently there is no way to do exactly what you want. The current geometry creation tools do not permit 3-D sub...

9 years ago | 0

| accepted

Answered
Add a constraint to Ax>b using intlinprog
You might be able to use the formulation of semicontinuous constraints in <http://www.mathworks.com/help/optim/ug/mixed-integer-...

9 years ago | 0

Answered
I have two problems in my code: 1 - Genetic algorithm gets “stuck” in the first generation. 2 – lsqcurvefit is unable to fix it. Can anyone, please, help me?
It is possible that |lsqcurvefit| gets stuck because you are trying to optimize a simulation: the tiny finite difference steps t...

9 years ago | 1

| accepted

Answered
How to speed up optimization of a problem with large population size and linear constraints with GA toolbox in MATLAB?
You asked the question <http://www.mathworks.com/matlabcentral/answers/154993-tips-to-avoid-genetic-algorithms-premature-converg...

9 years ago | 0

Answered
Evaluate function and gradient along edge with pde toolbox
Depending on your toolbox version, there are several ways of doing this. In R2016a and later, the |<http://www.mathworks.com/hel...

9 years ago | 0

Answered
Specifying constraints for optimization using GA
<http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223 As documented>, when using a custom population type, "...

9 years ago | 0

| accepted

Answered
How can I use Giewack's function along with OptimTool to minimize Genetic Algorithm?
Perhaps the <http://www.mathworks.com/help/gads/computing-objective-functions.html documentation on writing fitness functions> a...

9 years ago | 0

| accepted

Answered
how to use variables in fitness function in the genetic algorithm optimization?
Global Optimization Toolbox function expect variables of type double, not symbolic. To use symbolic variables, first convert the...

9 years ago | 1

| accepted

Answered
How to solve a system of non-linear ordinary differential equations while simultaneously optimizing unknown parameters within the system?
Perhaps <http://www.mathworks.com/help/gads/optimize-an-ode-in-parallel.html this example> will help. While the example shows th...

9 years ago | 0

Answered
Have have problem with my optimisation model
You might find it easier to run the problem using the <http://www.mathworks.com/help/optim/ug/example-linear-programming.html do...

9 years ago | 0

Answered
pdegplot(model1,'FaceLabels','on')
Sorry, at the moment there is no way to change the way that MATLAB infers surfaces from an STL file. I suggest that you exami...

9 years ago | 0

Answered
What it is the execution order of finite difference method in fmincon concerning the objective and the constraints?
<http://www.mathworks.com/help/optim/ug/objective-and-nonlinear-constraints-in-the-same-function.html This documentation> addres...

9 years ago | 0

Answered
Determine subdomains for 3D models in the PDE toolbox
Sorry, but as it states in the previous question you linked to, subdomains are currently not supported for 3D. Alan Weiss ...

9 years ago | 0

| accepted

Answered
How to enforce the optimization solver to include some particular x's
You have some problem formulation in mind that includes a set of "places" or nodes. I suggest that you remove the variables that...

9 years ago | 0

Answered
How to find the global minimization of a quadratic concave function (or maximization of a convex function) over quadratic convex constraints ?
You could try |fmincon| starting from a variety of points. For an efficient problem formulation, see <http://www.mathworks.com/h...

9 years ago | 0

Answered
System of PDE's in two spatial dimension (Cartesian) and time
All the examples with multidimensional solutions (rather than multidimensional geometry) are coupled equations. The structural m...

9 years ago | 0

Answered
Solving 4-dimensional coupled PDE in matlab?
If you have a Partial Differential Equation Toolbox(TM) license, then you can most likely solve your problem, assuming that you ...

9 years ago | 0

Answered
Is there any learning material available for Knapsack/Backpack problem in optimization toolbox of MATLAB?
I know of no tutorial, but I believe that the problem formulation is not hard. Use |<http://www.mathworks.com/help/optim/ug/intl...

9 years ago | 0

| accepted

Answered
Multiobjective mixed-integer variable optimization Matlab 2016
I know of nothing in Optimization Toolbox software, or Global Optimization Toolbox software, either. Sorry. Alan Weiss MAT...

9 years ago | 0

Answered
Is there a way to solvepde on a mesh that was developed in another software?
Depending on your software version, you can use |<http://www.mathworks.com/help/pde/ug/geometryfrommesh.html geometryFromMesh>|,...

9 years ago | 0

| accepted

Answered
Can I provide fmincon with only some of the gradients?
The answer is no, |fmincon| either uses finite differences to approximate all derivatives, or it uses a supplied gradient evalua...

9 years ago | 1

| accepted

Answered
Passing extra outputs from cost function
There are several ways. Proper use of <http://www.mathworks.com/help/optim/ug/passing-extra-parameters.html#brhkghv-10 nested fu...

9 years ago | 0

| accepted

Answered
Different results with different nodes and elements using geometryFromMesh PDE toolbox
Sorry, I know of no way to determine the face labels other than examining them in the created geometry. I do not believe that th...

9 years ago | 0

Answered
resuming fminsearch from where it's left
To set options, set an options structure using |optimset|, and then make sure that you pass the options structure to |fminsearch...

9 years ago | 0

Answered
examples of using the PDE toolbox for FEA of complicated 3D conductive media geometries
To create geometry from a mesh, use |<http://www.mathworks.com/help/pde/ug/geometryfrommesh.html geometryFromMesh>|. I am not...

9 years ago | 0

Answered
Find Minimum Difference between consecutive values by reordering
I think that this might be the <http://www.mathworks.com/help/optim/examples/travelling-salesman-problem.html Travelling Salesma...

9 years ago | 1

Answered
How can I include a function in a for loop for an optimization problem?
If I understand you, you have five different problems that you are trying to solve. You need to solve them one at a time. The |f...

9 years ago | 0

Answered
About plotting Pareto fontier
<http://www.mathworks.com/matlabcentral/answers/110723-is-it-possible-to-generate-surface-pareto-front-for-3-objective-functions...

9 years ago | 0

Answered
fmincon pass through the local minima, but doesn't find better one
If you have only bound constraints, you might do better to use |lsqnonlin| as your optimizer. In that case, rewrite your objecti...

9 years ago | 0

Answered
Error during MILP using function INTLINPROG
Sometimes this problem occurs if you set nondefault tolerances. But, without seeing your option settings or function call, I hav...

9 years ago | 1

Load more