







The Model type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | Abs |
Returns an Expression object respresenting the absolute value of the specified expression.
|
![]() | AddAlternativeConstraintGroups | |
![]() | AddAlternativeConstraints | |
![]() | AddConstraint(Constraint, String) |
Adds constraint to this model instance if it is consistent. If you choose to provide a name, the name of the constraint will be overridden.
You need to make sure that the name of the constraint is unique.
|
![]() | AddConstraint(String, Double, Double, Expression) |
Adds a new constraint to this model instance if it is consistent.
|
![]() | AddConstraints |
Adds a set of constraint to this model instance if it is consistent.
|
![]() | AddObjective(Objective) |
Adds objective to this model instance if it is consistent.
|
![]() | AddObjective(Expression, String, ObjectiveSense) |
Adds a new objective to this model instance if it is consistent.
|
![]() | AddObjectives |
Adds a set of objectives to this model instance if it is consistent.
|
![]() | AddSOS |
Adds an SOS Constraint of the given SOSType
|
![]() | AddSOS1 |
Adds an SOS1 constraint
|
![]() | AddSOS2 |
Adds an SOS2 constraint
|
![]() | AddSOS3 |
Adds an SOS3 constraint
|
![]() | AddVariable(IVariable) |
Adds variable to this model instance if it is consistent.
|
![]() | AddVariable(String, Double, Double, VariableType) |
Adds a new variable to this model instance if it is consistent.
|
![]() | AddVariables |
Adds a set of variables to this model instance if it is consistent. //TODO: discuss: What do we mean by "consistent"?
|
![]() ![]() | Ceil |
Returns an Expression object respresenting the ceil roundoff of the specified expression.
|
![]() | Clear |
Removes all variables, constraints, objectives and scenarios from this model instance.
|
![]() | ContainsConstraint |
Contains this model instance a constraint named name?
|
![]() | ContainsObjective |
Contains this model instance an objective named name?
|
![]() | ContainsVariable |
Contains this model instance a variable named name?
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | Floor |
Returns an Expression object respresenting the floor roundoff of the specified expression.
|
![]() | GetConstraint |
Returns the constraint named name, or null if this model instance contains no such constraint.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetObjective |
Returns the objective named name, or null if this model instance contains no such objective.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetVariable |
Returns the variable named name, or null if this model instance contains no such variable.
|
![]() | Load |
Loads the specified file.
|
![]() ![]() | Max |
Returns an Expression object representing the maximum of the specified expresssions.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | Min |
Returns an Expression object respresenting the minimum of the specified expressions.
|
![]() | RemoveConstraint |
Removes the constraint named name from this model instance, or does nothing if this model instance contains no such constraint.
|
![]() | RemoveConstraints |
Removes a set of constraints from this model instance.
|
![]() | RemoveObjective |
Removes the objective named name from this model instance, or does nothing if this model instance contains no such objective.
|
![]() | RemoveObjectives |
Removes a set of objectives from this model instance.
|
![]() | RemoveVariable |
Removes the variable named name from this model instance, or does nothing if this model instance contains no such variable.
|
![]() | RemoveVariables |
Removes a set of variables from this model instance.
|
![]() | ToString | (Inherited from Object.) |
![]() | Write |
Writes the model to the specified filestream.
|