NO FRAMES

IloEqIntersection

public IloConstraint IloEqIntersection(const IloEnv env, const IloAnySetVar var1, const IloAnySetVar var2, const IloAnySetVar var3)
public IloConstraint IloEqIntersection(const IloEnv env, const IloIntSetVar var1, const IloIntSetVar var2, const IloIntSetVar var3)
Definition file: ilconcert/iloanyset.h

This function creates and returns a constraint (an instance of IloConstraint) for use in Concert Technology. The constraint forces the intersection of the sets var2 and var3 to be precisely the elements of the set intersection.

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.