If iprint0, you must supply monit which is suitable for monitoring the minimization process. monit must not change the values of any of its parameters.
If iprint<0, 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..::..Int32
On entry: the number n of variables.
xc
Type: array<System..::..Double>[]()[][]
On entry: the coordinates of the current point x.
fc
Type: System..::..Double
On entry: the value of Fx at the current point x.
gc
Type: array<System..::..Double>[]()[][]
On entry: the value of Fxj at the current point x, for j=1,2,,n.
istate
Type: array<System..::..Int32>[]()[][]
On entry: information about which variables are currently fixed on their bounds and which are free.
If istate[j-1] is negative, xj is currently:
fixed on its upper bound if istate[j-1]=-1
fixed on its lower bound if istate[j-1]=-2
effectively a constant (i.e., lj=uj) if istate[j-1]=-3
If istate[j-1] is positive, its value gives the position of xj in the sequence of free variables.
gpjnrm
Type: System..::..Double
On entry: the Euclidean norm of the current projected gradient vector gz.
cond
Type: System..::..Double
On entry: the ratio of the largest to the smallest elements of the diagonal factor D 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..::..Boolean
On entry: specifies true or false according to whether or not the approximation to the second derivative matrix for the current subspace, H, is positive definite.
niter
Type: System..::..Int32
On entry: the number of iterations (as outlined in []) which have been performed by e04kd so far.
nf
Type: System..::..Int32
On entry: the number of evaluations of Fx so far, i.e., the number of calls of funct with iflag set to 2. Each such call of funct also calculates the first derivatives of F. (In addition to these calls monitored by nf, funct is called with iflag set to 1 not more than n times per iteration.)

See Also