Sets a string parameter to value val.

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

Syntax

C#
public virtual void SetParam(
	Cplex..::..StringParam which,
	string val
)
Visual Basic
Public Overridable Sub SetParam ( _
	which As Cplex..::..StringParam, _
	val As String _
)

Parameters

which
Type: ILOG.CPLEX..::..Cplex..::..StringParam
The identifier of the string parameter to set.
val
Type: System..::..String
The new value for the string parameter.

Remarks

ILOG.Concert.Exception If the method fails, an exception of type ILOG.Concert.Exception, or one of its derived classes, is thrown.

See Also