write_status looks for the objective_bound of the model, which might not exist (for example, HiGHS only implements the objective bound for MIPs).
This fix addresses the issue with write_outputs when UCommit = WriteShadowPrices = 1 by moving the linearization and re-optimization of the model immediately after write_status is called.
write_status
looks for theobjective_bound
of the model, which might not exist (for example, HiGHS only implements the objective bound for MIPs).This fix addresses the issue with
write_outputs
whenUCommit = WriteShadowPrices = 1
by moving the linearization and re-optimization of the model immediately afterwrite_status
is called.