Model.AddDecision Method (Decision)

Solver Foundation 3.0

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

Adds a decision to a model.

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

public void AddDecision(
	Decision decision
)

Parameters

decision
Type: Microsoft.SolverFoundation.Services.Decision
A decision for the model.

ExceptionCondition
ModelException

The decision was already added to a different model.

Show: