If , you must supply monit which is suitable for monitoring the minimization process. monit must not change the values of any of its parameters.
If , a monit with the correct parameter list must still be supplied, although it will not be called.
Syntax
C# |
---|
public delegate void E04KD_MONIT( int n, double[] xc, double fc, double[] gc, int[] istate, double gpjnrm, double cond, bool posdef, int niter, int nf ) |
Visual Basic |
---|
Public Delegate Sub E04KD_MONIT ( _ n As Integer, _ xc As Double(), _ fc As Double, _ gc As Double(), _ istate As Integer(), _ gpjnrm As Double, _ cond As Double, _ posdef As Boolean, _ niter As Integer, _ nf As Integer _ ) |
Visual C++ |
---|
public delegate void E04KD_MONIT( int n, array<double>^ xc, double fc, array<double>^ gc, array<int>^ istate, double gpjnrm, double cond, bool posdef, int niter, int nf ) |
F# |
---|
type E04KD_MONIT = delegate of n : int * xc : float[] * fc : float * gc : float[] * istate : int[] * gpjnrm : float * cond : float * posdef : bool * niter : int * nf : int -> unit |
Parameters
- n
- Type: System..::..Int32On entry: the number of variables.
- xc
- Type: array<System..::..Double>[]()[][]On entry: the coordinates of the current point .
- fc
- Type: System..::..DoubleOn entry: the value of at the current point .
- gc
- Type: array<System..::..Double>[]()[][]On entry: the value of at the current point , for .
- istate
- Type: array<System..::..Int32>[]()[][]On entry: information about which variables are currently fixed on their bounds and which are free.If is negative, is currently:
– fixed on its upper bound if – fixed on its lower bound if – effectively a constant (i.e., ) if If is positive, its value gives the position of in the sequence of free variables.
- gpjnrm
- Type: System..::..DoubleOn entry: the Euclidean norm of the current projected gradient vector .
- cond
- Type: System..::..DoubleOn entry: the ratio of the largest to the smallest elements of the diagonal factor of the approximated projected Hessian matrix. This quantity is usually a good estimate of the condition number of the projected Hessian matrix. (If no variables are currently free, cond is set to zero.)
- posdef
- Type: System..::..BooleanOn entry: specifies true or false according to whether or not the approximation to the second derivative matrix for the current subspace, , is positive definite.
- niter
- Type: System..::..Int32
- nf
- Type: System..::..Int32