LinearProgram Methods

Methods

AddBinaryVariable(String) Adds a binary variable to the collection.
(Inherited from OptimizationModel)
AddBinaryVariable(String, Double) Adds a binary variable to the collection.
AddIntegerVariable(String) Adds an integer variable to the collection.
(Inherited from OptimizationModel)
AddIntegerVariable(String, Double) Adds a binary variable to the collection.
AddIntegerVariable(String, Int32, Int32) Adds a binary variable to the collection.
(Inherited from OptimizationModel)
AddIntegerVariable(String, Double, Int32, Int32) Adds a binary variable to the collection.
AddLinearConstraint(String, ConstraintType, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddLinearConstraint(String, Double, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddLinearConstraint(IList<DecisionVariable>, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddLinearConstraint(String, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddLinearConstraint(String, IList<Double>, Double, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddLinearConstraint(String, IList<DecisionVariable>, IList<Double>, ConstraintType, Double) Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel)
AddVariable(String) Adds a variable to the collection.
(Inherited from OptimizationModel)
AddVariable(String, Double) Adds a variable to the collection.
AddVariable(String, Double, Double) Adds a variable to the collection.
(Inherited from OptimizationModel)
AddVariable(String, Double, Double, Double) Adds a variable to the collection.
CreateLinearConstraints(Matrix<Double>, Vector<Double>, Int32) Creates linear constraints based on the specified coefficients.
(Inherited from OptimizationModel)
CreateLinearConstraints(Vector<Double>, Matrix<Double>, Vector<Double>) Creates linear constraints based on the specified coefficients and bounds.
(Inherited from OptimizationModel)
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)
GetCoefficientMatrix Returns a matrix containing the coefficients of the constraints.
GetDualSolution Gets the solution to the dual problem of the linear program.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetObjective Gets a vector that contains the coefficients of the linear objective function.
GetSolution Gets the solution to the optimization model.
(Inherited from OptimizationModel)
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.
(Inherited from OptimizationModel)
OnAddVariable Notifies the optimization model that a variable has been added.
(Inherited from OptimizationModel)
OnRemoveAllConstraints Notifies the optimization model that all constraints has been removed.
(Inherited from OptimizationModel)
OnRemoveAllVariables Notifies the optimization model that all variables has been removed.
(Inherited from OptimizationModel)
OnRemoveConstraint Notifies the optimization model that a constraint has been removed.
(Inherited from OptimizationModel)
OnRemoveVariable Notifies the optimization model that a variable has been removed.
(Inherited from OptimizationModel)
Solve() Solves the model and returns the solution.
(Inherited from OptimizationModel)
Solve(SimplexOptions, ParallelOptions) Solves a linear program with the specified options.
Solve(OptimizationGoal, ParallelOptions, Double) Solves a linear program with the specified options.
SolveModel Solves the model and returns a report detailing the solution.
(Overrides OptimizationModel.SolveModel())
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also