Export (0) Print
Expand All

Model Methods

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Model type exposes the following members.

  Name Description
Public method Static member Abs Computes the absolute value of a decision, formula, goal, or constraint.
Public method AddConstraint(String, Term) Adds a constraint to the model..
Public method AddConstraint(String, String) Adds a constraint to a model by parsing an OML expression.
Public method AddConstraints Adds a group of constraints to a model.
Public method AddDecision(Decision) Adds a decision to a model.
Public method AddDecision(RecourseDecision) Adds a recourse decision to a model (for stochastic programming).
Public method AddDecisions(Decision[]) Adds a group of decisions to a model.
Public method AddDecisions(RecourseDecision[]) Adds a group of recourse decisions to a model (for stochastic programming).
Public method AddGoal(String, GoalKind, Term) Adds a goal to a model.
Public method AddGoal(String, GoalKind, String) Adds a goal to a model by parsing an OML expression.
Public method AddGoals Adds a group of goals to a model.
Public method AddParameter(Parameter) Adds a parameter to a model.
Public method AddParameter(RandomParameter) Adds a random parameter to a model for stochastic programming.
Public method AddParameters(Parameter[]) Adds a group of parameters to a model.
Public method AddParameters(RandomParameter[]) Adds a group of random parameters to a model for stochastic programming.
Public method AddTuple Adds a tuple to a model.
Public method AddTuples Adds a group of tuples to a model.
Public method Static member AllDifferent Ensures that all terms in a model are different.
Public method Static member And Performs a Boolean AND operation.
Public method Static member ArcCos Computes the arccosine of a term.
Public method Static member ArcSin Computes the arcsine of a term.
Public method Static member ArcTan Computes the arctangent of a term.
Public method Static member AtMostMofN Tests whether a maximum of m inputs are true.
Public method Static member Ceiling Computes the smallest integer that is greater than or equal to the argument.
Public method Static member Cos Computes the cosine of a term.
Public method Static member Cosh Computers the hyperbolic cosine
Public method CreateInstance Creates an instance of a model.
Public method CreateSubModel Creates a submodel within the current model.
Public method Static member Difference Subtracts one term from another term.
Public method Static member Equal(Term[]) Tests all inputs for equality.
Public method Static member Equal(Term[], Tuples) Tests a tuple for membership in an array of tuples.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member ExactlyMofN Tests whether exactly a specified number of inputs are true.
Public method Static member Exp Computes e raised to the power specified by the input.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member Floor Computes the largest integer that is less than or equal to the argument.
Public method Static member ForEach Creates a term for each element.
Public method Static member ForEachWhere Creates a term for each element if a condition is met.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Static member Greater Tests whether all inputs occur in decreasing order.
Public method Static member GreaterEqual Tests whether all inputs are decreasing or equal in value.
Public method Static member If Returns the second or third argument, depending on whether the condition is true.
Public method Static member Implies Tests for logical implication between two inputs.
Public method Static member Less Tests whether all inputs occur in increasing order.
Public method Static member LessEqual Tests whether all inputs are increasing or equal in value.
Public method Static member Log Computes the natural logarithm of the term.
Public method Static member Log10 Computes the base 10 logarithm of the term.
Public method Static member Max Returns the largest argument.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Min Returns the smallest argument.
Public method Static member Negate Computes the arithmetic negation of a term.
Public method Static member Not Computes the logical negation of a term.
Public method Static member Or Performs a logical OR operation on a term.
Public method Static member Power Raises a term to the power of a specified value.
Public method Static member Product Multiplies all the inputs.
Public method Static member Quotient Divides one term by another.
Public method RemoveConstraint Removes a constraint from a model.
Public method RemoveDecision(Decision) Removes an unused decision from a model.
Public method RemoveDecision(RecourseDecision) Removes an unused recourse decision from a model.
Public method RemoveGoal Removes a goal from a model.
Public method RemoveGoals Removes goals from a model.
Public method RemoveParameter(Parameter) Removes an unused parameter from a model.
Public method RemoveParameter(RandomParameter) Removes an unused random parameter from a model.
Public method RemoveSubModel Removes a submodel from a model.
Public method Static member Sin Computes the sine for a term.
Public method Static member Sinh Computes the hyperbolic sine for a term.
Public method Static member Sos1 Creates a constraint for a special ordered type 1 set.
Public method Static member Sos2 Creates a constraint for a special ordered set reference row.
Public method Static member Sqrt Computes the square root for a term.
Public method Static member Sum(Term[]) Computes the sum of the inputs.
Public method Static member Sum(Term, Term) Computes the sum of the inputs.
Public method Static member Tan Computes the tangent for a term.
Public method Static member Tanh Computes the hyperbolic tangent for a term.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2014 Microsoft