FRAMES NO FRAMES

IloNotMember

public IloConstraint IloNotMember(const IloEnv env, const IloAnyVar var1, const IloAnySetVar var2)
Definition file: ilconcert/iloanyset.h
show solver

IloNotMember

public IloConstraint IloNotMember(const IloEnv env, IloAny val, const IloAnySetVar var2)
Definition file: ilconcert/iloanyset.h
show solver

IloNotMember

public IloConstraint IloNotMember(const IloEnv, const IloNumExprArg expr, const IloNumArray elements)
Definition file: ilconcert/ilomodel.h
For constraint programming: creates and returns a constraint forcing expr not to be a member of elements.

This function creates and returns a constraint (an instance of IloConstraint) for use in a model. The constraint forces expr not to be a member of elements.

In order for the constraint to take effect, you must add it to a model with the template IloAdd or the member function IloModel::add and extract the model for an algorithm with the member function IloAlgorithm::extract.