photo

Rakesh Kumar

Last seen: 16 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.

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

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

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

4 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

Submitted


New Approaches to Constrained Optimization in MATLAB
M-files accompanying the webinar held on November 05, 2005

8 years ago | 1 download |

Thumbnail

Submitted


Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox
M-files used in the webinar held on September 16, 2004.

8 years ago | 6 downloads |

Thumbnail

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

11 years ago | 0

| accepted

Solved


inner product of two vectors
inner product of two vectors

12 years ago

Solved


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

12 years ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

12 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

12 years ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

12 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

13 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

13 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

13 years ago

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

13 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