For QP problems, you must supply a version of qphx to compute the matrix product Hx. If H has rows and columns consisting entirely of zeros, it is most efficient to order the variables x=yzT so that
Hx=H1000yz=H1y0,
where the nonlinear variables y appear first as shown. For LP problems, qphx will never be called by h02ce.

Syntax

C#
public delegate void H02CE_QPHX(
	int nstate,
	int ncolh,
	double[] x,
	double[] hx
)
Visual Basic
Public Delegate Sub H02CE_QPHX ( _
	nstate As Integer, _
	ncolh As Integer, _
	x As Double(), _
	hx As Double() _
)
Visual C++
public delegate void H02CE_QPHX(
	int nstate, 
	int ncolh, 
	array<double>^ x, 
	array<double>^ hx
)
F#
type H02CE_QPHX = 
    delegate of 
        nstate : int * 
        ncolh : int * 
        x : float[] * 
        hx : float[] -> unit

Parameters

nstate
Type: System..::..Int32
On entry: if nstate=1, then h02ce is calling qphx for the first time on a sub-problem. This parameter setting allows you to save computation time if certain data must be read or calculated only once.
If nstate2, then h02ce is calling qphx for the last time. This parameter setting allows you to perform some additional computation on the final sub-problem solution. In general, the last call to qphx is made with nstate=2+ifail (see []).
Otherwise, nstate=0.
ncolh
Type: System..::..Int32
On entry: this is the same parameter ncolh as supplied to h02ce.
x
Type: array<System..::..Double>[]()[][]
On entry: the first ncolh elements of the vector x.
hx
Type: array<System..::..Double>[]()[][]
On exit: the product Hx.

See Also