Initially, I had the below objective function
$\max \sum_{u=1}^{U}\sum_{c=1}^{C}x_{u,c}d_{u,c}$
where $x_{u,c}$ are optimization variables
I modelled this in CPLEX as
IloExpr objFun (env);
for(int u = 0; u < U; u++){
for(int c = 0; c < C; c++){
objFun += x[u][c]* d[u][c];
}
}
model.add(IloMaximize(env, objFun));
objFun.end();
Now, I have a slightly different objective
$\text{maximize} \min_{u} \sum_{c=1}^{C}x_{u,c}d_{u,c}$
Now how can I model this?