Returns a constraint that if con1 is true, then con2 must also be true.

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
IConstraint IfThen(
	IConstraint con1,
	IConstraint con2,
	string name
)

Parameters

con1
Type: ILOG.Concert..::..IConstraint
con2
Type: ILOG.Concert..::..IConstraint
name
Type: System..::..String

Remarks

In other words, it returns a conditional constraint based on its arguments. It also assigns the string name as the name of the returned constraint.

See Also