Feeds
已回答
Can I restart surrogateopt from earlier iterations with checkpoint file?
I don't think of any easy way to do this.
Can I restart surrogateopt from earlier iterations with checkpoint file?
I don't think of any easy way to do this.
1 year 前 | 2
已回答
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...
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 前 | 3
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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 ...
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 前 | 0
已回答
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...
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 前 | 0
已回答
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...
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 前 | 0
已提交
New Approaches to Constrained Optimization in MATLAB
M-files accompanying the webinar held on November 05, 2005
8 years 前 | 1 次下载 |
已提交
Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox
M-files used in the webinar held on September 16, 2004.
8 years 前 | 6 次下载 |
已回答
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...
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 前 | 1
已回答
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...
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 前 | 0
| 已接受
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已回答
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...
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 前 | 0
| 已接受
已回答
mesh size change in patternsearch
The trial points are probably infeasible with that big mesh size; hence no function evaluation.
mesh size change in patternsearch
The trial points are probably infeasible with that big mesh size; hence no function evaluation.
13 years 前 | 1
已回答
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...
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 前 | 1
已回答
quadprog vs fmincon
Have you looked at fmincon 'interior-point' algorithm option? Here is a snippet of help from this algorithm W = HessMultFcn(x...
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 前 | 1
已回答
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...
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 前 | 0
| 已接受