NO FRAMES

IloNotMember

public IloConstraint IloNotMember(const IloEnv env, const IloAnyVar var1, const IloAnySetVar var2)
public IloConstraint IloNotMember(const IloEnv env, IloAny val, const IloAnySetVar var2)
public IloConstraint IloNotMember(const IloEnv, const IloIntVar var1, const IloIntSetVar var2)
public IloConstraint IloNotMember(const IloEnv, IloInt var1, const IloIntSetVar var2)
Definition file: ilconcert/iloanyset.h
This function creates and returns a constraint.

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

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.