The IMPModeler type exposes the following members.

Methods

  Name Description
Public method Abs(IIntExpr)
Creates and returns the new expression abs(e).
(Inherited from IModeler.)
Public method Abs(INumExpr)
Returns an expression representing the absolute value of its argument, the expression indicated by expr.
Public method Add(IAddable)
This method adds the extractable object to the invoking model.
(Inherited from IModel.)
Public method Add(array<IAddable>[]()[][])
This method adds the array of extractable objects to the invoking model.
(Inherited from IModel.)
Public method Add(array<IAddable>[]()[][], Int32, Int32)
This method adds modeling objects to the invoking IModel.
(Inherited from IModel.)
Public method AddEq(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val == expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddEq(INumExpr, INumExpr)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 == e2, and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddEq(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr == rhs, and added to the invoking IModel.
(Inherited from IModeler.)
Public method AddEq(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val == expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddEq(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 == e2, and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddEq(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr == rhs, and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val >= expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(INumExpr, INumExpr)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 >= e2 and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr >= rhs and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val >= expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 >= e2 and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddGe(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr >= rhs and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val <= expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(INumExpr, INumExpr)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 <= e2, and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr <= rhs and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val <= expr and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 <= e2 and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLe(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr <= rhs and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddLPMatrix()()()()
Creates, returns, and adds to the invoking model an empty ILPMatrix object.
Public method AddLPMatrix(String)
Creates, returns, and adds an empty ILPMatrix object, with the specified name, to the invoking model.

The new ILPMatrix object is initialized to 0 columns and 0 rows. It can be populated later using the ILPMatrix manipulation API. The new ILPMatrix object is added to the invoking IMPModeler model. The new ILPMatrix object is assigned name.

Public method AddMaximize()()()()
Creates and returns an empty maximization objective function.
Public method AddMaximize(String)
Creates and returns an empty maximization objective function. This method creates and returns an IObjective object representing a maximization objective function with a zero expression. The new IObjective object is assigned name as its name and added to the invoking IModel. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.
Public method AddMaximize(INumExpr)
Creates and returns an instance of IObjective representing an objective to maximize the expression expr and added to the invoking model.
(Inherited from IModeler.)
Public method AddMaximize(INumExpr, String)
Creates and returns an instance of IObjective, representing an objective to maximize the expression expr, assigned the name name, and added to the invoking model.
(Inherited from IModeler.)
Public method AddMinimize()()()()
Creates and returns an empty minimization objective function.
Public method AddMinimize(String)
Creates and returns an empty minimization objective function. This method creates and returns an IObjective object representing a minimization objective function with a zero expression. The new IObjective object is assigned the name name and added to the invoking IModel. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.
Public method AddMinimize(INumExpr)
Creates and returns an instance of IObjective representing an objective to minimize the expression expr and added to the invoking model.
(Inherited from IModeler.)
Public method AddMinimize(INumExpr, String)
Creates and returns an instance of IObjective representing an objective to minimize the expression expr, assigned the name name, and added to the invoking model.
(Inherited from IModeler.)
Public method AddObjective(ObjectiveSense)
Creates, returns, and adds to the invoking model an empty objective function with the sense specified by sense.

This method creates and returns an IObjective object with a zero expression and the specified optimization sense. The new IObjective object is added to the invoking IModel. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.

Public method AddObjective(ObjectiveSense, INumExpr)
Creates and returns an instance of IObjective representing an objective to optimize the expression expr with respect to the optimization sense indicated by sense and added to the invoking model.
(Inherited from IModeler.)
Public method AddObjective(ObjectiveSense, String)
Creates, returns, and adds to the invoking model an empty objective function with the name specified by name and with the sense specified by sense.
Public method AddObjective(ObjectiveSense, INumExpr, String)
Creates and returns an instance of IObjective representing an objective to optimize the expression expr with respect to the optimization sense indicated by sense, assigned the name name, and added to the invoking model.
(Inherited from IModeler.)
Public method AddRange(Double, Double)
Creates, returns, and adds to the invoking model an empty IRange object.
Public method AddRange(Double, INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint lb <= expr <= ub and added to the invoking instance of lb <= expr <= ub.
(Inherited from IModeler.)
Public method AddRange(Double, Double, String)
Creates, returns, and adds to the invoking model an empty IRange object with the name specified by name.
Public method AddRange(Double, INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint lb <= expr <= ub and added to the invoking instance of IModel.
(Inherited from IModeler.)
Public method AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][])
Creates an SOS of type 1 with the specified variables and weights and adds it to the invoking model.
Public method AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], String)
Creates an SOS of type 1 with the specified variables, weights, and name, and adds the SOS to the invoking model.
Public method AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates an SOS of type 1 with num of the specified variables and weights, starting from the index specified by start, and adds the SOS to the invoking IModel model.
Public method AddSOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String)
Creates an SOS of type 1 with the num specified variables, weights, and names, starting from the index specified by start, and adds the SOS to the invoking mode.
Public method AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][])
Creates an SOS of type 2 with the specified variables and weights.
Public method AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], String)
Creates an SOS of type 2 with the specified variables and weights, and assigns the new SOS its name.
Public method AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start.
Public method AddSOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String)
Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start, and assigns the new SOS its name.
Public method AddToExpr(IObjective, INumExpr)
Adds an expression term to the expression of the specified IObjective object.
Public method AddToExpr(IRange, INumExpr)
Adds an expression term to the expression of the specified IRange object.
Public method And()()()()
Creates an IAnd constraint suitable for grouping other constraints or building logical constraints. Constraints can be added and removed to the IAnd constraint by using its methods Add and Remove.
(Inherited from IModeler.)
Public method And(array<IConstraint>[]()[][])
Groups several constraints together.
(Inherited from IModeler.)
Public method And(IConstraint, IConstraint)
Group several constraints together.
(Inherited from IModeler.)
Public method And(array<IConstraint>[]()[][], String)
Groups several constraints together.
(Inherited from IModeler.)
Public method And(IConstraint, IConstraint, String)
Group several constraints together.
(Inherited from IModeler.)
Public method And(array<IConstraint>[]()[][], Int32, Int32)
Groups several constraints together.
(Inherited from IModeler.)
Public method And(array<IConstraint>[]()[][], Int32, Int32, String)
Groups several constraints together.
(Inherited from IModeler.)
Public method BoolVar()()()()
Creates and returns a new Boolean variable (domain 0,1).
(Inherited from IModeler.)
Public method BoolVar(String)
Creates and returns a new Boolean variable (domain 0,1) with its name.
(Inherited from IModeler.)
Public method BoolVar(IColumn)
Creates a new Boolean (or binary) modeling variable for column-wise modeling.
Public method BoolVar(IColumn, String)
Creates a new Boolean (or binary) modeling variable, with the specified name, for column-wise modeling.
Public method BoolVarArray(Int32)
Creates and returns an array of n new Boolean variables (domain 0,1).
(Inherited from IModeler.)
Public method BoolVarArray(IColumnArray)
Creates and returns an array of Boolean (or binary) modeling variables for column-wise modeling.
Public method BoolVarArray(Int32, array<String>[]()[][])
Creates and returns an array of n new Boolean variables (domain 0,1).
(Inherited from IModeler.)
Public method BoolVarArray(IColumnArray, array<String>[]()[][])
Creates a new Boolean (or binary) modeling variable, with the specified name, for column-wise modeling.

This method returns an object representing a new modeling variable of type INumVarType.Bool with the specified name. The newly created variable is then installed in existing modeling objects as defined by the IColumn argument column.

Public method Column(ILPMatrix)
Creates an IColumn object suitable for adding a new variable to an LP matrix as an empty column. Note, that the column of the LP matrix is only created when creating a variable with the returned IColumn object but not when calling this method.
Public method Column(IObjective, Double)
Creates an IColumn object suitable for adding a new variable to the objective obj as a linear term with coefficient val.
Public method Column(IRange, Double)
Creates an IColumn object suitable for adding a new variable to constraint rng as a linear term with coefficient val.
Public method Column(ILPMatrix, array<Int32>[]()[][], array<Double>[]()[][])
Creates an IColumn object suitable for adding a new variable to an LP matrix as a new column. Note, that the column of the LP matrix is only created when creating a variable with the returned IColumn object but not when calling this method.
Public method Column(ILPMatrix, array<Int32>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates an IColumn object suitable for adding a new variable to an LP matrix as a new column. Note, that the column of the LP matrix is only created when creating a variable with the returned IColumn object but not when calling this method.
Public method ColumnArray(ILPMatrix, Int32)
Creates an IColumnArray object suitable for adding new variables to an ILPMatrix as empty columns.
Public method ColumnArray(IObjective, array<Double>[]()[][])
Creates an IColumn object suitable for adding a new variable to the objective obj as a linear term with coefficient val.
Public method ColumnArray(IRange, array<Double>[]()[][])
Creates an IColumn object suitable for adding a new variable to constraint rng as a linear term with coefficient val.
Public method ColumnArray(ILPMatrix, Int32, array<array<Int32>[]()[][]>[]()[][], array<array<Double>[]()[][]>[]()[][])
Creates an IColumn object suitable for adding a new variable to an LP matrix as a new column. Note, that the column of the LP matrix is only created when creating a variable with the returned IColumn object but not when calling this method.
Public method ColumnArray(IObjective, array<Double>[]()[][], Int32, Int32)
Creates an IColumnArray object suitable for adding num new variables to the objective obj as linear terms with coefficients specified in val.
Public method ColumnArray(IRange, array<Double>[]()[][], Int32, Int32)
Creates an IColumnArray suitable for adding num new variables to constraint IRange as linear terms with coefficients specified in val.
Public method Constant(Double)
Creates and returns an expression representing the constant term x.
(Inherited from IModeler.)
Public method Constant(Int32)
Creates and returns a new constant expression equal to x.
(Inherited from IModeler.)
Public method Conversion(INumVar, NumVarType)
Creates and returns an IConversion object for converting the type of a variable in a model.
Public method Conversion(array<INumVar>[]()[][], NumVarType)
Creates and returns an IConversion object for converting the type of the variables in array var in a model.
Public method Conversion(array<INumVar>[]()[][], array<NumVarType>[]()[][])
Creates and returns an IConversion object for converting the type of the variables in the array var in a model.
Public method Conversion(INumVar, NumVarType, String)
Creates and returns an IConversion object, with the specified name, for converting the type of a variable in a model.
Public method Conversion(array<INumVar>[]()[][], NumVarType, String)
Creates and returns an IConversion object with the specified type and name, for converting the type of the variables in array var in a model.
Public method Conversion(array<INumVar>[]()[][], array<NumVarType>[]()[][], String)
Creates and returns an IConversion object, with the specified name, for converting the type of the variables in array var in a model.
Public method Delete(ICopyable)
Deletes an object from a model.

After you call this method, the modeling object obj is no longer in the model. If the modeling object is referenced multiple times in a model (for example, a variable used by multiple constraints), then that object is removed from all places. In particular, when you delete a variable from a model, the variable is removed from all the other modeling objects in the model. Modeling objects that are variables are not of type IAddable. In fact, the type of the removed object is ICopyable, a common base interface of both IAddable and INumVar.

Public method Delete(array<ICopyable>[]()[][])

Deletes the modeling objects in an array obj from the invoking IModel. After you call this method, the deleted objects are no longer in the model. If a modeling object is referenced multiple times in a model (for example, a variable used by multiple constraints), the object is removed from all places. When you delete variables from a model, they are removed from all other modeling objects in the model.

Public method Delete(array<ICopyable>[]()[][], Int32, Int32)
Deletes the modeling objects in obj[start] through obj[start+num-1] from a model. Modeling objects obj[start] through obj[start+num-1] are deleted from the invoking instance of IModel. After you call this method, the deleted objects will no longer be in the model. If a modeling object is referenced multiple times in a model (for example, a variable used by multiple constraints), the object is removed from all places. Thus, when you delete variables from a model, they are removed from all other modeling objects in the model.
Public method Diff(Double, INumExpr)
Creates and returns an expression representing the difference between the value v and the expression e1.
(Inherited from IModeler.)
Public method Diff(Int32, IIntExpr)
Creates and returns an integer expression representing the difference between the value v and the integer expression e1.
(Inherited from IModeler.)
Public method Diff(IIntExpr, IIntExpr)
Creates and returns an integer expression representing the difference between the integer expressions expr1 and expr2.
(Inherited from IModeler.)
Public method Diff(IIntExpr, Int32)
Creates and returns an integer expression representing the difference between integer expression e and value v.
(Inherited from IModeler.)
Public method Diff(INumExpr, INumExpr)
Creates and returns an expression representing the difference between the expressions e1 and e2.
(Inherited from IModeler.)
Public method Diff(INumExpr, Double)
Creates and returns an expression representing the difference between expression e and value v.
(Inherited from IModeler.)
Public method Eq(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val == expr.
(Inherited from IModeler.)
Public method Eq(INumExpr, INumExpr)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 == e2.
(Inherited from IModeler.)
Public method Eq(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr == rhs.
(Inherited from IModeler.)
Public method Eq(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val == expr and assigned the name name.
(Inherited from IModeler.)
Public method Eq(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 == e2 and assigned the name name.
(Inherited from IModeler.)
Public method Eq(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr == rhs and assigned the name name.
(Inherited from IModeler.)
Public method Ge(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val >= expr.
(Inherited from IModeler.)
Public method Ge(INumExpr, INumExpr)
Creates and returns an IRange initialized to represent the constraint e1 >= e2.
(Inherited from IModeler.)
Public method Ge(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr >= rhs.
(Inherited from IModeler.)
Public method Ge(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val >= expr and assigned the name name.
(Inherited from IModeler.)
Public method Ge(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 >= e2 and assigned the name name.
(Inherited from IModeler.)
Public method Ge(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr >= rhs and assigned the name name.
(Inherited from IModeler.)
Public method GetEnumerator
This method returns an enumerator that traverses the objects in the model.
(Inherited from IModel.)
Public method IfThen(IConstraint, IConstraint)
Returns a constraint that if con1 is true, then con2 must also be true.
(Inherited from IModeler.)
Public method IfThen(IConstraint, IConstraint, String)
Returns a constraint that if con1 is true, then con2 must also be true.
(Inherited from IModeler.)
Public method IntExpr
Creates and returns an empty expression as an object.
(Inherited from IModeler.)
Public method IntVar(Int32, Int32)
Creates and returns a new integer variable with the specified bounds.
(Inherited from IModeler.)
Public method IntVar(Int32, Int32, String)
Creates and returns a new integer variable with the specified bounds and a name.
(Inherited from IModeler.)
Public method IntVar(IColumn, Int32, Int32)
Creates an integer modeling variable, with specified upper and lower bound, for column-wise modeling.
Public method IntVar(IColumn, Int32, Int32, String)
Creates an integer modeling variable with specified upper bound, lower bound, and name for column-wise modeling.

This method returns an object representing a new modeling variable of type INumVarType.Int with the specified bounds and name. The newly created variable is then installed in existing modeling objects as defined by the IColumn argument column.

Public method IntVarArray(Int32, Int32, Int32)
Returns a new array of n integer variables with the specified bounds.
(Inherited from IModeler.)
Public method IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][])
Creates an array of length n initialized to n new integer variables, each variable with its own bounds.
(Inherited from IModeler.)
Public method IntVarArray(IColumnArray, Int32, Int32)
Creates and returns integer modeling variables, all with the same upper bound and with the same lower bound, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, each with the same specified bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. The new variables are then installed in existing modeling objects as defined by the IColumnArray argument cols.

Public method IntVarArray(IColumnArray, array<Int32>[]()[][], array<Int32>[]()[][])
Creates and returns integer modeling variables, with individually specified upper bound, lower bound, and name, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, each with its own bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Variable i is constructed with bounds lb[i] and ub[i]. The new variables are installed in existing modeling objects as defined by the cols argument.

Public method IntVarArray(Int32, Int32, Int32, array<String>[]()[][])
Creates an array of length n initialized to n new modeling integer variables, each with the same specified bounds and returns them in an array.
(Inherited from IModeler.)
Public method IntVarArray(Int32, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][])
Creates an array of length n initialized to n new integer variables, each variable with its own bounds.
(Inherited from IModeler.)
Public method IntVarArray(IColumnArray, Int32, Int32, array<String>[]()[][])
Creates and returns integer modeling variables, all with the same specified upper bound and lower bound, with individually specified names, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, each with the same specified bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Each new variable is assigned a separate name, with variable i being assigned name[i]. The new variables are then installed in existing modeling objects as defined by the IColumnArray argument cols.

Public method IntVarArray(IColumnArray, array<Int32>[]()[][], array<Int32>[]()[][], array<String>[]()[][])
Creates and returns integer modeling variables, each with individually specified upper bound, lower bound, and name, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Int, each with its own bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Variable i is constructed with bounds lb[i] and ub[i] and is assigned name[i]. The new variables are installed in existing modeling objects as defined by the cols argument.

Public method Le(Double, INumExpr)
Creates and returns an instance of IRange initialized to represent the constraint val <= expr.
(Inherited from IModeler.)
Public method Le(INumExpr, INumExpr)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 <= e2.
(Inherited from IModeler.)
Public method Le(INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint expr <= rhs.
(Inherited from IModeler.)
Public method Le(Double, INumExpr, String)
Creates and returns an instance of IRange initialized to represent the constraint val <= expr and assigned the name name.
(Inherited from IModeler.)
Public method Le(INumExpr, INumExpr, String)
Creates and returns an instance of IConstraint initialized to represent the constraint e1 <= e2 and assigned the name name.
(Inherited from IModeler.)
Public method Le(INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint expr <= rhs and assigned the name name.
(Inherited from IModeler.)
Public method LinearIntExpr()()()()
Creates and returns a zero integer linear expression.
(Inherited from IModeler.)
Public method LinearIntExpr(Int32)
Creates and returns an integer linear expression initialized as a constant.
(Inherited from IModeler.)
Public method LinearNumExpr()()()()
Creates and returns a zero linear expression.
(Inherited from IModeler.)
Public method LinearNumExpr(Double)
Creates and returns a linear expression initialized as the constant.
(Inherited from IModeler.)
Public method LPMatrix()()()()
Creates and returns an empty ILPMatrix object.
Public method LPMatrix(String)
Creates and returns an empty ILPMatrix object with the specified name.

The new ILPMatrix object is initialized to 0 (zero) columns and 0(zero) rows. It can be populated later using the ILPMatrix manipulation API. The new ILPMatrix object is assigned the name.

Public method MakeClone
This method must be implemented so that it copies the invoking object to the engine of the given copy manager using the copy manager.
(Inherited from ICopyable.)
Public method Max(array<IIntExpr>[]()[][])
Creates and returns the new expression max(e).
(Inherited from IModeler.)
Public method Max(array<INumExpr>[]()[][])
Creates and returns the new expression max(e).
(Inherited from IModeler.)
Public method Max(Double, INumExpr)
Creates and returns the new expression max(val, e2).
(Inherited from IModeler.)
Public method Max(Int32, IIntExpr)
Creates and returns the new expression max(val, e2).
(Inherited from IModeler.)
Public method Max(IIntExpr, IIntExpr)
Creates and returns the new expression max(e1, e2).
(Inherited from IModeler.)
Public method Max(IIntExpr, Int32)
Creates and returns the new expression max(e1, val).
(Inherited from IModeler.)
Public method Max(INumExpr, INumExpr)
Creates and returns the new expression max(e1, e2).
(Inherited from IModeler.)
Public method Max(INumExpr, Double)
Creates and returns the new expression max(e1, val).
(Inherited from IModeler.)
Public method Maximize()()()()
Creates and returns an empty maximization objective function.
Public method Maximize(String)
Creates and returns an empty maximization objective function. This method creates an IObjective object representing a maximization objective function with a zero expression. The new IObjective object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.
Public method Maximize(INumExpr)
Creates and returns an instance of IObjective representing an objective to maximize the expression expr.
(Inherited from IModeler.)
Public method Maximize(INumExpr, String)
Creates and returns an instance of IObjective representing an objective to maximize the expression expr and assigned the name name.
(Inherited from IModeler.)
Public method Min(array<IIntExpr>[]()[][])
Creates and returns the new expression min(e).
(Inherited from IModeler.)
Public method Min(array<INumExpr>[]()[][])
Creates and returns the new expression min(e).
(Inherited from IModeler.)
Public method Min(Double, INumExpr)
Creates and returns the new expression min(val, e2).
(Inherited from IModeler.)
Public method Min(Int32, IIntExpr)
Creates and returns the new expression min(val, e2).
(Inherited from IModeler.)
Public method Min(IIntExpr, IIntExpr)
Creates and returns the new expression min(e1, e2).
(Inherited from IModeler.)
Public method Min(IIntExpr, Int32)
Creates and returns the new expression min(e1, val).
(Inherited from IModeler.)
Public method Min(INumExpr, INumExpr)
Creates and returns the new expression min(e1, e2).
(Inherited from IModeler.)
Public method Min(INumExpr, Double)
Creates and returns the new expression min(e1, val).
(Inherited from IModeler.)
Public method Minimize()()()()
Creates and returns an empty minimization objective function.
Public method Minimize(String)
Creates and returns an empty minimization objective function. This method creates and returns an IObjective object representing a minimization objective function with a zero expression. The new IObjective object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.
Public method Minimize(INumExpr)
Creates and returns an instance of IObjective representing an objective to minimize the expression expr.
(Inherited from IModeler.)
Public method Minimize(INumExpr, String)
Creates and returns an instance of IObjective representing an objective to minimize the expression expr and assigned the name name.
(Inherited from IModeler.)
Public method Negative(IIntExpr)
Creates and returns the new expression -e, the negation of the expression e.
(Inherited from IModeler.)
Public method Negative(INumExpr)
Creates and returns the new expression -e, the negation of the expression e.
(Inherited from IModeler.)
Public method Not(IConstraint)
Returns a constraint that is the logical negation of its argument.
(Inherited from IModeler.)
Public method 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.
(Inherited from IModeler.)
Public method NumExpr
Creates and returns an empty expression.
(Inherited from IModeler.)
Public method NumVar(Double, Double)
Creates a new modeling variable object of the type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVar(Double, Double, NumVarType)
Creates a new numeric variable object.
(Inherited from IModeler.)
Public method NumVar(Double, Double, String)
Creates a new modeling variable of the type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVar(IColumn, Double, Double)
Creates a continuous modeling variable, of type Float with upper bound and lower bound as specified, for column-wise modeling.
Public method NumVar(Double, Double, NumVarType, String)
Creates a new modeling variable object.
(Inherited from IModeler.)
Public method NumVar(IColumn, Double, Double, NumVarType)
Creates and returns a new modeling variable for column-wise modeling.

This method returns an object representing a new modeling variable with the specified bounds and type. The newly created variable is then installed in existing modeling objects, as defined by the IColumn argument column.

Public method NumVar(IColumn, Double, Double, String)
Creates a continuous modeling variable, of type Float with upper bound, lower bound, and name as specified, for column-wise modeling.

This method returns an object representing a new modeling variable of type INumVarType.Float with the specified bounds and name. The newly created variable is then installed in existing modeling objects as defined by the IColumn argument column.

Public method NumVar(IColumn, Double, Double, NumVarType, String)
Creates and returns a new modeling variable with the name specified by name for column-wise modeling.

This method returns an object representing a new modeling variable with the specified bounds, type, and name. The newly created variable is then installed in existing modeling objects, as defined by the IColumn argument column.

Public method NumVarArray(Int32, Double, Double)
Creates an array of length n initialized to n new modeling variables of the type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][])
Creates an array of length n initialized to n new modeling variables of type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVarArray(IColumnArray, Double, Double)
Creates and returns continuous modeling variables, all of type Float, all with same upper bound, all with the same lower bound, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Float, each with the same specified bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. The new variables are then installed in existing modeling objects as defined by the IColumnArray argument cols.

Public method NumVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][])
Creates and returns continuous modeling variables, all of the same type Float with individually specified upper bound, and individually specified lower bound, for column-wise modeling.

This method creates new modeling variables of type INumVarType.Float, each with its own bounds, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Variable i is constructed with bounds lb[i] and ub[i]. The new variables are installed in existing modeling objects as defined by the cols argument.

Public method NumVarArray(Int32, Double, Double, NumVarType)
Creates n new numeric variable objects and returns them in an array.
(Inherited from IModeler.)
Public method NumVarArray(Int32, Double, Double, array<String>[]()[][])
Creates an array of length n initialized to n new modeling variables of type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][])
Creates n new numeric variables and returns them in an array.
(Inherited from IModeler.)
Public method NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<String>[]()[][])
Creates an array of length n initialized to n new modeling variables of type NumVarType.Float.
(Inherited from IModeler.)
Public method NumVarArray(IColumnArray, Double, Double, NumVarType)
Creates and returns modeling variables, all of the same type specified by type, all with same upper bound and same lower bound for column-wise modeling.

This method creates new modeling variables, each with the same specified bounds and type, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. The new variables are then installed in existing modeling objects, as defined by the IColumnArray argument cols.

Public method NumVarArray(IColumnArray, Double, Double, array<String>[]()[][])
Creates and returns continuous modeling variables, all of type Float, with the same specified bounds, but with individually specified names, for column-wise modeling.
Public method NumVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][])
Creates and returns modeling variables with the individual type specified by the corresponding entry in the array type, and individual upper and lower bounds as specified in those arrays, for column-wise modeling.

This method creates new modeling variables, each with its own bounds and type, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. The new variable i is constructed with bounds lb[i] and ub[i] and type type[i]. The new variables are installed in existing modeling objects, as defined by the cols argument.

Public method NumVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<String>[]()[][])
Creates and returns continuous modeling variables, all of type Float with individually specified upper bound, lower bound, and name, for column-wise modeling.
Public method NumVarArray(Int32, Double, Double, NumVarType, array<String>[]()[][])
Creates n new numeric variable objects and returns them in an array.
(Inherited from IModeler.)
Public method NumVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][])
Creates n new numeric variable objects and returns them in an array.
(Inherited from IModeler.)
Public method NumVarArray(IColumnArray, Double, Double, NumVarType, array<String>[]()[][])
Creates and returns an array of modeling variables with names for column-wise modeling.
Public method NumVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][])
Creates and returns modeling variables with the individual type specified by the corresponding entry in the array type, with individual upper and lower bounds as specified in those arrays, with the name specified individually by the corresponding entry in the array name, for column-wise modeling.
Public method Objective(ObjectiveSense)
Creates and returns an empty objective function with the sense specified by sense.

