Creates an array of numeric variables, all with the same upper and
lower bound, but with individually specified names.
Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0
Syntax
| C# |
|---|
public virtual INumVar[] NumVarArray( int n, double lb, double ub, string[] name ) |
| Visual Basic |
|---|
Public Overridable Function NumVarArray ( _ n As Integer, _ lb As Double, _ ub As Double, _ name As String() _ ) As INumVar() |
Parameters
- n
- Type: System..::..Int32
- lb
- Type: System..::..Double
- ub
- Type: System..::..Double
- name
- Type: array<System..::..String>[]()[][]