Share via


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
Public method StochasticDirective Initializes a new instance of the StochasticDirective class.

Top

Properties

  Name Description
Public property Arithmetic Gets or sets the numerical accuracy to use during the solve process. (Inherited from Directive.)
Public property DecompositionType Gets or sets a value that indicates whether to use decomposition or the deterministic equivalent.
Public property MaximumGoalCount Gets or sets the maximum number of goals to use. (Inherited from Directive.)
Public property TimeLimit Gets or sets the time limit. (Inherited from Directive.)
Public property WaitLimit Gets or sets the time to wait for a result after timeout is reached. (Inherited from Directive.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
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 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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.SolverFoundation.Services Namespace