Answered
Understanding Matlab multiobjectiveoptimization functions
I think that you have a misunderstanding about what |GoalsExactAchieve| does. But it is also possible that you have a misunderst...

11 years ago | 0

Answered
'fsolve' producing error message
You didn't include your call to |fsolve| so it is hard to know exactly what you are doing. We don't know your options, your init...

11 years ago | 1

| accepted

Answered
Most efficient way to new "intlinprog" with MATLAB Student R2012a
I'm afraid that you do have to buy the whole new R2014a or R2014b (if it is available) and Optimization Toolbox in order to acqu...

11 years ago | 0

| accepted

Answered
The Starting Point (Vector) generated by Genetic Algorithm doesn't satisfy the nonlinear constraint, why?
You might have better luck by turning your nonlinear constraint into a linear constraint. The constraint sum(gi) <= 1 is ...

11 years ago | 0

| accepted

Answered
depot Location allocation problem
Maybe you could put your problem in an MILP framework, along the lines as this <http://www.mathworks.com/help/optim/examples/tra...

11 years ago | 1

| accepted

Answered
Dealing with Error "Not enough Input Arguments" when using NONLCON for fmincon
In addition to what Matt J said, your nonlinear constraint function needs to be a function of one input variable. Either take th...

11 years ago | 1

Answered
How to use lsqnonlin together with MultiStart?
First you need to figure out bounds on all the parameters w and lambda. In general, it is not enough to say that lb = zeros(n+1,...

11 years ago | 2

| accepted

Answered
Optimization Questions on set constraint
You should not be using nonlinear constraints. Instead, use bounds and linear constraints as follows: lb = zeros(3,1) ub =...

11 years ago | 0

Answered
rcond when using genetic algorithm for maximum likelihood
I suggest that you try |fmincon| with |MultiStart|. You are more likely to get reliable solutions, and probably more quickly tha...

11 years ago | 0

Answered
Mixed Integer optimization using GA - feasible initial population ignored?
I wonder if you would get better results if you set mycon = 1000*mycon or some such thing. I suspect that your problem takes a s...

11 years ago | 0

Answered
how to pass nonlinear nested constraints in patternsearch?
Not only do I find your coding mysterious, but I am pretty sure that it doesn't do what you think it does. I suggest that you st...

11 years ago | 0

Answered
How to get the best results from gamultiobj for large number of objectives ... say 12 objectives to be maximized ?
You can adjust the number of generations using the |Generations| option in <http://www.mathworks.com/help/gads/gaoptimset.html g...

11 years ago | 1

| accepted

Answered
Hessian only returns vector instead of matrix in fmincon
Take a look at the <http://www.mathworks.com/help/optim/ug/fmincon.html fmincon documentation>. You will see that the correct fu...

11 years ago | 0

| accepted

Answered
Is it possible to get an exitflag using findop ?
Can you examine |opreport| to see if there is an |Exitflag| field? Disclaimer: I know nothing about Simulink reports. Alan...

11 years ago | 0

Answered
Undefined function 'ga' for input arguments of type 'function_handle'.
Try entering which -all ga Perhaps there is another |ga| file that is getting precedence. Even better, use |intlinprog...

11 years ago | 1

Answered
why patternsearch result is dependent to the initial values?
If patternsearch is giving you a good fit with widely different solutions, then your problem might have multiple solutions, and ...

11 years ago | 0

Answered
How to Supply the Jacobian to Fsolve?
<http://www.mathworks.com/help/optim/ug/nonlinear-equations-with-jacobian.html Here is an example> of a nonlinear equation being...

11 years ago | 0

Answered
max matrix size for linear optimization
Is your matrix Aeq sparse? I mean, does it have a large number of zeros? If so, use <http://www.mathworks.com/help/matlab/sparse...

11 years ago | 0

Answered
variableIndices variable in global optimization toolbox GA
Use <http://www.mathworks.com/help/gads/mixed-integer-optimization.html mixed-integer optimization> along with the constraint th...

11 years ago | 0

Answered
exitflag=0 in fmincon accepted as accurate?
Take a look at what <http://www.mathworks.com/help/optim/ug/fmincon.html#f469794 exitflag 0> means: Number of iterations exc...

11 years ago | 1

| accepted

Answered
using matlabfunction to declare variables
When you execute the first line of code you make lam a symbolic vector: lam = sym('lam', [1 3] ) lam = [ la...

11 years ago | 1

| accepted

Answered
Function program to optimize multiple variables of an equation
Do you have a question? If so, I am unable to understand what you are asking. If you are looking for a program that solves si...

11 years ago | 2

Answered
MATLAB code for solving system of ODE with unknown parameters
I am not going to give you a step-by-step tutorial on how to formulate ODE for solution in MATLAB. I will tell you that you have...

11 years ago | 0

Answered
MILP Impose Equality Constraint on Columns
I am not sure that I understand your problem, but perhaps what you need is a set of indicator (binary) variables y(j) where y(j)...

11 years ago | 0

Answered
multi- objective solution for specified range of output values for the two functions
I know of no simple way of obtaining what you want within the optimization. But it seems to me that you could apply a filter aft...

11 years ago | 0

| accepted

Answered
Error using optimset (line 214) Unrecognized parameter name 'NonlEqnAlgorithm'.
Remove the 'NonlEqnAlgorithm' argument, as it makes no sense: fsolve(fcn, 0.5 .* ones(1, length(Tenors)), optimset('Display'...

11 years ago | 0

Answered
How to do this problem
I'm sorry, but I don't understand what you are asking. Nevertheless, I have the feeling that you might want to look at the Optim...

11 years ago | 0

Answered
Convergence problem for several variables
If you have Optimization Toolbox you might find the <http://www.mathworks.com/help/optim/ug/fsolve.html fsolve function> to be h...

11 years ago | 0

| accepted

Answered
What is the purpose of fminimax?
Look at the end of <http://www.mathworks.com/help/optim/ug/multiobjective-optimization-algorithms.html this page> to see a short...

11 years ago | 3

| accepted

Answered
How to solve a nonlinear system of n equations
Your function is not smooth--it has both abs and sign calls. Therefore you cannot expect fsolve to work effectively starting fro...

11 years ago | 1

Load more