Originally posted by: SystemAdmin
I suggest you take a good look at the
IloCplexModeler class reference documentation. That is the superclass of IloCplex that provides the modeling API.
There you can find for example member function
IloNumExpr sum(double v, IloNumExpr e1);
that produces the sum of a constant and an expression.
#CPLEXOptimizers#DecisionOptimization