NO FRAMES

IloMember

public IloConstraint IloMember(const IloEnv env, const IloAnyVar var1, const IloAnySetVar var2)
public IloConstraint IloMember(const IloEnv env, IloAny val, const IloAnySetVar var2)
public IloConstraint IloMember(const IloEnv , const IloNumExprArg expr, const IloNumArray elements)
public IloConstraint IloMember(const IloEnv , const IloIntExprArg expr, const IloIntArray elements)
public IloConstraint IloMember(const IloEnv , const IloIntVar var1, const IloIntSetVar var2)
public IloConstraint IloMember(const IloEnv , IloInt var1, const IloIntSetVar var2)
Definition file: ilconcert/iloanyset.h

This function creates and returns a constraint (an instance of IloConstraint) for use in a model. The constraint forces element 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.