FRAMES NO FRAMES

IlcNotMember

public IlcConstraint IlcNotMember(IlcAny element, IlcAnySetVar var)
public IlcConstraint IlcNotMember(IlcAnyExp element, IlcAnySetVar var)
public IlcConstraint IlcNotMember(IlcIntExp element, IlcIntSetVar var)
public IlcConstraint IlcNotMember(IlcInt element, IlcIntSetVar var)
Definition file: ilsolver/ilcset.h
Include file: <ilsolver/ilosolver.h>

This predefined Solver constraint forces a constrained set variable not to contain a given element. It does so by creating a constraint that acts on the constrained set variable var. When you post IlcMember, it prevents the value of var from containing element. The following cases can arise:

See Also:


IlcNotMember

public IlcConstraint IlcNotMember(const IlcIntExp exp, const IlcIntArray elements)
Definition file: ilsolver/ilcint.h
Include file: <ilsolver/ilosolver.h>

This predefined Solver 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: