SolverContext.FindAllowedValues Method (IEnumerable<DecisionBinding>, Func, Void)
[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.
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
'Declaration Public Sub FindAllowedValues ( _ decisions As IEnumerable(Of DecisionBinding), _ queryAbort As Func, _ ParamArray directives As Void _ )
public void FindAllowedValues( IEnumerable<DecisionBinding> decisions, Func queryAbort, params void directives )
public: void FindAllowedValues( IEnumerable<DecisionBinding^>^ decisions, Func^ queryAbort, ... void directives )
member FindAllowedValues : decisions:IEnumerable<DecisionBinding> * queryAbort:Func * directives:unit -> unit
public function FindAllowedValues( decisions : IEnumerable<DecisionBinding>, queryAbort : Func, ... directives : Void )
The decisions for which to find allowed values.
A function that is called periodically during the computation to determine whether the user canceled the operation.
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.
.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.