Tuples Constructor (String, IEnumerable<Domain>, IEnumerable<Rational[]>)

Solver Foundation 3.0

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

Creates tuples that can be used as a random parameter for stochastic programming or for table constraints. Initializes a new instance of the Tuples class using the specified data.

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

public Tuples(
	string name,
	IEnumerable<Domain> domains,
	IEnumerable<Rational[]> data
)

Parameters

name
Type: System.String
The name of the Tuples object.
domains
Type: System.Collections.Generic.IEnumerable<Domain>
The domains of the tuples.
data
Type: System.Collections.Generic.IEnumerable<Rational[]>
The data for the Tuples object.

Show: