Community Profile

photo

Rakesh Kumar

Last seen: 4 days ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Can I restart surrogateopt from earlier iterations with checkpoint file?
I don't think of any easy way to do this.

12 months ago | 2

Answered
Optimization using parallel-computing is returning optimized vector that does not match the reward provided.
Hi Aaron, Optimization solvers often does not work with "UseParallel == true" option when a Simulink model is part of objective...

1 year ago | 3

| accepted

Answered
Is it possible to impose custom conditions for an early surrogate reset?
Hi James, Surrogateopt reset criteria depends on the "expected reduction of objective function value" assuming the incumbent is...

3 years ago | 0

| accepted

Answered
GA error due to boxdirections
Before running your code, please issue this command (so MATLAB wil stop where an error is thrown) dbstop if error MATLAB will ...

3 years ago | 0

Answered
Unexpected Change in Population Diversity of Genetic Algorithm
Hi David, The behavior is strange. It would be great to have a reproduction script if you can share since this behavior is on a...

3 years ago | 0

Answered
Please could I have more detail on the 'quasirandom' sequence in surrogateopt?
Please take a look at this doc page (section Definitions for Surrogate Optimization) https://www.mathworks.com/help/gads/surrog...

4 years ago | 0

Answered
Does using global variables in objective function risk error when using ga in parallel?
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...

9 years ago | 1

Answered
Patternsearchw with genetic algorithm
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...

10 years ago | 0

| accepted

Answered
Slacktol value ?
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...

12 years ago | 0

| accepted

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

13 years ago | 1

Answered
How to get alternative solutions to a linear programming problem using linprog?
Why do you think there won't be a unique solution? When you have a linear objective (bounded) and constraints are linear (and bo...

13 years ago | 1

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

13 years ago | 1

Answered
Optimization of function described in standalone code
You will have to create a C++ file (which is called MEX in MATLAB environment) that can be called directly from MATLAB. See some...

13 years ago | 0

| accepted