SolverContext.LoadModel Method (FileFormat, TextReader)

Solver Foundation 3.0

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

Loads a model from a file.

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

public void LoadModel(
	FileFormat format,
	TextReader reader
)

Parameters

format
Type: Microsoft.SolverFoundation.Services.FileFormat
The file format for the model: OML, MPS, or SMPS.
reader
Type: System.IO.TextReader
A reader that can read a sequential series of characters.

Show: