Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Model.CreateInstance 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.]

Creates an instance of a model.

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

public SubmodelInstance CreateInstance(
	string name
)

Parameters

name
Type: System.String
The name of the model.

Return Value

Type: Microsoft.SolverFoundation.Services.SubmodelInstance
An instance of the model, including all decisions, constraints, and goals.

The root model created by the CreateModel() method cannot call the CreateInstance method.

Show:
© 2015 Microsoft