This method creates and returns an IObjective object with a zero expression and the specified optimization sense. This method is typically used in an application that uses column-wise modeling to fill in the objective function while creating the variables.

Public method Objective(ObjectiveSense, INumExpr)
Creates and returns an instance of IObjective representing an objective to optimize the expression expr with respect to the optimization sense indicated by sense.
(Inherited from IModeler.)
Public method Objective(ObjectiveSense, String)
Creates and returns an empty objective function with the sense specified by sense and with the name specified by name.

This method creates and returns an IObjective object with a zero expression and the specified optimization sense. The new IObjective object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the objective function while creating the variables.

Public method Objective(ObjectiveSense, INumExpr, String)
Creates and returns an instance of IObjective representing an objective to optimize the expression expr with respect to the optimization sense indicated by sense and assigned the name name.
(Inherited from IModeler.)
Public method Or()()()()
Creates an IOr constraint for expressing disjunctions.
(Inherited from IModeler.)
Public method Or(array<IConstraint>[]()[][])
Returns an IOr constraint indicating that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.
(Inherited from IModeler.)
Public method Or(IConstraint, IConstraint)
Returns an or-constraint indicating that at least one and possibly more than one argument is true.
(Inherited from IModeler.)
Public method Or(array<IConstraint>[]()[][], String)
Returns an IOr constraint indicating that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.
(Inherited from IModeler.)
Public method Or(IConstraint, IConstraint, String)
Returns an or-constraint indicating that at least one and possibly both of its arguments are true.
(Inherited from IModeler.)
Public method Or(array<IConstraint>[]()[][], Int32, Int32)
Returns an or-constraint indicating that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints.
(Inherited from IModeler.)
Public method Or(array<IConstraint>[]()[][], Int32, Int32, String)
Returns an or-constraint indicating that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints.
(Inherited from IModeler.)
Public method PiecewiseLinear(INumExpr, Double, array<Double>[]()[][], array<Double>[]()[][], Double)
Creates an expression node that represents a continuous or discontinuous piecewise linear function.
Public method PiecewiseLinear(INumExpr, array<Double>[]()[][], array<Double>[]()[][], Double, Double)
Creates an expression node that represents a continuous or discontinuous piecewise linear function.
Public method PiecewiseLinear(INumExpr, array<Double>[]()[][], Int32, Int32, array<Double>[]()[][], Int32, Double, Double)
Creates an expression node to represent a continuous or discontinuous piecewise linear function.

The piecewise linear function is evaluated at expr and is defined by the remaining arguments. The array points contains breakpoints such that points[i-1] is less than or equal to points[i]. Only num elements starting with element startPoints are considered. The array slopes contains the slope for each piece defined by the breakpoints. Only num+1 elements starting with element startSlopes are considered. The element slopes[startSlopes] specifies the slope of the piecewise linear function for values less than points[startPoints], and slopes[startSlopes+num] specifies the slope of the piecewise linear function for values greater than points[startPoints+num-1]. For elements in between, slopes[startSlopes+i] specifies the slope between points[startPoints+i-1] and points[startPoints+i].

By selecting points[startPoints+i-1] == points[startPoints+i], you can represent a discontinuous piecewise linear function. At points[startPoints+i], it will make a step of size slope[startSlopes+i-1].

The values a and fa define the x and y coordinates of one point of the piecewise linear function. This point is referred to as the anchor point.

Public method Prod(Double, INumExpr)
Creates and returns an expression representing the product of the expression e1 and the value v.
(Inherited from IModeler.)
Public method Prod(Int32, IIntExpr)
Creates and returns the new expression v * e.
(Inherited from IModeler.)
Public method Prod(IIntExpr, IIntExpr)
Creates and returns the new expression e1 * e2.
(Inherited from IModeler.)
Public method Prod(IIntExpr, Int32)
Creates and returns the new expression e * v.
(Inherited from IModeler.)
Public method Prod(INumExpr, INumExpr)
Creates and returns an expression representing the product of the expressions expr1 and expr2.
(Inherited from IModeler.)
Public method Prod(INumExpr, Double)
Creates and returns an expression representing the product of the expression e and the value v.
(Inherited from IModeler.)
Public method Prod(Double, INumVar, INumVar)
Creates and returns an expression representing the product of the value val, the variablevar1, and the variable var2.
(Inherited from IModeler.)
Public method Prod(INumVar, INumVar, Double)
Creates and returns an expression representing the product of the variablevar1, the variable var2, and the value val,
(Inherited from IModeler.)
Public method Prod(INumVar, Double, INumVar)
Creates and returns an expression representing the product of the variablevar1, the value val, and the variable var2.
(Inherited from IModeler.)
Public method Range(Double, Double)
Creates and returns an empty IRange object.
Public method Range(Double, INumExpr, Double)
Creates and returns an instance of IRange initialized to represent the constraint lb <= expr <= ub.
(Inherited from IModeler.)
Public method Range(Double, Double, String)
Creates and returns an empty IRange object with the name specified by name.

The new IRange object is initialized to represent the constraint lb <= 0 <= ub. The new IRange object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the expression for the ranged constraint while creating the variables.

Public method Range(Double, INumExpr, Double, String)
Creates and returns an instance of IRange initialized to represent the constraint lb <= expr <= ub and assigned the name name.
(Inherited from IModeler.)
Public method Remove(IAddable)
This method removes the extractable object from the invoking model.
(Inherited from IModel.)
Public method Remove(array<IAddable>[]()[][])
This method removes the array of extractable objects from the invoking model.
(Inherited from IModel.)
Public method Remove(array<IAddable>[]()[][], Int32, Int32)
This method removes modeling objects from the invoking IModel.
(Inherited from IModel.)
Public method ScalProd(array<Double>[]()[][], array<INumVar>[]()[][])
Creates and returns a linear expression representing the scalar product of the provided values with the provided variables.
(Inherited from IModeler.)
Public method ScalProd(array<Int32>[]()[][], array<IIntVar>[]()[][])
Creates and returns an integer linear expression representing the scalar product of the provided integer values with the provided integer variables.
(Inherited from IModeler.)
Public method ScalProd(array<Int32>[]()[][], array<INumVar>[]()[][])
Creates and returns a linear expression representing the scalar product of the provided values with the provided variables.
(Inherited from IModeler.)
Public method ScalProd(array<IIntVar>[]()[][], array<IIntVar>[]()[][])
Creates and returns a linear expression representing the scalar product of the provided variables.
(Inherited from IModeler.)
Public method ScalProd(array<IIntVar>[]()[][], array<Int32>[]()[][])
Creates and returns an integer linear expression representing the scalar product of the provided integer values with the provided integer variables.
(Inherited from IModeler.)
Public method ScalProd(array<INumVar>[]()[][], array<INumVar>[]()[][])
Creates and returns a linear expression representing the scalar product of the variables provided as arguments.
(Inherited from IModeler.)
Public method ScalProd(array<INumVar>[]()[][], array<Double>[]()[][])
Creates and returns a linear expression representing the scalar product of the provided values with the provided variables.
(Inherited from IModeler.)
Public method ScalProd(array<INumVar>[]()[][], array<Int32>[]()[][])
Creates and returns a linear expression representing the scalar product of the provided values with the provided variables.
(Inherited from IModeler.)
Public method ScalProd(array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32)
Creates and returns a linear expression representing the scalar product of the values provided in coefs[start]...coefs[start+num-1] with the variables provided in vars[start]...vars[start+num-1].
(Inherited from IModeler.)
Public method ScalProd(array<Int32>[]()[][], array<IIntVar>[]()[][], Int32, Int32)
Creates and returns an integer linear expression representing the scalar product of the integer values provided in vals[start]...vals[start+num-1] with the integer variables provided in vars[start]...vars[start+num-1].
(Inherited from IModeler.)
Public method ScalProd(array<IIntVar>[]()[][], array<IIntVar>[]()[][], Int32, Int32)
Creates and returns a linear expression representing the scalar product of the variables provided as arguments.
(Inherited from IModeler.)
Public method ScalProd(array<IIntVar>[]()[][], array<Int32>[]()[][], Int32, Int32)
Creates and returns an integer linear expression representing the scalar product of the integer values provided in vals[start]...vals[start+num-1] with the integer variables provided in vars[start]...vars[start+num-1].
(Inherited from IModeler.)
Public method ScalProd(array<INumVar>[]()[][], array<INumVar>[]()[][], Int32, Int32)
Creates and returns a linear expression representing the scalar product of the variables provided as arguments.
(Inherited from IModeler.)
Public method ScalProd(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates and returns a linear expression representing the scalar product of the values provided in coefs[start]...coefs[start+num-1] with the variables provided in vars[start]...vars[start+num-1].
(Inherited from IModeler.)
Public method SemiContVar(Double, Double, NumVarType)
Creates and returns a new semi-continuous modeling variable with a specified semi-continuous lower bound, upper bound, and type.

This method returns an object representing a new semi-continuous modeling variable with the specified bounds and type.

Public method SemiContVar(Double, Double, NumVarType, String)
Creates and returns a new semi-continuous modeling variable with specified bounds, type, and name.

This method returns an object representing a new semi-continuous modeling variable with the specified bounds, type, and name.

Public method SemiContVar(IColumn, Double, Double, NumVarType)
Creates and returns a new semi-continuous modeling variable with specified type and bounds, for column-wise modeling.

This method returns an object representing a new semi-continuous modeling variable with the specified bounds and type. The newly created variable is then installed in existing modeling objects as defined by the IColumn argument column.

Public method SemiContVar(IColumn, Double, Double, NumVarType, String)
Creates and returns a new semi-continuous modeling variable, with specified bounds, type, and name, for column-wise modeling.

This method returns an object representing a new semi-continuous modeling variable with the specified bounds, type, and name. The newly created variable is then installed in existing modeling objects as defined by the IColumn argument column.

Public method SemiContVarArray(Int32, Double, Double, NumVarType)
Creates and returns n semi-continuous modeling variables, all of the same type, with the same semi-continuous lower bound and upper bound.

This method creates n new semi-continuous modeling variables, each with the same specified bounds and type, and returns them in an array.

Public method SemiContVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][])
Creates and returns n semi-continuous modeling variables, with individually specified type, semi-continuous lower bound, and upper bound.

