Community Profile

Contact

Optimization specialist

Top 1% contributor

18 downloads

1 month ago

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...

22900 views

Responded 6 years ago

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

10791 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...

9997 views

Responded 8 years ago

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

9528 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...

8660 views

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...

6936 views

Responded 5 years ago

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

6173 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...

5487 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...

5363 views

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

5277 views

Responded 4 years ago

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

5033 views

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

4411 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...

4329 views

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

4277 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...

4268 views

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

4207 views

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

3827 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...

3659 views

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

3560 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