Dear all,

OPL offers the possibility to set the objective-coeeficients by OPL-Script

for( i in model.idx){

// model.getObjective().setCoef(model.x[i],5);

myCplex.setObjCoef(model.x[i],20);

}

Is there as well a getter-method for the coefficient, like, e.g.

model.getObjective().getCoef(model.x[i]);

myCplex.getObjCoef(model.x[i]);

Cheers,

Norbert