SolverContext.SaveModel 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.]

Writes the decision values from a solution.

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

public void SaveModel(
	FileFormat format,
	TextWriter writer
)

Parameters

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

Show: