Community Profile

Contact

Optimization specialist

Top 1% contributor

Every worker will have its own copy of the global variable not in sync with other workers. Its global for all the M-files on a w...

1

Answered 1 year ago

Hi Grzegorz, Thanks for posting this issue; it is a bug. The only workaround I can see is to change the code and compare nargin...

accepted

0

Answered 2 years ago

First suggestion is to use the newer algorithm added in 11a if you can. The warning message I get should be fixed (easy to f...

Answered 5 years ago

The trial points are probably infeasible with that big mesh size; hence no function evaluation.

Why do you think there won't be a unique solution? When you have a linear objective (bounded) and constraints are linear (and bo...

Have you looked at fmincon 'interior-point' algorithm option? Here is a snippet of help from this algorithm W = HessMultFcn(x...

You will have to create a C++ file (which is called MEX in MATLAB environment) that can be called directly from MATLAB. See some...

I am not sure I understand the problem correctly but I will try to help you. I think you have a function that takes 'multiple sc...

21775 views

Responded 6 years ago

23 downloads

12 years ago

Setting TolCon to 0 is not recommended because typically solution is at the feasible boundary. If the optimal solution is inside...

10324 views

Responded 7 years ago

Mario Ruz" <mario_ruz@hotmail.com> wrote in message You can try lsqnonlin function. Here is a section from the help for this fu...

9840 views

Responded 8 years ago

Neither 'active-set' nor 'interior-point' are strictly feasible solvers. Nonlinear constraints may be violated by both these sol...

9122 views

Can you post the iterative display from fminsearch when you run the solver? Don't change the TolX or TolFun. We can see what are...

8447 views

Responded 5 years ago

There are several ways to formulate a multi-objective problem and you will have to work a bit to reformulate in most cases. In s...

6552 views

Responded 4 years ago

Fakher, Unfortunately, there is no direct way to do that with gamultiobj solver. You can write your custom population creation, ...

6046 views

I was looking to get a code snippet that can reproduce the error you are getting without which I am not able to understand the c...

5345 views

I am not familiar with this error message so I will need some help from you in reproducing it. Is it possible for you send a sni...

What do you mean by a common solution? If there is a common minimum then you don't have a multi-objective formulation. You hav...

5167 views

Easiest way is to use lsqcurvefit function in optimization toolbox. I am pretty sure Caltech have license for optimization toolb...

4987 views

If you have the optimization toolbox, you should be able to formulate your constraints. John is right, you can only pose constra...

4793 views

x' is the independent variable and it is independent of the constant as well. Rakesh

4267 views

The constant term changes the function value (f) but does NOT change the decision variable (x). At the end of the optimization s...

As a test, you can provide these two points to the solver as initial population and see if they remain in the solution. I can he...

4228 views

The tolerance used for linear and bound constraints is sqrt(TolCon). Only for nonlinear constraints, the tolerance is TolCon. Th...

4090 views

You can use an output function to get the iterates in every iteration and save that in either a MAT file or an appdata. There ar...

4074 views

Some of the algorithms in fmincon will satisfy the bounds exactly. It is not unusual for algorithms like interior-point or sqp t...

4067 views

Mark " <mark.rempel@drdc-rddc.gc.ca> wrote in message Thanks for pointing out this bug. This function is working fine for multi...

3720 views

Responded 9 years ago

Hi Joris, I am not convinced that it is okay to expect an "increase" in the best function value reported by fminsearch. The solv...

3559 views

There are two parts in creating initial population. First, creating individuals that are feasible and second, evaluate the funct...

3448 views

Every MATLAB worker has to find the objective function on their own path. This can be achieved in multiple ways but I prefer the...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries