Writes solution information for all solutions in the solution pool in SOL format to the file specified by name.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
public virtual void WriteSolutions(
	string name
)
Visual Basic
Public Overridable Sub WriteSolutions ( _
	name As String _
)

Parameters

name
Type: System..::..String
The name of the file to write.

Remarks

By convention, the file extension is .Sol. The SOL file format is documented in the CPLEX File Formats Reference Manual and in the stylesheet solution.Xsl and in the schema solution.Xsd in the include directory of the product. Samples of its use appear in the examples distributed with the product and in the CPLEX User's Manual.

See Also