MinConNonlin has been replaced by MinConNLP.public static interface MinConNonlin.Gradient extends MinConNonlin.Function
MinConNonlin object.| Modifier and Type | Method and Description |
|---|---|
void |
gradient(int mTotalConstraints,
int mEqualityConstraints,
double[] x,
boolean[] active,
double f,
double[] g,
double[] df,
double[][] dg)
Deprecated.
Computes the value of the gradient of the function at the given point.
|
fvoid gradient(int mTotalConstraints,
int mEqualityConstraints,
double[] x,
boolean[] active,
double f,
double[] g,
double[] df,
double[][] dg)
mTotalConstraints - an input int value specifying the total
number of constraints.mEqualityConstraints - an input int value specyfying the number
of equality constraintsx - an input double array, the point
at which the function is to be evaluatedactive - an input boolean array, specifying the active
constraintsf - an input double, the value of the function at xg - an input double array containing the
values of the constraints at point x.df - an output doublearray containing the values of
the gradient of the objective function at xdg - an output MMAX by N double array containing the values of the gradients
for the active constraints. MMAX is the maximum of 1 and mTotalConstraints. N is the number of
variables.Copyright © 2020 Rogue Wave Software. All rights reserved.