Constructor for MinConGenLin.
Namespace: Imsl.MathAssembly: 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
)
Public Sub New (
fcn As MinConGenLinIFunction,
nvar As Integer,
ncon As Integer,
neq As Integer,
a As Double(),
b As Double(),
lowerBound As Double(),
upperBound As Double()
)
public:
MinConGenLin(
MinConGenLinIFunction^ fcn,
int nvar,
int ncon,
int neq,
array<double>^ a,
array<double>^ b,
array<double>^ lowerBound,
array<double>^ upperBound
)
new :
fcn : MinConGenLinIFunction *
nvar : int *
ncon : int *
neq : int *
a : float[] *
b : float[] *
lowerBound : float[] *
upperBound : float[] -> MinConGenLin
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 Exception | Condition |
---|
ArgumentException |
is thrown if the dimensions of nvar, ncon, neq,
a.length , b.length, lowerBound.length and
upperBound.length are not consistent
|
See Also