The CplexModeler type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Abs(IIntExpr) |
Returns an expression representing the absolute value of its argument,
the expression specified by expr.
| |
| Abs(INumExpr) |
Returns an expression representing the absolute value of its argument,
the expression specified by expr.
| |
| Add(IAddable) |
Adds object to the invoking model.
| |
| Add(array<IAddable>[]()[][]) |
Adds the array of objects to the invoking model.
| |
| Add(array<IAddable>[]()[][], Int32, Int32) |
Adds part of the array of objects to the invoking model,
starting with the index start and continuing to
the number of objects specified by num.
| |
| AddEq(Double, INumExpr) |
Creates and returns a range initialized to represent the
equality of the specified value and expression.
| |
| AddEq(INumExpr, INumExpr) |
Creates and returns a constraint initialized to represent the
equality of the two specified expressions.
| |
| AddEq(INumExpr, Double) |
Creates and returns a range initialized to represent the
equality of the specified expression and value.
| |
| AddEq(Double, INumExpr, String) |
Creates and returns a named range initialized to represent the
equality of the specified value and expression.
| |
| AddEq(INumExpr, INumExpr, String) |
Creates and returns a named constraint initialized to represent the
equality of the two specified expressions.
| |
| AddEq(INumExpr, Double, String) |
Creates and returns a named range initialized to represent the
equality of the specified expression and value.
| |
| AddGe(Double, INumExpr) |
Creates and returns a constraint that the specified
value must be greater than or equal to the
specified numeric expression.
| |
| AddGe(INumExpr, INumExpr) |
Creates and returns a constraint that the first specified
numeric expression must be greater than or equal to the
second specified numeric expression.
| |
| AddGe(INumExpr, Double) |
Creates and returns a range representing the constraint
that the specified numeric expression must be greater than or equal to
the specified value.
| |
| AddGe(Double, INumExpr, String) |
Creates and returns a named constraint that the specified
value must be greater than or equal to the
specified numeric expression.
| |
| AddGe(INumExpr, INumExpr, String) |
Creates and returns a named constraint that the first specified
numeric expression must be greater than or equal to the
second specified numeric expression.
| |
| AddGe(INumExpr, Double, String) |
Creates and returns a range representing the constraint
that the specified numeric expression must be greater than or equal to
the specified value.
| |
| AddLe(Double, INumExpr) |
Creates and returns a range forcing the specified
value to be less than than or equal to the
specified numeric expression.
| |
| AddLe(INumExpr, INumExpr) |
Creates and returns a constraint forcing the first specified
numeric expression to be less than than or equal to the
second specified numeric expression.
| |
| AddLe(INumExpr, Double) |
Creates and returns a range forcing the specified
numeric expression to be less than than or equal to the
specified value.
| |
| AddLe(Double, INumExpr, String) |
Creates and returns a named range forcing the specified
value to be less than than or equal to the
specified numeric expression.
| |
| AddLe(INumExpr, INumExpr, String) |
Creates and returns a named constraint forcing the first specified
numeric expression to be less than than or equal to the
second specified numeric expression.
| |
| AddLe(INumExpr, Double, String) |
Creates and returns a named range forcing the specified
numeric expression to be less than than or equal to the
specified value.
| |
| AddLPMatrix()()()() |
Creates, returns, and adds an empty LP matrix object
to the invoking model.
| |
| AddLPMatrix(String) |
Creates, returns, and adds an empty LP matrix object,
with the specified name, to the invoking model.
| |
| AddMaximize()()()() |
Creates and returns an empty objective function
and adds it to the invoking model.
| |
| AddMaximize(String) |
Creates and returns a named objective function
and adds it to the invoking model.
| |
| AddMaximize(INumExpr) |
Creates and returns an objective to maximize the expression
and adds it to the invoking model.
| |
| AddMaximize(INumExpr, String) |
Creates and returns a named objective function
and adds it to the invoking model.
| |
| AddMinimize()()()() |
Creates and returns an empty objective function
and adds it to the invoking model.
| |
| AddMinimize(String) |
Creates and returns a named objective function
and adds it to the invoking model.
| |
| AddMinimize(INumExpr) |
Creates and returns an objective to minimize the expression
and adds it to the invoking model.
| |
| AddMinimize(INumExpr, String) |
Creates and returns a named objective function
and adds it to the invoking model.
| |
| AddObjective(ObjectiveSense) |
Creates and returns an empty objective function
with the specified sense
and adds it to the invoking model.
| |
| AddObjective(ObjectiveSense, INumExpr) |
Creates and returns an objective to optimize the expression
in the specified sense and adds the objective to the invoking model.
| |
| AddObjective(ObjectiveSense, String) |
Creates and returns a named objective function
with the specified sense
and adds it to the invoking model.
| |
| AddObjective(ObjectiveSense, INumExpr, String) |
Creates and returns an objective to optimize the expression
with respect to the sense and adds it to the invoking model.
| |
| AddRange(Double, Double) |
Creates and returns an empty range object with the
specified lower and upper bounds.
| |
| AddRange(Double, INumExpr, Double) |
Creates, returns, and adds to the invoking model a
range object with the specified expression as well as
upper and lower bounds.
| |
| AddRange(Double, Double, String) |
Creates and returns an empty range object with the specified
name and specified lower and upper bounds.
| |
| AddRange(Double, INumExpr, Double, String) |
Creates, returns, and adds to the invoking model a
range object with the specified name, upper and lower bounds, and
expression.
| |
| AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][]) |
Creates a special ordered set (SOS) of type 1
with the specified variables and weights and
adds it to the invoking model.
| |
| AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], String) |
Creates and returns a named special ordered set (SOS) of type 1
with the specified variables and weights, and
adds that SOS1 to the invoking model.
| |
| AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates a special ordered set (SOS) of type 1
with the specified variables and weights and
adds it to the invoking model.
| |
| AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String) |
Creates and returns a named special ordered set (SOS) of type 1,
starting from the specified index and continuing through a number of
elements in the array of
specified variables and weights, and adds that named SOS1
to the invoking model.
| |
| AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][]) |
Creates and returns a special ordered set (SOS) of type 2
from the specified array of variables and weights, and adds
that SOS2 to the invoking model.
| |
| AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], String) |
Creates and returns a named special ordered set (SOS) of type 2
from the specified array of variables and weights, and adds
that SOS2 to the invoking model.
| |
| AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates and returns a special ordered set (SOS) of type 2
from a number of elements, starting at the specified index, of
the specified array of variables and weights, and adds
that SOS2 to the invoking model.
| |
| AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String) |
Creates and returns a named special ordered set (SOS) of type 2
from a number of elements, starting at the specified index, of
the specified array of variables and weights, and adds
that SOS2 to the invoking model.
| |
| AddToExpr(IObjective, INumExpr) |
Adds a numeric expression to an objective.
| |
| AddToExpr(IRange, INumExpr) |
Adds the specified numeric expression to the specified range.
| |
| And()()()() |
Groups constraints together.
| |
| And(array<IConstraint>[]()[][]) |
Groups constraints together.
| |
| And(IConstraint, IConstraint) |
Groups together the constraints specified by its arguments.
| |
| And(array<IConstraint>[]()[][], String) |
Groups constraints together.
| |
| And(IConstraint, IConstraint, String) |
Groups together the constraints specified by its arguments and
assigns the string name to the group.
| |
| And(array<IConstraint>[]()[][], Int32, Int32) |
Groups together part of the constraints in the array cons
starting with the index specified by start and continuing
to the number of constraints specified by num.
| |
| And(array<IConstraint>[]()[][], Int32, Int32, String) |
Groups together part of the constraints from the array cons
starting with the index specified by start and
continuing to the number of constraints specified by num.
| |
| BoolVar()()()() |
Creates and returns a new Boolean variable (domain 0,1).
| |
| BoolVar(String) |
Creates and returns a new Boolean variable (domain 0,1)
with the specified name.
| |
| BoolVar(Column) |
Creates and returns a Boolean variable (domain 0, 1) representing
a column.
| |
| BoolVar(Column, String) |
Creates and returns a Boolean variable (domain 0, 1)
representing a column with a name.
| |
| BoolVarArray(Int32) |
Creates and returns an array of n new Boolean variables (domain 0,1).
| |
| BoolVarArray(ColumnArray) |
Creates and returns an array of Boolean variables (domain 0, 1)
representing an array of columns.
| |
| BoolVarArray(Int32, array<String>[]()[][]) |
Creates and returns an array of n new Boolean variables (domain 0,1)
each with an individually specified name.
| |
| BoolVarArray(ColumnArray, array<String>[]()[][]) |
Creates and returns an array of Boolean variables (domain 0, 1)
representing an array of named columns.
| |
| Column(ILPMatrix) |
Creates and returns a column from an LP matrix.
| |
| Column(IObjective, Double) |
Creates and returns a column from the specified objective and value.
| |
| Column(IRange, Double) |
Creates and returns a column from the specified range and value.
| |
| Column(ILPMatrix, array<Int32>[]()[][], array<Double>[]()[][]) |
Creates and returns a column from part of an LP matrix, using
the specified indices and values.
| |
| Column(ILPMatrix, array<Int32>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates and returns a column suitable for adding a number of
variables to an LP matrix, using a number of
the specified indices and values, starting from the specified
index.
| |
| ColumnArray(ILPMatrix, Int32) |
Creates and returns an array of a number of columns from an LP matrix.
| |
| ColumnArray(IObjective, array<Double>[]()[][]) |
Creates and returns an array of columns
from the specified objective and array of values.
| |
| ColumnArray(IRange, array<Double>[]()[][]) |
Creates and returns an array of columns from the
specified range and array of values.
| |
| ColumnArray(ILPMatrix, Int32, array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][]) |
Creates and returns an array of columns suitable for
adding new variables as columns in an LP matrix.
| |
| ColumnArray(IObjective, array<Double>[]()[][], Int32, Int32) |
Creates and returns an array of a number of columns,
starting from the specified index,
of the specified objective and the corresponding array of values.
| |
| ColumnArray(IRange, array<Double>[]()[][], Int32, Int32) |
Creates and returns an array of a number of columns,
starting from the specified index of the
range and corresponding array of values.
| |
| Constant(Double) |
Creates and returns an expression representing
a constant term.
| |
| Constant(Int32) |
Creates and returns an integer expression representing
a constant integer value.
| |
| Conversion(INumVar, NumVarType) |
Converts a numeric variable to a specified type.
| |
| Conversion(array<INumVar>[]()[][], NumVarType) |
Converts an array of numeric variables to the specified type.
| |
| Conversion(array<INumVar>[]()[][], array<NumVarType>[]()[][]) |
Converts an array of numeric variables to the corresponding
specified types.
| |
| Conversion(INumVar, NumVarType, String) |
Converts a numeric variable to the specified type and names
the converted variable.
| |
| Conversion(array<INumVar>[]()[][], NumVarType, String) |
Converts an array of numeric variables to the specified type
and names the conversion object.
| |
| Conversion(array<INumVar>[]()[][], array<NumVarType>[]()[][], String) |
Converts an array of numeric variables, each one converted to the type
corresponding to the types in an array of types, and names the
conversion object.
| |
| Delete(ICopyable) |
Deletes a copyable object.
| |
| Delete(array<ICopyable>[]()[][]) |
Deletes an array of copyable objects.
| |
| Delete(array<ICopyable>[]()[][], Int32, Int32) |
Deletes a number of copyable objects, starting from
the specified index, from an array of copyable objects.
| |
| Diff(Double, INumExpr) |
Creates and returns a numeric expression representing the
difference between a value and a numeric expression.
| |
| Diff(Int32, IIntExpr) |
Creates and returns an expression representing
the difference between a value and an integer expression.
| |
| Diff(IIntExpr, IIntExpr) |
Creates and returns an expression representing
the difference between two integer expressions.
| |
| Diff(IIntExpr, Int32) |
Creates and returns an integer expression representing the
difference between an integer expression and an integer value.
| |
| Diff(INumExpr, INumExpr) |
Creates and returns a numeric expression representing the
difference between two numeric expressions.
| |
| Diff(INumExpr, Double) |
Creates and returns a numeric expression representing the
difference between a numeric expression and a value.
| |
| Eq(Double, INumExpr) |
Creates and returns a range forcing the specified value
to be equal to the specified numeric expression.
| |
| Eq(INumExpr, INumExpr) |
Creates and returns a constraint forcing the specified
numeric expressions to be equal.
| |
| Eq(INumExpr, Double) |
Creates and returns a range forcing the specified numeric
expression to be equal to the specified value.
| |
| Eq(Double, INumExpr, String) |
Creates and returns a named range forcing the specified value
to be equal to the specified numeric expression.
| |
| Eq(INumExpr, INumExpr, String) |
Creates and returns a named constraint forcing the specified
numeric expressions to be equal.
| |
| Eq(INumExpr, Double, String) |
Creates and returns a named range forcing the specified numeric
expression to be equal to the specified value.
| |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Ge(Double, INumExpr) |
Creates and returns a range that forces the specified
value to be greater than or equal to the specified expression.
| |
| Ge(INumExpr, INumExpr) |
Creates and returns a constraint forcing the
first specified numeric expression
to be greater than or equal to the second specified numeric expression.
| |
| Ge(INumExpr, Double) |
Creates and returns a range forcing the specified numeric expression
to be greater than or equal to the specified value.
| |
| Ge(Double, INumExpr, String) |
Creates and returns a named range that forces the specified
value to be greater than or equal to the specified expression.
| |
| Ge(INumExpr, INumExpr, String) |
Creates and returns a named constraint forcing the
first specified numeric expression
to be greater than or equal to the second specified numeric expression.
| |
| Ge(INumExpr, Double, String) |
Creates and returns a named range forcing the
specified numeric expression
to be greater than or equal to the specified value.
| |
| GetConversionEnumerator |
Returns an enumerator over all conversion objects in the
active model.
| |
| GetEnumerator |
Returns an enumerator suitable for the invoking model.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLPMatrixEnumerator |
Returns an enumerator over all LP matrix objects in the
active model.
| |
| GetModel | Returns the active model. | |
| GetName |
Returns the name of the invoking model, if there is one.
| |
| GetObjective |
Returns the IObjective object of the
active model, or null if no IObjective object
is currently in the active model.
| |
| GetRangeEnumerator |
Returns an enumerator over all ranges in the active model.
| |
| GetSOS1Enumerator |
Returns an enumerator over all SOS1 objects in the
active model.
| |
| GetSOS2Enumerator |
Returns an enumerator over all SOS2 objects in the
active model.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IfThen(IConstraint, IConstraint) |
Returns a constraint that if con1 is true, then
con2 must also be true.
| |
| IfThen(IConstraint, IConstraint, String) |
Returns a constraint that if con1 is true, then
con2 must also be true.
| |
| IntExpr |
Creates and returns an empty integer expression.
| |
| IntVar(Int32, Int32) |
Creates and returns an integer variable with specified
upper and lower bound.
| |
| IntVar(Int32, Int32, String) |
Creates and returns an integer variable with specified
upper bound, lower bound, and name.
| |
| IntVar(Column, Int32, Int32) |
Creates and returns an integer variable representing
a column with an integer lower and upper bound.
| |
| IntVar(Column, Int32, Int32, String) |
Creates and returns an integer variable representing
a column with an integer lower and upper bound as well as a name.
| |
| IntVarArray(Int32, Int32, Int32) |
Creates and returns an array of integer variables with the same specified
upper and lower bound.
| |
| IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][]) |
Creates and returns an array of integer variables with
individually specified upper and lower bounds.
| |
| IntVarArray(ColumnArray, Int32, Int32) |
Creates and returns an array of integer variables representing
an array of columns with an integer lower and upper bound.
| |
| IntVarArray(ColumnArray, array<Int32>[]()[][], array<Int32>[]()[][]) |
Creates and returns an array of integer variables representing
an array of columns with individually specified integer lower
and upper bounds.
| |
| IntVarArray(Int32, Int32, Int32, array<String>[]()[][]) |
Creates and returns an array of integer variables all with the same
upper and lower bound, but individually specified names.
| |
| IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][]) |
Creates and returns an array of integer variables each with
individually specified upper bound, lower bound, and name.
| |
| IntVarArray(ColumnArray, Int32, Int32, array<String>[]()[][]) |
Creates and returns an array of integer variables representing
an array of columns with an integer lower and upper bound
as well as individually specified names.
| |
| IntVarArray(ColumnArray, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][]) |
Creates and returns an array of integer variables representing
an array of columns with individually specified integer lower
and upper bounds as well as individually specified names.
| |
| Le(Double, INumExpr) |
Creates and returns a range that forces the specified value
to be less than or equal to the specified numeric expression.
| |
| Le(INumExpr, INumExpr) |
Creates and returns a constraint that forces the first specified
numeric expression to be less than or equal to
the second specified numeric expression.
| |
| Le(INumExpr, Double) |
Creates and returns a range that forces the specified
numeric expression to be less than or equal to
the specified value.
| |
| Le(Double, INumExpr, String) |
Creates and returns a named range that forces the specified value
to be less than or equal to the specified numeric expression.
| |
| Le(INumExpr, INumExpr, String) |
Creates and returns a named constraint that forces the
first specified numeric expression to be less than or
equal to the second specified numeric expression.
| |
| Le(INumExpr, Double, String) |
Creates and returns a named range that forces the specified
numeric expression to be less than or equal to
the specified value.
| |
| LinearIntExpr()()()() |
Creates and returns an integer linear expression
initialized as 0 (zero).
| |
| LinearIntExpr(Int32) |
Creates and returns an integer linear expression
initialized as a constant.
| |
| LinearNumExpr()()()() |
Creates and returns a zero-valued linear expression.
| |
| LinearNumExpr(Double) |
Creates and returns a linear expression initialized as the constant.
| |
| LPMatrix()()()() |
Creates and returns an empty LP matrix object.
| |
| LPMatrix(String) |
Creates and returns an empty, named LP matrix object.
| |
| LqIntExpr |
Creates and returns a zero-valued linear and quadratic expression.
| |
| LqNumExpr |
Creates and returns a zero-valued linear and quadratic expression.
| |
| Max(array<IIntExpr>[]()[][]) |
Returns an expression representing the maximum of its argument,
the elements of an array.
| |
| Max(array<INumExpr>[]()[][]) |
Returns an expression representing the maximum of its argument,
the elements of an array.
| |
| Max(Double, INumExpr) |
Returns an expression representing the maximum of its two arguments.
| |
| Max(Int32, IIntExpr) |
Returns an expression representing the maximum of its two arguments.
| |
| Max(IIntExpr, IIntExpr) |
Returns an expression representing the maximum of its two arguments.
| |
| Max(IIntExpr, Int32) |
Returns an expression representing the maximum of its two arguments.
| |
| Max(INumExpr, INumExpr) |
Returns an expression representing the maximum of its two arguments.
| |
| Max(INumExpr, Double) |
Returns an expression representing the maximum of its two arguments.
| |
| Maximize()()()() |
Creates and returns an empty maximization objective function.
| |
| Maximize(String) |
Creates and returns a named empty maximization objective function.
| |
| Maximize(CplexMultiCriterionExpr) |
Creates and returns an objective to maximize the multi-criterion expression.
| |
| Maximize(INumExpr) |
Creates and returns an objective from an expression.
| |
| Maximize(CplexMultiCriterionExpr, String) |
Creates and returns an objective to maximize the multi-criterion expression.
| |
| Maximize(INumExpr, String) |
Creates and returns a named objective to minimize the expression.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Min(array<IIntExpr>[]()[][]) |
Returns an expression representing the minimum of its argument,
the elements of an array.
| |
| Min(array<INumExpr>[]()[][]) |
Returns an expression representing the minimum of its argument,
the elements of an array.
| |
| Min(Double, INumExpr) |
Returns an expression representing the minimum of its two arguments.
| |
| Min(Int32, IIntExpr) |
Returns an expression representing the minimum of its two arguments.
| |
| Min(IIntExpr, IIntExpr) |
Returns an expression representing the minimum of its two arguments.
| |
| Min(IIntExpr, Int32) |
Returns an expression representing the minimum of its two arguments.
| |
| Min(INumExpr, INumExpr) |
Returns an expression representing the minimum of its two arguments.
| |
| Min(INumExpr, Double) |
Returns an expression representing the minimum of its two arguments.
| |
| Minimize()()()() |
Creates and returns an empty minimization objective function.
| |
| Minimize(String) |
Creates and returns a named empty minimization objective function.
| |
| Minimize(CplexMultiCriterionExpr) |
Creates and returns an objective to minimize the multi-criterion expression.
| |
| Minimize(INumExpr) |
Creates and returns an objective from an expression.
| |
| Minimize(CplexMultiCriterionExpr, String) |
Creates and returns an objective to minimize the multi-criterion expression.
| |
| Minimize(INumExpr, String) |
Creates and returns an objective to minimize the expression.
| |
| Negative(IIntExpr) |
Creates and returns a new integer expression representing
the negation of its argument.
| |
| Negative(INumExpr) |
Creates and returns a new numeric expression which is the
negation of the original expression.
| |
| Not(IConstraint) |
Returns a constraint that is the logical negation of its argument.
| |
| Not(IConstraint, String) |
Returns a constraint that is the logical negation of its argument
and assigns the string name as the name of the
returned constraint.
| |
| NumExpr |
Creates and returns an empty expression.
| |
| NumVar(Double, Double) |
Creates and returns a numeric variable with specified bounds.
| |
| NumVar(Double, Double, NumVarType) |
Creates and returns a numeric variable with bounds and specified type.
| |
| NumVar(Double, Double, String) |
Creates and returns a numeric variable with specified bounds and name.
| |
| NumVar(Column, Double, Double) |
Creates and returns a numeric variable representing
a column with a specified lower and upper bound.
| |
| NumVar(Double, Double, NumVarType, String) |
Creates and returns a named numeric variable with bounds and specified type.
| |
| NumVar(Column, Double, Double, NumVarType) |
Creates and returns a numeric variable representing
a column with specified lower and upper bounds as well as type.
| |
| NumVar(Column, Double, Double, String) |
Creates and returns a named numeric variable representing
representing a column with a specified lower and upper bound.
| |
| NumVar(Column, Double, Double, NumVarType, String) |
Creates and returns a named numeric variable representing
a column with specified lower and upper bounds as well as type.
| |
| NumVarArray(Int32, Double, Double) |
Creates an array of numeric variables, all with the same upper
and lower bound.
| |
| NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][]) |
Creates an array of numeric variables with individually specified upper
and lower bounds.
| |
| NumVarArray(ColumnArray, Double, Double) |
Creates and returns an array of numeric variables representing
an array of columns with a specified lower and upper bound.
| |
| NumVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with individually specified lower and upper bounds.
| |
| NumVarArray(Int32, Double, Double, NumVarType) |
Creates and returns an array of numeric variables, all with same
specified bounds, all of the same type.
| |
| NumVarArray(Int32, Double, Double, array<String>[]()[][]) |
Creates an array of numeric variables, all with the same upper and
lower bound, but with individually specified names.
| |
| NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][]) |
Creates and returns an array of numeric variables with individual
bounds and types.
| |
| NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<String>[]()[][]) |
Creates an array of numeric variables, each with individually specified
upper bound, lower bound, and name.
| |
| NumVarArray(ColumnArray, Double, Double, NumVarType) |
Creates and returns an array of numeric variables representing
an array of columns with specified lower and upper bounds
as well as type.
| |
| NumVarArray(ColumnArray, Double, Double, array<String>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with a lower and upper bound
as well as individually specified names.
| |
| NumVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with individually specified lower and upper bounds
as well as individual types.
| |
| NumVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<String>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with individually specified lower and upper bounds
as well as names.
| |
| NumVarArray(Int32, Double, Double, NumVarType, array<String>[]()[][]) |
Creates and returns an array of numeric variables, all with same
specified bounds, all with same type, and individual names.
| |
| NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][]) |
Creates and returns an array of numeric variables, all with
individual specified bounds, types, and names.
| |
| NumVarArray(ColumnArray, Double, Double, NumVarType, array<String>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with specified lower and upper bounds
as well as a type and individual names.
| |
| NumVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][]) |
Creates and returns an array of numeric variables representing
an array of columns with individually specified lower and upper bounds
as well as individual types and individual names.
| |
| Objective(ObjectiveSense) |
Creates and returns an empty objective function with the specified sense.
| |
| Objective(ObjectiveSense, INumExpr) |
Creates and returns an objective from an expression
to optimize in the specified sense.
| |
| Objective(ObjectiveSense, String) |
Creates and returns a named, empty objective function
with the specified sense.
| |
| Objective(ObjectiveSense, INumExpr, String) |
Creates and returns a named objective with a sense (maximize or minimize).
| |
| Or()()()() |
Returns a constraint that at least one and possibly more than one
of the elements is true in its argument cons, an array
of constraints.
| |
| Or(array<IConstraint>[]()[][]) |
Returns a constraint that at least one and possibly more than one
of the elements is true in its argument cons, an array
of constraints.
| |
| Or(IConstraint, IConstraint) |
Returns a constraint that at least one and possibly both of its
arguments are true.
| |
| Or(array<IConstraint>[]()[][], String) |
Returns a constraint that at least one and possibly more than one
of the elements is true in its argument cons, an array
of constraints and also assigns the string name as the
name of that returned constraint.
| |
| Or(IConstraint, IConstraint, String) |
Returns a constraint that at least one and possibly both of its
arguments are true.
| |
| Or(array<IConstraint>[]()[][], Int32, Int32) |
Returns a constraint that at least one and possibly more than one
of the elements is true in the range of indices starting at the index
specified by start and continuing through the number
of elements specified by the number num among the elements
of its argument cons, an array of constraints.
| |
| Or(array<IConstraint>[]()[][], Int32, Int32, String) |
Returns a constraint that at least one and possibly more than one
of the elements is true in the range of indices starting at the index
specified by start and continuing through the number
of elements specified by the number num among the elements
of its argument cons, an array of constraints;
also assigns the string name as the name of
the returned constraint.
| |
| PiecewiseLinear(INumExpr, Double, array<Double>[]()[][], array<Double>[]()[][], Double) |
Creates and returns a numeric expression representing
a piecewise linear function.
| |
| PiecewiseLinear(INumExpr, array<Double>[]()[][], array<Double>[]()[][], Double, Double) |
Creates and returns a numeric expression representing
a piecewise linear function.
| |
| PiecewiseLinear(INumExpr, Double, array<Double>[]()[][], Int32, Int32, array<Double>[]()[][], Int32, Double) |
Creates and returns a numeric expression representing
a piecewise linear function.
| |
| PiecewiseLinear(INumExpr, array<Double>[]()[][], Int32, Int32, array<Double>[]()[][], Int32, Double, Double) |
Creates and returns a numeric expression representing
a piecewise linear function.
| |
| Prod(Double, INumExpr) |
Creates and returns an expression representing
the product of a value and a numeric expression.
| |
| Prod(Int32, IIntExpr) |
Creates and returns an integer expression representing
the product of a value and an integer expression.
| |
| Prod(IIntExpr, IIntExpr) |
Creates and returns an expression representing
the product of two integer expressions.
| |
| Prod(IIntExpr, Int32) |
Creates and returns an expression representing
the product of an integer expression and a value.
| |
| Prod(INumExpr, INumExpr) |
Creates and returns an expression representing
the product of two numeric expressions.
| |
| Prod(INumExpr, Double) |
Creates and returns an expression representing
the product of a numeric expression and a value.
| |
| Prod(Double, INumVar, INumVar) |
Creates and returns an expression representing
the product of a value and two numeric variables.
| |
| Prod(INumVar, INumVar, Double) |
Creates and returns an expression representing
the product of two numeric variables and a value.
| |
| Prod(INumVar, Double, INumVar) |
Creates and returns an expression representing
the product of a numeric variable, a value, and another numeric variable.
| |
| QuadIntExpr |
Creates and returns a zero-valued quadratic integer expression.
| |
| QuadNumExpr |
Creates and returns a zero-valued quadratic expression.
| |
| Range(Double, Double) |
Creates and returns a range with the specified lower
and upper bound.
| |
| Range(Double, INumExpr, Double) |
Creates and returns a range with the specified lower bound,
numeric expression, and upper bound.
| |
| Range(Double, Double, String) |
Creates and returns a named range with the specified lower
and upper bound.
| |
| Range(Double, INumExpr, Double, String) |
Creates and returns a named range with the specified lower bound,
numeric expression, and upper bound.
| |
| Remove(IAddable) |
Removes object from the invoking model.
| |
| Remove(array<IAddable>[]()[][]) |
Removes the array of objects from the invoking model.
| |
| Remove(array<IAddable>[]()[][], Int32, Int32) |
Removes part of the array of objects from the
invoking model, starting with the index start and
continuing to the number of objects specified by num.
| |
| ScalProd(array<Double>[]()[][], array<INumVar>[]()[][]) |
Creates and returns a linear expression representing
the scalar product of the provided values with the provided variables.
| |
| ScalProd(array<Int32>[]()[][], array<IIntVar>[]()[][]) |
Creates and returns a linear integer expression
representing the scalar product of the provided
integer values and integer variables.
| |
| ScalProd(array<Int32>[]()[][], array<INumVar>[]()[][]) |
Creates and returns a linear expression representing
the scalar product of the integer values and numeric variables provided.
| |
| ScalProd(array<IIntVar>[]()[][], array<IIntVar>[]()[][]) |
Creates and returns a linear expression representing the scalar product
of the given variables.
| |
| ScalProd(array<IIntVar>[]()[][], array<Int32>[]()[][]) |
Creates and returns a linear integer expression
representing the scalar product of the provided
integer variables and integer values.
| |
| ScalProd(array<INumVar>[]()[][], array<INumVar>[]()[][]) |
Creates and returns a linear expression representing the scalar product
of the given variables.
| |
| ScalProd(array<INumVar>[]()[][], array<Double>[]()[][]) |
Creates and returns a linear expression representing
the scalar product of the provided variables with the provided values.
| |
| ScalProd(array<INumVar>[]()[][], array<Int32>[]()[][]) |
Creates and returns a linear expression representing
the scalar product of the numeric variables and integer values provided.
| |
| ScalProd(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Creates and returns a linear expression representing
the scalar product of the values and variables provided
in the specified range of indices.
| |
| ScalProd(array<Int32>[]()[][], array<IIntVar>[]()[][], Int32, Int32) |
Creates and returns a linear integer expression
representing the scalar product of the provided
integer values and integer variables from the specified
range of indices.
| |
| ScalProd(array<Int32>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Creates and returns a new linear expression representing the scalar
product of the num values in vals starting
at element start with the corresponding variables in
vars.
| |
| ScalProd(array<IIntVar>[]()[][], array<IIntVar>[]()[][], Int32, Int32) |
Creates and returns a linear expression representing the scalar product
of the given variables.
| |
| ScalProd(array<IIntVar>[]()[][], array<Int32>[]()[][], Int32, Int32) |
Creates and returns a linear integer expression
representing the scalar product of the provided
integer variables and integer values from the specified
range of indices.
| |
| ScalProd(array<INumVar>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Creates and returns a linear expression representing the scalar product
of the given variables.
| |
| ScalProd(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates and returns a linear expression representing
the scalar product of the variables and values provided
in the specified range of indices.
| |
| ScalProd(array<INumVar>[]()[][], array<Int32>[]()[][], Int32, Int32) |
Creates and returns a new linear expression representing the scalar
product of the num variables in vars starting
at element start with the corresponding values in
vals.
| |
| SemiContVar(Double, Double, NumVarType) |
Creates and returns a semi-continuous variable with
a specified lower and upper bound and of a specified type.
| |
| SemiContVar(Double, Double, NumVarType, String) |
Creates and returns a named semi-continuous variable with
a specified lower and upper bound and of a specified type.
| |
| SemiContVar(Column, Double, Double, NumVarType) |
Creates and returns a semicontinuous variable with
a specified lower and upper bound and of a specified type,
representing a column.
| |
| SemiContVar(Column, Double, Double, NumVarType, String) |
Creates and returns a named semi-continuous variable with
a specified lower and upper bound and of a specified type,
representing a column.
| |
| SemiContVarArray(Int32, Double, Double, NumVarType) |
Creates and returns an array of semi-continuous variables with
a specified lower and upper bound and of a specified type.
| |
| SemiContVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][]) |
Creates and returns an array of semi-continuous variables with
individually specified lower and upper bounds and
individually specified types.
| |
| SemiContVarArray(ColumnArray, Double, Double, NumVarType) |
Creates and returns an array of semi-continuous variables with
a specified lower and upper bound and of a specified type,
representing an array of columns.
| |
| SemiContVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][]) |
Creates and returns an array of semi-continuous variables with
individually specified lower and upper bounds and
individually specified types, representing an array of columns.
| |
| SemiContVarArray(Int32, Double, Double, NumVarType, array<String>[]()[][]) |
Creates and returns an array of individually named
semi-continuous variables with
a specified lower and upper bound and of a specified type.
| |
| SemiContVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][]) |
Creates and returns an array of individually named
semi-continuous variables with
individually specified lower and upper bounds and
individually specified types.
| |
| SemiContVarArray(ColumnArray, Double, Double, NumVarType, array<String>[]()[][]) |
Creates and returns an array of named semi-continuous variables
with a specified lower and upper bound as well as type,
representing an array of columns.
| |
| SemiContVarArray(ColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][]) |
Creates and returns an array of named semi-continuous variables
with individually specified lower and upper bounds, and
individually specified type, representing an array of columns.
| |
| SetLinearCoef(IObjective, INumVar, Double) |
Sets a value as the linear coefficient of the variable in the objective.
| |
| SetLinearCoef(IObjective, Double, INumVar) |
Sets a value as the linear coefficient of the variable in the objective.
| |
| SetLinearCoef(IRange, INumVar, Double) |
Sets the specified value as the linear coefficient of the
specified variable in the specified range.
| |
| SetLinearCoef(IRange, Double, INumVar) |
Sets the specified value as the linear coefficient of the
specified variable in the specified range.
| |
| SetLinearCoefs(IObjective, array<INumVar>[]()[][], array<Double>[]()[][]) |
Sets an array of values as the corresponding linear coefficients of
an array of variables in the objective.
| |
| SetLinearCoefs(IObjective, array<Double>[]()[][], array<INumVar>[]()[][]) |
Sets an array of values as the corresponding linear coefficients of
an array of variables in the objective.
| |
| SetLinearCoefs(IRange, array<INumVar>[]()[][], array<Double>[]()[][]) |
Sets the array of specified values as the linear coefficients of the
specified array of variables in the specified range.
| |
| SetLinearCoefs(IRange, array<Double>[]()[][], array<INumVar>[]()[][]) |
Sets the array of specified values as the linear coefficients of the
specified array of variables in the specified range.
| |
| SetLinearCoefs(IObjective, array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Sets an array of values as the corresponding linear coefficients of
an array of variables in the objective from a starting index for a
range of those values and variables.
| |
| SetLinearCoefs(IObjective, array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Sets an array of values as the corresponding linear coefficients of
an array of variables in the objective from a starting index for a
range of those values and variables.
| |
| SetLinearCoefs(IRange, array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Sets a number of the array of specified values,
from a starting index, as
the linear coefficients of the corresponding part of the
array of variables in the specified range.
| |
| SetLinearCoefs(IRange, array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32) |
Sets a number of the array of specified values,
from a starting index, as
the linear coefficients of the corresponding part of the
array of variables in the specified range.
| |
| SetModel |
Sets model as the active model.
| |
| SetName |
Sets str as the name of the invoking model.
| |
| SetQuadCoef(IObjective, INumVar, INumVar, Double) |
Sets quadratic coefficient for variable
var1*var2 to val
in the expression of the specified IObjective object.
| |
| SetQuadCoef(IObjective, Double, INumVar, INumVar) |
Sets the quadratic coefficient for the variable
var1*var2 to val
in the expression of the specified IObjective object.
| |
| SOS1(array<INumVar>[]()[][], array<Double>[]()[][]) |
Creates and returns a special ordered set (SOS) of type 1 from
the specified array of variables and weights.
| |
| SOS1(array<INumVar>[]()[][], array<Double>[]()[][], String) |
Creates and returns a named special ordered set (SOS) of type 1
from the specified array of variables and weights.
| |
| SOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates and returns a special ordered set (SOS) of type 1
consisting of a number of elements
from the specified starting index of
the specified array of variables and weights.
| |
| SOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String) |
Creates and returns a named special ordered set (SOS) of type 1
consisting of a number of elements
from the specified starting index of
the specified array of variables and weights.
| |
| SOS2(array<INumVar>[]()[][], array<Double>[]()[][]) |
Creates and returns a special ordered set (SOS) of type 2
from the specified array of variables and weights.
| |
| SOS2(array<INumVar>[]()[][], array<Double>[]()[][], String) |
Creates and returns a named special ordered set (SOS) of type 2
from the specified array of variables and weights.
| |
| SOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32) |
Creates and returns a special ordered set (SOS) of type 2
consisting of a number of elements, starting at the specified
index, from the specified array of variables and weights.
| |
| SOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String) |
Creates and returns a named special ordered set (SOS) of type 2
from a number of elements, starting at the specified index,
of the array of variables and weights.
| |
| Square(IIntExpr) |
Creates and returns an integer expression representing
the square of an integer expression.
| |
| Square(INumExpr) |
Creates and returns an expression representing
the square of a numeric expression.
| |
| Sum(array<IIntExpr>[]()[][]) |
Creates and returns an integer expression that is the sum of
the elements in an array of integer expressions.
| |
| Sum(array<INumExpr>[]()[][]) |
Creates and returns a numeric expression that is the sum
of the elements in an array of numeric expressions.
| |
| Sum(Double, INumExpr) |
Creates and returns a numeric expression representing
the sum of a value and a numeric expression.
| |
| Sum(Int32, IIntExpr) |
Creates and returns an integer expression representing
the sum of a value and an integer expression.
| |
| Sum(IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of two integer expressions.
| |
| Sum(IIntExpr, Int32) |
Creates and returns an integer expression representing
the sum of an integer expression and a value.
| |
| Sum(INumExpr, INumExpr) |
Creates and returns an expression representing
the sum of two numeric expressions.
| |
| Sum(INumExpr, Double) |
Creates and returns an expression representing
the sum of a numeric expression and a value.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of three integer expressions.
| |
| Sum(array<IIntExpr>[]()[][], Int32, Int32) |
Creates and returns an integer expression that is the sum of a
number of expressions, starting from the specified index, of
an array of integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of three numeric expressions.
| |
| Sum(array<INumExpr>[]()[][], Int32, Int32) |
Creates and returns a numeric expression that is the sum of a
number of expressions, starting from the specified index, of
an array of numeric expressions.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of four integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of four numeric expressions.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of five integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of five numeric expressions.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of six integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of six numeric expressions.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of seven integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of seven numeric expressions.
| |
| Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr) |
Creates and returns an integer expression representing
the sum of eight integer expressions.
| |
| Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr) |
Creates and returns a numeric expression representing
the sum of eight numeric expressions.
| |
| ToString | (Overrides Object..::..ToString()()()().) |