public interface Calcfc
| Modifier and Type | Method and Description |
|---|---|
double |
Compute(int n,
int m,
double[] x,
double[] con,
boolean[] terminate)
The objective and constraints function evaluation method used in COBYLA2 minimization.
|
double Compute(int n,
int m,
double[] x,
double[] con,
boolean[] terminate)
throws IllegalActionException
n - Number of variables.m - Number of constraints.x - Variable values to be employed in function and constraints calculation.con - Calculated function values of the constraints.terminate - A boolean array that provides the terminate state. Only the first element of the array is readIllegalActionException