Numerical Components for .NET
Namespace: Extreme.Mathematics.OptimizationAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
public class DecisionVariable : OptimizationModelEntity
Public Class DecisionVariable _
public ref class DecisionVariable : public OptimizationModelEntity
type DecisionVariable =
The DecisionVariable class represents a variable in a OptimizationModel.
DecisionVariable objects are created using the linear program's AddVariable(String)
method of the OptimizationModel class.
They may also be created when a constraint is added using the AddLinearConstraint(IList<(Of <<'(DecisionVariable>)>>), IList<(Of <<'(Double>)>>), ConstraintType, Double) method.
Each variable has a Name, which may be generated automatically.
The LowerBound and UpperBound properties
specify the lower and upper bounds.
After the solution of the model has been computed, the
Value property returns the value of the variable in the optimal solution.
Copyright © 2003-2013,
Extreme Optimization. All rights reserved.
Extreme Optimization, Complexity made simple, M#, and M
Sharp are trademarks of ExoAnalytics Inc.
Microsoft, Visual C#, Visual Basic, Visual Studio, Visual
Studio.NET, and the Optimized for Visual Studio logo are
registered trademarks of Microsoft Corporation.