OptimizationModel Methods

Methods

AddBinaryVariable Adds a binary variable to the collection.
AddIntegerVariable(String) Adds an integer variable to the collection.
AddIntegerVariable(String, Int32, Int32) Adds a binary variable to the collection.
AddLinearConstraint(String, ConstraintType, Double) Adds a linear constraint to the optimization model.
AddLinearConstraint(String, Double, Double) Adds a linear constraint to the optimization model.
AddLinearConstraint(IList<DecisionVariable>, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
AddLinearConstraint(String, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
AddLinearConstraint(String, IList<Double>, Double, Double) Adds a linear constraint to the optimization model.
AddLinearConstraint(String, IList<DecisionVariable>, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
AddVariable(String) Adds a variable to the collection.
AddVariable(String, Double, Double) Adds a variable to the collection.
CreateLinearConstraints(Matrix<Double>, Vector<Double>, Int32) Creates linear constraints based on the specified coefficients.
CreateLinearConstraints(Vector<Double>, Matrix<Double>, Vector<Double>) Creates linear constraints based on the specified coefficients and bounds.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetSolution Gets the solution to the optimization model.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnAddConstraint Notifies the optimization model that a constraint has been added.
OnAddVariable Notifies the optimization model that a variable has been added.
OnRemoveAllConstraints Notifies the optimization model that all constraints has been removed.
OnRemoveAllVariables Notifies the optimization model that all variables has been removed.
OnRemoveConstraint Notifies the optimization model that a constraint has been removed.
OnRemoveVariable Notifies the optimization model that a variable has been removed.
Solve Solves the model and returns the solution.
SolveModel Solves the model and returns a report detailing the solution.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also