Skip to main content
FRAMES NO FRAMES

IloCountDifferent

public IloIntExprArg IloCountDifferent(const IloIntExprArray x)
Definition file: ilconcert/iloexpression.h
Creates a constrained integer expression equal to the number of different values assigned to the variables in an array.

This function creates a new constrained integer expression equal to the number of different values assigned to the variables in x.