Originally posted by: QINGQINGQING
IloNumVar][[] x=new IloNumVar[D][D][K];//x_ijk is bool
double interval=Integer.MAX_VALUE+travelling_time+service_time
now I want to asign
-Integer.MAX_VALUE+x[i][j][k]*interval
to a certain variable, such as
var
then I want to add the constraint
t[i]+var<t[j]//t[i] and t[j] are both time
into the cplex model with java
Thank you
#CPLEXOptimizers#DecisionOptimization