Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CspComposite.AddConstraints Method

Solver Foundation 3.0

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

Returns a value that indicates whether all composite-wise constraint functions added to a model are valid.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
public bool AddConstraints(
	params CspTerm[] constraints
)

Parameters

constraints
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
Constraints to be added. Must be constructed using field terms.

Return Value

Type: System.Boolean
true if all composite-wise constraint functions added to a model are valid; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.