Sets a Boolean parameter to the value val.

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

Syntax

C#
public virtual void SetParam(
	Cplex..::..BooleanParam which,
	bool val
)
Visual Basic
Public Overridable Sub SetParam ( _
	which As Cplex..::..BooleanParam, _
	val As Boolean _
)

Parameters

which
Type: ILOG.CPLEX..::..Cplex..::..BooleanParam
The identifier of the Boolean parameter to be set.
val
Type: System..::..Boolean
The new value for the Boolean 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