StochasticDirective Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Represents a directive for stochastic solutions.
Inheritance Hierarchy
System.Object
Microsoft.SolverFoundation.Services.Directive
Microsoft.SolverFoundation.Services.StochasticDirective
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Class StochasticDirective _
Inherits Directive
public class StochasticDirective : Directive
public ref class StochasticDirective : public Directive
type StochasticDirective =
class
inherit Directive
end
public class StochasticDirective extends Directive
The StochasticDirective type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StochasticDirective | Initializes a new instance of the StochasticDirective class. |
Top
Properties
Name | Description | |
---|---|---|
Arithmetic | Gets or sets the numerical accuracy to use during the solve process. (Inherited from Directive.) | |
DecompositionType | Gets or sets a value that indicates whether to use decomposition or the deterministic equivalent. | |
MaximumGoalCount | Gets or sets the maximum number of goals to use. (Inherited from Directive.) | |
TimeLimit | Gets or sets the time limit. (Inherited from Directive.) | |
WaitLimit | Gets or sets the time to wait for a result after timeout is reached. (Inherited from Directive.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Converts a directive to its equivalent string representation. (Overrides Object.ToString().) |
Top
Remarks
The stochastic directive is suitable for linear models that contain recourse decisions and random parameters
Sampling options are set using the SamplingParameters property.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.