Share via


Model.AddDecisions Method (array<RecourseDecision[])

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

Adds a group of recourse decisions to a model (for stochastic programming).

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

Syntax

'Declaration
Public Sub AddDecisions ( _
    ParamArray decisions As RecourseDecision() _
)
public void AddDecisions(
    params RecourseDecision[] decisions
)
public:
void AddDecisions(
    ... array<RecourseDecision^>^ decisions
)
member AddDecisions : 
        decisions:RecourseDecision[] -> unit 
public function AddDecisions(
    ... decisions : RecourseDecision[]
)

Parameters

Exceptions

Exception Condition
ModelException

The decision was already added to a different model.

.NET Framework Security

See Also

Reference

Model Class

AddDecisions Overload

Microsoft.SolverFoundation.Services Namespace