Click or drag to resize
MinConGenLin Constructor
Constructor for MinConGenLin.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public MinConGenLin(
	MinConGenLinIFunction fcn,
	int nvar,
	int ncon,
	int neq,
	double[] a,
	double[] b,
	double[] lowerBound,
	double[] upperBound
)

Parameters

fcn
Type: Imsl.MathMinConGenLinIFunction
The user-supplied MinConGenLin.IFunction to be minimized.
nvar
Type: SystemInt32
An int scalar containing the number of variables.
ncon
Type: SystemInt32
An int scalar containing the number of linear constraints (excluding simple bounds).
neq
Type: SystemInt32
An int scalar containing the number of linear equality constraints.
a
Type: SystemDouble
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: SystemDouble
A double array containing the right-hand sides of the linear constraints.
lowerBound
Type: SystemDouble
A double array containing the lower bounds on the variables. lowerBound.length = nvar.
upperBound
Type: SystemDouble
A double array containing the upper bounds on the variables. upperBound.length = nvar.
Exceptions
ExceptionCondition
ArgumentException is thrown if the dimensions of nvar, ncon, neq, a.length , b.length, lowerBound.length and upperBound.length are not consistent
See Also