NO FRAMES

IloSum

public IloNumExprArg IloSum(const IloNumExprArray exprs)
public IloIntExprArg IloSum(const IloIntExprArray exprs)
public IloNum IloSum(const IloNumArray values)
public IloInt IloSum(const IloIntArray values)
Definition file: ilconcert/iloexpression.h
For constraint programming: returns a numeric value representing the sum of numeric values.

These functions return a numeric value representing the sum of numeric values in the array vals, or an instance of IloNumExprArg, the internal building block of an expression, representing the sum of the variables in the arrays exprs or values.