e05jbk Method
関数リスト一覧   NagLibrary Namespaceへ  ライブラリイントロダクション  本ヘルプドキュメントのchm形式版

NAG supplied method for use with the callback parameter: monit.

Syntax

C#
public static void e05jbk(
	int n,
	int ncall,
	double[] xbest,
	int[] icount,
	double[,] list,
	int[] numpts,
	int[] initpt,
	int nbaskt,
	double[,] xbaskt,
	double[] boxl,
	double[] boxu,
	int nstate,
	out int inform
)
Visual Basic (Declaration)
Public Shared Sub e05jbk ( _
	n As Integer, _
	ncall As Integer, _
	xbest As Double(), _
	icount As Integer(), _
	list As Double(,), _
	numpts As Integer(), _
	initpt As Integer(), _
	nbaskt As Integer, _
	xbaskt As Double(,), _
	boxl As Double(), _
	boxu As Double(), _
	nstate As Integer, _
	<OutAttribute> ByRef inform As Integer _
)
Visual C++
public:
static void e05jbk(
	int n, 
	int ncall, 
	array<double>^ xbest, 
	array<int>^ icount, 
	array<double,2>^ list, 
	array<int>^ numpts, 
	array<int>^ initpt, 
	int nbaskt, 
	array<double,2>^ xbaskt, 
	array<double>^ boxl, 
	array<double>^ boxu, 
	int nstate, 
	[OutAttribute] int% inform
)
F#
static member e05jbk : 
        n:int * 
        ncall:int * 
        xbest:float[] * 
        icount:int[] * 
        list:float[,] * 
        numpts:int[] * 
        initpt:int[] * 
        nbaskt:int * 
        xbaskt:float[,] * 
        boxl:float[] * 
        boxu:float[] * 
        nstate:int * 
        inform:int byref -> unit 

Parameters

n
Type: System..::.Int32
On entry: n, the number of variables.
ncall
Type: System..::.Int32
On entry: the cumulative number of calls to objfun.
xbest
Type: array< System..::.Double >[]()[]
An array of size [n]
On entry: the current best point.
icount
Type: array< System..::.Int32 >[]()[]
An array of size [6]
On entry: an array of counters.
icount[0]
nboxes, the current number of sub-boxes.
icount[1]
ncloc, the cumulative number of calls to objfun made in local searches.
icount[2]
nloc, the cumulative number of points used as start points for local searches.
icount[3]
nsweep, the cumulative number of sweeps through levels.
icount[4]
m, the cumulative number of splits by initialization list.
icount[5]
s, the current lowest level containing non-split boxes.
list
Type: array< System..::.Double ,2>[,](,)[,]
An array of size [n, ninit]
On entry: the initialization list.
numpts
Type: array< System..::.Int32 >[]()[]
An array of size [n]
On entry: the number of points in each coordinate at which to split according to the initialization list list.
initpt
Type: array< System..::.Int32 >[]()[]
An array of size [n]
On entry: a pointer to the ‘initial point’ in list. Element initpt[i-1] is the column index in list of the ith coordinate of the initial point.
nbaskt
Type: System..::.Int32
On entry: the number of points in the ‘shopping basket’ xbaskt.
xbaskt
Type: array< System..::.Double ,2>[,](,)[,]
An array of size [n, nbaskt]
On entry: the ‘shopping basket’ of candidate minima.
boxl
Type: array< System..::.Double >[]()[]
An array of size [n]
On entry: the array of lower bounds of the current search box.
boxu
Type: array< System..::.Double >[]()[]
An array of size [n]
On entry: the array of upper bounds of the current search box.
nstate
Type: System..::.Int32
On entry: is set by e05jbk to indicate at what stage of the minimization monit was called.
nstate=1
This is the first time that monit has been called.
nstate=-1
This is the last time monit will be called.
nstate=0
This is the first and last time monit will be called.
inform
Type: System..::.Int32 %
On exit: must be set to a value describing the action to be taken by the solver on return from monit: if the value is negative the solution of the current problem will terminate immediately; otherwise, computations will continue.

Error Indicators and Warnings

Accuracy

Further Comments

See Also