Sets the warning stream of the invoking Cplex object.

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

Syntax

C#
public virtual void SetWarning(
	TextWriter s
)
Visual Basic
Public Overridable Sub SetWarning ( _
	s As TextWriter _
)

Parameters

s
Type: System.IO..::..TextWriter
The new warning output stream.

Remarks

After this call, all warnings will be output via the new stream. Passing null as the new output stream will turn off all warnings.

See Also