Share via


Model.AddDecision Method (RecourseDecision)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds a recourse decision to a model (for stochastic programming).

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Sub AddDecision ( _
    decision As RecourseDecision _
)
public void AddDecision(
    RecourseDecision decision
)
public:
void AddDecision(
    RecourseDecision^ decision
)
member AddDecision : 
        decision:RecourseDecision -> unit 
public function AddDecision(
    decision : RecourseDecision
)

Parameters

Exceptions

Exception Condition
ModelException

The decision was already added to a different model.

.NET Framework Security

See Also

Reference

Model Class

AddDecision Overload

Microsoft.SolverFoundation.Services Namespace