Sets an integer 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..::..IntParam which,
	int val
)
Visual Basic
Public Overridable Sub SetParam ( _
	which As Cplex..::..IntParam, _
	val As Integer _
)

Parameters

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