NO FRAMES

IloNullIntersect

public IloConstraint IloNullIntersect(const IloEnv env, const IloAnySetVar var1, const IloAnySetVar var2)
public IloConstraint IloNullIntersect(const IloEnv env, const IloAnySet var1, const IloAnySetVar var2)
public IloConstraint IloNullIntersect(const IloEnv env, const IloAnySetVar var1, const IloAnySet var2)
public IloConstraint IloNullIntersect(const IloEnv , const IloIntSetVar var1, const IloIntSetVar var2)
public IloConstraint IloNullIntersect(const IloEnv , const IloIntSet var1, const IloIntSetVar var2)
public IloConstraint IloNullIntersect(const IloEnv , const IloIntSetVar var1, const IloIntSet 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 the set var1 to have no elements in common with the set var2. In other words, the intersection of var1 with var2 will be empty when this constraint is satisfied.

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.