Answered
I have a problem with bounds in ga
Your fitness function is function y= simple_fitcat1(x) y =(300*x(1)-(pi*x(2)*x(3)^2*0.25))*1000*0.05 + ((7.85*10^-6*x(2)*p...

11 years ago | 0

| accepted

Answered
how to handle semi continuous constraints by using the optimization toolbox?
Take a look at <http://www.mathworks.com/help/optim/examples/optimal-dispatch-of-power-generators.html this example> and others ...

11 years ago | 0

Answered
Saving / Showing Value of Variables in Genetic Algorithms
Use an <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f17837 output function> to get whatever you like from ...

11 years ago | 1

Answered
Provide initial feasible point for intlinprog
Sorry, there is currently no affordance for passing an initial feasible point. It is possible that you could use your initial...

11 years ago | 0

| accepted

Answered
How to convert symbolic Jacobian to use it in lsqnonlin?
There are some documentation examples on closely-related questions. <http://www.mathworks.com/help/optim/ug/symbolic-math-too...

11 years ago | 0

Answered
Levenberg-Marquardt not an option for LSQNONLIN
What you should do depends on your MATLAB version. For R2014b or later, use the |InitDamping| option to pass Levenberg-Marquardt...

11 years ago | 1

| accepted

Answered
Can fmincon output all the considered 'x' values for minimisation of the function f(x)?
You can use an <http://www.mathworks.com/help/optim/ug/output-functions.html output function> for this purpose. In fact, the exa...

11 years ago | 1

Answered
fmincon - conditions must depend on optimization output
You cannot have the A and B inputs depend on the output of |fmincon|. However, you CAN have a nonlinear constraint function be a...

11 years ago | 0

| accepted

Answered
fmincon save each iteration information
Use an <http://www.mathworks.com/help/optim/ug/optimization-options-reference.html#f11022 output function> to record whatever yo...

11 years ago | 0

Answered
Solving a system of equations in R2014a
After I played with your system for a couple of minutes I got the following error: Error using solve (line 258) The numbe...

11 years ago | 0

Answered
How can I find maximum of a function the function on MATLAB which has subject to rules?
Despite your many words, it is really not clear to me what your problem is. * What are the variables that you are given? * W...

11 years ago | 0

Answered
Pareto Front with Simulated Annealing (Multiobjective Optimization)
No MathWorks solver has that as built-in functionality. Sorry. There are some things on the File Exchange that are related, s...

11 years ago | 0

Answered
How to avoid repeating function evaluations when using ga?
As far as I know, there is no built-in option for |ga| to avoid repeated evaluation of the same point. Sorry. I bet that you ...

11 years ago | 0

Answered
Problems with solving a PDE system of 3 parabolic equations
It is possible that you gave a PDE coefficient incorrectly. How did you specify your coefficients? Through a matrix? A string? T...

11 years ago | 0

Answered
Return value type for GA toolbox population function ??
See the <http://www.mathworks.com/help/gads/genetic-algorithm-options.html#f14223 syntax for custom population function> in the ...

11 years ago | 0

Answered
Genetic Algorithm in Matlab - Not terminating as expected
|ga| behaves differently depending on whether there are integer constraints, nonlinear constraints, or neither. If you have no i...

11 years ago | 0

| accepted

Answered
fmincon using Interior-point method can not find the convergence
Yes, the |fmincon 'interior-point'| algorithm is, as the name implies, an interior-point algorithm. The exit message you quote d...

11 years ago | 0

| accepted

Answered
First-order optimality is not close to zero
Instead of answering your question, I would like to make a recommendation. You already know how to use Symbolic Math Toolbox for...

11 years ago | 0

Answered
Genetic Algorithm fails to find any feasible solution for a MINLP (when there are indeed feasible solutions around)
You will probably be much happier using |<http://www.mathworks.com/help/optim/ug/intlinprog.html intlinprog>| instead of |ga|. |...

11 years ago | 0

| accepted

Answered
GA for binary variables
Take a look at <http://www.mathworks.com/help/gads/mixed-integer-optimization.html the MINLP documentation for ga>. Alan Weis...

11 years ago | 0

Answered
How to use minlp with non analytic optimization function
I am not sure what you are asking. The only MATLAB solver I know for MINLP problems is <http://www.mathworks.com/help/gads/ga.ht...

11 years ago | 0

Answered
Boundary conditions in PDE toolbox
I answered this query <http://www.mathworks.com/matlabcentral/newsreader/view_thread/340763#934115 here>. Alan Weiss MATLA...

11 years ago | 0

Answered
Multivariate optimization subject to strange restraint
This type of constraint is called a <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-14 linear equality ...

11 years ago | 0

Answered
intlinprog in student version 2013a
Unfortunately, you cannot upgrade student licenses. You have to purchase a new MATLAB version. Fortunately, <http://www.mathw...

11 years ago | 0

| accepted

Answered
Solving a constrained optimization problem
If you look in the <http://www.mathworks.com/help/optim/ug/choosing-a-solver.html#brhkghv-19 Optimization Decision Table> you se...

11 years ago | 1

| accepted

Answered
How to map various properties using genetic algorithm?
If you are solving a <http://www.mathworks.com/help/gads/mixed-integer-optimization.html mixed-integer optimization problem> usi...

11 years ago | 0

Answered
Using fmincon to find the best combination of x1,x2,x3
Without reading your code in detail, it is clear that your main problem is that |fmincon| minimizes a SINGLE set of parameters. ...

11 years ago | 0

Answered
Why are the upper and lower bounds violated during iterations with the LSQNONLIN function from the Optimization Toolbox?
Perhaps you didn't <http://www.mathworks.com/help/optim/ug/writing-constraints.html#brhkghv-13 write your bounds as complete vec...

11 years ago | 1

| accepted

Answered
How to use gradient and Hessian in optimization problem when objective and constraint functions contain variables without analytic expression with respect to states?
It doesn't sound as if gradients or Hessians will help in this case. It sounds to me like your calculations might be based on...

11 years ago | 0

Answered
Writing a custom Selection Function for a Genetic Algorithm problem
I am sorry that the documentation is not clear on this point. I will try to improve it. As described <http://www.mathworks.co...

11 years ago | 0

| accepted

Load more