Originally posted by: SystemAdmin
Hi everybody,
I have a quadratic integer progamming model and I want to solve it by a local algorithm. The objective function of the model has some
quadratic terms and some
linear terms. During the resolution by the local approach, the coefficients of the
linear part have to be changed. I would like to know whether or not the use of
IloObjective::setLinearCoefs() will influence the coefficients of the
quadtraic terms (in the objective function)? If yes, is there any other more appropriate function to do such changes? I tried to use the
model.remove(objective) (in order to construct the objective function from scratch) but I encoutered some problems. Cplex gives me some errors.
Thank you in advance.
#CPLEXOptimizers#DecisionOptimization