SolverContext.FindAllowedValues Method (IEnumerable<DecisionBinding>, Func, Void)

Solver Foundation 3.0

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

Finds all allowed values for a set of decisions.

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

public void FindAllowedValues(
	IEnumerable<DecisionBinding> decisions,
	Func queryAbort,
	params void directives


Type: System.Collections.Generic.IEnumerable<DecisionBinding>
The decisions for which to find allowed values.
Type: System.Func<TResult>
A function that is called periodically during the computation to determine whether the user canceled the operation.
Type: System.Void
A set of directives to use during the solve process.

An allowed value is one that is part of some feasible solution to the problem. This method is much more efficient than enumerating all feasible solutions to find the allowed values.