Community Profile

photo

Rakesh Kumar

Last seen: 22 dagen ago Active since 2011

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

Content Feed

View by

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

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

ongeveer een jaar 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...

bijna 3 jaar 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 ...

meer dan 3 jaar 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...

meer dan 3 jaar 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...

ongeveer 4 jaar ago | 0

Submitted


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

meer dan 7 jaar 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.

meer dan 7 jaar ago | 20 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...

bijna 9 jaar 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...

ongeveer 10 jaar ago | 0

| accepted

Solved


inner product of two vectors
inner product of two vectors

bijna 12 jaar 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...

bijna 12 jaar 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...

bijna 12 jaar 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...

bijna 12 jaar 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...

bijna 12 jaar 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...

ongeveer 12 jaar 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:...

ongeveer 12 jaar 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...

ongeveer 12 jaar 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...

meer dan 12 jaar ago | 0

| accepted

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

bijna 13 jaar 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...

bijna 13 jaar 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...

bijna 13 jaar 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...

ongeveer 13 jaar ago | 0

| accepted