This method creates new semi-continuous modeling variables, each with its own bounds and type, and returns them in an array. Variable i is constructed with bounds sclb[i] and ub[i] and type type[i].

Public method SemiContVarArray(IColumnArray, Double, Double, NumVarType)
Creates and returns semi-continuous modeling variables, all with the same type and bounds, for column-wise modeling.
Public method SemiContVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][])
Creates and returns semi-continuous modeling variables, with individually specified type, semi-continuous lower bound, and upper bound, for column-wise modeling.

This method creates new semi-continuous modeling variables, each with its own bounds and type, and returns them in an array. The number of new variables is determined by the size of the IColumnArray argument cols. Variable i is constructed with bounds sclb[i] and ub[i] and type type[i]. The new variables will be installed in existing modeling objects as defined by the cols argument.

Public method SemiContVarArray(Int32, Double, Double, NumVarType, array<String>[]()[][])
Creates and returns n semi-continuous modeling variables, all with the same type, semi-continuous lower bound, and upper bound, but with individually specified name.

This method creates n new semi-continuous modeling variables, each with the same specified bounds and type, and returns them in an array. Each new variable is assigned a separate name, with variable i assigned name[i].

Public method SemiContVarArray(Int32, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][])
Creates and returns n semi-continuous modeling variables, all of the same type, with the same semi-continuous lower bound and upper bound, and individually specified name.
Public method SemiContVarArray(IColumnArray, Double, Double, NumVarType, array<String>[]()[][])
Creates and returns semi-continuous modeling variables with individually specified type, semi-continuous lower bound, upper bound, and name, for column-wise modeling.
Public method SemiContVarArray(IColumnArray, array<Double>[]()[][], array<Double>[]()[][], array<NumVarType>[]()[][], array<String>[]()[][])
Creates and returns semi-continuous modeling variables, with individually specified type, semi-continuous lower bound, upper bound, and name, for column-wise modeling.
Public method SetLinearCoef(IObjective, INumVar, Double)
Sets linear coefficient for variable var to val in the expression of the specified IObjective object.
Public method SetLinearCoef(IObjective, Double, INumVar)
Sets linear coefficient for variable var to val in the expression of the specified IObjective object.
Public method SetLinearCoef(IRange, INumVar, Double)
Sets linear coefficient for variable var to val in the expression of the specified IRange object.
Public method SetLinearCoef(IRange, Double, INumVar)
Sets linear coefficient for variable var to val in the expression of the specified IRange object.
Public method SetLinearCoefs(IObjective, array<INumVar>[]()[][], array<Double>[]()[][])
Sets linear coefficients for variables in the expression of the specified IObjective object.
Public method SetLinearCoefs(IObjective, array<Double>[]()[][], array<INumVar>[]()[][])
Sets linear coefficients for variables in the expression of the specified IObjective object.
Public method SetLinearCoefs(IRange, array<INumVar>[]()[][], array<Double>[]()[][])
Sets linear coefficients for variables in the expression of the specified IRange object.
Public method SetLinearCoefs(IRange, array<Double>[]()[][], array<INumVar>[]()[][])
Sets linear coefficients for variables in the expression of the specified IRange object.
Public method SetLinearCoefs(IObjective, array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Sets linear coefficients for variables in the expression of the specified IObjective object.
Public method SetLinearCoefs(IObjective, array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32)
Sets linear coefficients for variables in the expression of the specified IObjective object.
Public method SetLinearCoefs(IRange, array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Sets linear coefficients for variables in the expression of the specified IRange object.
Public method SetLinearCoefs(IRange, array<Double>[]()[][], array<INumVar>[]()[][], Int32, Int32)
Sets linear coefficients for variables in the expression of the specified IRange object.
Public method SOS1(array<INumVar>[]()[][], array<Double>[]()[][])
Creates an SOS of type 1 with the specified variables and weights.
Public method SOS1(array<INumVar>[]()[][], array<Double>[]()[][], String)
Creates an SOS of type 1 with the specified variables and weights, and assigns the new SOS its name.
Public method SOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates an SOS of type 1 with the num specified variables and weights, starting from the index specified by start.
Public method SOS1(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String)
Creates an SOS of type 1 with the num specified variables and weights, starting from the index specified by start, and assigns the new SOS a name.
Public method SOS2(array<INumVar>[]()[][], array<Double>[]()[][])
Creates an SOS of type 2 with the specified variables and weights.
Public method SOS2(array<INumVar>[]()[][], array<Double>[]()[][], String)
Creates an SOS of type 2 with the specified variables and weights, and assigns the new SOS its name.
Public method SOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32)
Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start.
Public method SOS2(array<INumVar>[]()[][], array<Double>[]()[][], Int32, Int32, String)
Creates an SOS of type 2 with the num specified variables and weights, starting from the index specified by start, and assigns the new SOS its name.
Public method Square(IIntExpr)
Creates and returns the new expression e^2.
(Inherited from IModeler.)
Public method Square(INumExpr)
Creates and returns an expression representing the square of the expression e (that is, e * e).
(Inherited from IModeler.)
Public method Sum(array<IIntExpr>[]()[][])
Creates and returns an integer expression representing the sum of the expressions provided in the array expr.
(Inherited from IModeler.)
Public method Sum(array<INumExpr>[]()[][])
Creates and returns an expression representing the sum of the expressions provided as terms in the array expr.
(Inherited from IModeler.)
Public method Sum(Double, INumExpr)
Creates and returns an expression representing the sum of a value and a numeric expression.
(Inherited from IModeler.)
Public method Sum(Int32, IIntExpr)
Creates and returns an integer expression representing the sum of a value and an integer expression.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr)
Adds two integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(IIntExpr, Int32)
Creates and returns an integer expression representing the sum of an integer expression and a value.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr)
Adds two numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, Double)
Creates and returns an expression representing the sum of a numeric expression and a value.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr)
Adds three integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(array<IIntExpr>[]()[][], Int32, Int32)
Creates and returns an integer expression representing the sum of the num expressions provided in the array expr starting with element start.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr)
Adds three numeric expressions and returns their sum.
(Inherited from IModeler.)
Public method Sum(array<INumExpr>[]()[][], Int32, Int32)
Creates and returns an expression representing the sum of the num expressions provided as terms in the array expr starting with element start.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr)
Adds four integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr, INumExpr)
Adds four numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr)
Adds five integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr)
Adds five numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr)
Adds six integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr)
Adds six numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr)
Adds seven integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr)
Adds seven numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr, IIntExpr)
Adds eight integer expressions and returns the sum.
(Inherited from IModeler.)
Public method Sum(INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr, INumExpr)
Adds eight numeric expressions and returns the sum.
(Inherited from IModeler.)
Public method VisitChildren
This method is called when the object and all its sub-objects must be visited. To implement this method, you should first call the method ICopyableVisitor.BeginVisit() with yourself as parameter, then call ICopyableVisitor.VisitChild() for each sub-copyables, the call ICopyableVisitor.EndVisit() once again with yourself as parameter.
(Inherited from ICopyable.)

See Also