Package com.imsl.math
Interface MinConNonlin.Gradient
- All Superinterfaces:
MinConNonlin.Function
- Enclosing class:
- MinConNonlin
Deprecated.
Public interface for the user supplied function to
MinConNonlin object.-
Method Summary
Modifier and TypeMethodDescriptionvoidgradient(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.Methods inherited from interface com.imsl.math.MinConNonlin.Function
f
-
Method Details
-
gradient
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.- Parameters:
mTotalConstraints- an inputintvalue specifying the total number of constraints.mEqualityConstraints- an inputintvalue specyfying the number of equality constraintsx- an inputdoublearray, the point at which the function is to be evaluatedactive- an inputbooleanarray, specifying the active constraintsf- an inputdouble, the value of the function at xg- an inputdoublearray containing the values of the constraints at point x.df- an outputdoublearray containing the values of the gradient of the objective function at xdg- an output MMAX by Ndoublearray containing the values of the gradients for the active constraints. MMAX is the maximum of 1 and mTotalConstraints. N is the number of variables.
-
MinConNonlinhas been replaced byMinConNLP.