Constructor for MinConGenLin.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
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
Exception | Condition |
---|
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