Skip to main content
FRAMES NO FRAMES

IlcNotMember

public IlcConstraint IlcNotMember(const IlcIntVar exp, const IlcIntArray elements)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Returns a 'not member' constraint.

This predefined CP Optimizer constraint forces a constrained integer expression not to be an element of the array of integers indicated by elements. When you post IlcNotMember, it does the opposite of IlcMember.

See Also: