Constructor for MinConGenLin.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public MinConGenLin(
	MinConGenLin..::.IFunction fcn,
	int nvar,
	int ncon,
	int neq,
	double[] a,
	double[] b,
	double[] lowerBound,
	double[] upperBound
)
Visual Basic (Declaration)
Public Sub New ( _
	fcn As MinConGenLin..::.IFunction, _
	nvar As Integer, _
	ncon As Integer, _
	neq As Integer, _
	a As Double(), _
	b As Double(), _
	lowerBound As Double(), _
	upperBound As Double() _
)
Visual C++
public:
MinConGenLin(
	MinConGenLin..::.IFunction^ fcn, 
	int nvar, 
	int ncon, 
	int neq, 
	array<double>^ a, 
	array<double>^ b, 
	array<double>^ lowerBound, 
	array<double>^ upperBound
)

Parameters

fcn
Type: Imsl.Math..::.MinConGenLin..::.IFunction
The user-supplied MinConGenLin.IFunction to be minimized.
nvar
Type: System..::.Int32
An int scalar containing the number of variables.
ncon
Type: System..::.Int32
An int scalar containing the number of linear constraints (excluding simple bounds).
neq
Type: System..::.Int32
An int scalar containing the number of linear equality constraints.
a
Type: array< System..::.Double >[]()[]
A double array containing the equality constraint gradients in the first neq rows followed by the inequality constraint gradients. a.length = ncon * nvar.
b
Type: array< System..::.Double >[]()[]
A double array containing the right-hand sides of the linear constraints.
lowerBound
Type: array< System..::.Double >[]()[]
A double array containing the lower bounds on the variables. lowerBound.length = nvar.
upperBound
Type: array< System..::.Double >[]()[]
A double array containing the upper bounds on the variables. upperBound.length = nvar.

Exceptions

ExceptionCondition
System..::.ArgumentException is thrown if the dimensions of nvar, ncon, neq, a.length , b.length, lowerBound.length and upperBound.length are not consistent

See Also