Skip to content

Commit

Permalink
Merge branch 'exact-offset' into 'develop'
Browse files Browse the repository at this point in the history
Exact SCIP offset

See merge request integer/MIP-DD!94
  • Loading branch information
DominikKamp committed Aug 27, 2024
2 parents 6aeae5b + cdba869 commit f9e64db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bugger/interfaces/ScipRationalInterface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,8 @@ namespace bugger
// set problem name
builder.setProblemName(SCIPgetProbName(this->scip));
// set objective offset
//TODO: Get rational offset
builder.setObjOffset(REAL(SCIPgetOrigObjoffset(this->scip)));
objval = SCIPgetOrigObjoffsetExact(this->scip);
builder.setObjOffset(REAL(objval->val));
// set objective sense
builder.setObjSense(SCIPgetObjsense(this->scip) == SCIP_OBJSENSE_MINIMIZE);

Expand Down

0 comments on commit f9e64db

Please sign in to comment.