Wrapper around the matlab optimizers.
More...
|
function | MatlabGA (var varargin) |
| Class constructor.
|
|
function | optimize (var arg) |
| This function optimizes the given function handle.
|
|
function | getPopulationSize () |
| Get the number of individuals.
|
|
function | setInputConstraints (var con) |
| Sets input constraints.
|
|
function | getBounds () |
| Returns bounds for optimizers that need it.
|
|
function | setBounds (var LB, var UB) |
| Sets bounds for optimizers that need it.
|
|
function | getInitialPopulation () |
| Gets the starting positions for the search.
|
|
function | setInitialPopulation (var pop) |
| Sets the starting positions for the search.
|
|
function | getInputDimension () |
| Returns the number of input variables.
|
|
function | getOutputDimension () |
| Returns the number of cost functions.
|
|
function | setDimensions (var inDim, var outDim) |
| Sets the number of input and output dimensions.
|
|
function | setHint (var key, var value) |
| Gives a hint to the optimizer.
|
|
function | getHint (var key) |
| Gets a hint to the optimizer.
|
|
function | setState (var state) |
| Sets some extra information.
|
|
function | getState () |
| Gets some extra information.
|
|
Wrapper around the matlab optimizers.
Class constructor.
- Returns
- instance of the class
Returns bounds for optimizers that need it.
Only needed for optimization methods that support it.
- Return values
-
LB | lower bound |
UB | upper bound |
function getHint |
( |
var |
key | ) |
|
|
inherited |
Gets a hint to the optimizer.
Returns a particular hint setting.
- Parameters
-
- Return values
-
function getInitialPopulation |
( |
| ) |
|
|
inherited |
Gets the starting positions for the search.
pop may be a matrix for population-based, multi-start, etc. methods
- Return values
-
startx | matrix of initial values |
function getInputDimension |
( |
| ) |
|
|
inherited |
Returns the number of input variables.
- Return values
-
nvars | Number of input variables |
function getOutputDimension |
( |
| ) |
|
|
inherited |
Returns the number of cost functions.
Returns the number of output variables.
- Return values
-
nobjectives | Number of cost functions |
function getPopulationSize |
( |
| ) |
|
Get the number of individuals.
Gets some extra information.
- Return values
-
function optimize |
( |
var |
arg | ) |
|
This function optimizes the given function handle.
function setBounds |
( |
var |
LB, |
|
|
var |
UB |
|
) |
| |
|
inherited |
Sets bounds for optimizers that need it.
Only needed for optimization methods that support it.
- Parameters
-
LB | lower bound |
UB | upper bound |
function setDimensions |
( |
var |
inDim, |
|
|
var |
outDim |
|
) |
| |
|
inherited |
Sets the number of input and output dimensions.
Includes some input checking to ensure that the bounds and the initial population are still correct.
- Parameters
-
inDim | Number of input variables |
outDim | Number of cost functions |
If not, these variables are reset to their default values without warning!
function setHint |
( |
var |
key, |
|
|
var |
value |
|
) |
| |
|
inherited |
Gives a hint to the optimizer.
Sets a hint that may or not be honored by the optimizer (depends on the type...).
- Parameters
-
key | property name |
value | property value |
Only supports 'maxTime', time atm.
function setInitialPopulation |
( |
var |
pop | ) |
|
|
inherited |
Sets the starting positions for the search.
Sets the initial population.
- Parameters
-
pop | matrix of initial values |
function setInputConstraints |
( |
var |
con | ) |
|
function setState |
( |
var |
state | ) |
|
|
inlineinherited |
Sets some extra information.
- Parameters
-
The documentation for this class was generated from the following files:
- /home/ilm/projecten/meta/scripts/ooDACE/optimizers/@MatlabGA/MatlabGA.m
- /home/ilm/projecten/meta/scripts/ooDACE/optimizers/@MatlabGA/getPopulationSize.m
- /home/ilm/projecten/meta/scripts/ooDACE/optimizers/@MatlabGA/optimize.m
- /home/ilm/projecten/meta/scripts/ooDACE/optimizers/@MatlabGA/setInputConstraints.m