public class Cobyla
extends java.lang.Object
Constructor and Description |
---|
Cobyla() |
Modifier and Type | Method and Description |
---|---|
static CobylaExitStatus |
FindMinimum(Calcfc calcfc,
int n,
int m,
double[] x,
double rhobeg,
double rhoend,
int iprint,
int maxfun,
boolean[] terminate)
Minimizes the objective function F with respect to a set of inequality constraints CON,
and returns the optimal variable array.
|
public static CobylaExitStatus FindMinimum(Calcfc calcfc, int n, int m, double[] x, double rhobeg, double rhoend, int iprint, int maxfun, boolean[] terminate) throws IllegalActionException
calcfc
- Interface implementation for calculating objective function and constraints.n
- Number of variables.m
- Number of constraints.x
- On input initial values of the variables (zero-based array). On output
optimal values of the variables obtained in the COBYLA minimization.rhobeg
- Initial size of the simplex.rhoend
- Final value of the simplex.iprint
- Print level, 0 <= iprint <= 3, where 0 provides no output and
3 provides full output to the console.maxfun
- Maximum number of function evaluations before terminating.IllegalActionException