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
- decisions
Type: array<Microsoft.SolverFoundation.Services.RecourseDecision[]
The group of recourse decisions.
Exceptions
Exception | Condition |
---|---|
ModelException | The decision was already added to a different model. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.