Skip to content

ACORN-11869: Populate variable values for FEASIBLE status in HiGHS#5

Merged
PedramHooshangiAUGAI merged 1 commit into
stablefrom
pedram/ACORN-11869
Mar 17, 2026
Merged

ACORN-11869: Populate variable values for FEASIBLE status in HiGHS#5
PedramHooshangiAUGAI merged 1 commit into
stablefrom
pedram/ACORN-11869

Conversation

@PedramHooshangiAUGAI

Copy link
Copy Markdown

This pull request updates the solver logic in highs_proto_solver.cc to improve how solution results are handled. The main change is expanding the conditions under which the solver sets the objective value and best objective bound in the response.

Solver result handling:

  • Updated the conditional in HighsSolveProto to set the objective_value and best_objective_bound when the solver status is either MPSOLVER_OPTIMAL or MPSOLVER_FEASIBLE, instead of only when it is MPSOLVER_OPTIMAL.…lver

Fix crash when HiGHS returns FEASIBLE status (time limit, node limit, gap tolerance). Now populates variable_value, objective_value, and best_objective_bound for both MPSOLVER_OPTIMAL and MPSOLVER_FEASIBLE, consistent with SCIP solver behavior.

…lver

Fix crash when HiGHS returns FEASIBLE status (time limit, node limit, gap tolerance).
Now populates variable_value, objective_value, and best_objective_bound for both
MPSOLVER_OPTIMAL and MPSOLVER_FEASIBLE, consistent with SCIP solver behavior.
@PedramHooshangiAUGAI
PedramHooshangiAUGAI merged commit f7e5943 into stable Mar 17, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants