Skip to content

Commit

Permalink
Update all objective coefficients in one time (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Sgattoni <[email protected]>
  • Loading branch information
flomnes and sgatto authored Nov 10, 2023
1 parent 40d575c commit f94ab44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ortools/linear_solver/xpress_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -732,8 +732,7 @@ XpressInterface::XpressInterface(MPSolver* const solver, bool mip)
mLp(nullptr),
mMip(mip),
supportIncrementalExtraction(false),
slowUpdates(static_cast<SlowUpdates>(SlowSetObjectiveCoefficient |
SlowClearObjective)),
slowUpdates(SlowClearObjective),
mapStringControls_(getMapStringControls()),
mapDoubleControls_(getMapDoubleControls()),
mapIntegerControls_(getMapIntControls()),
Expand Down

0 comments on commit f94ab44

Please sign in to comment.