Skip to content

Fix of objective_value when using TwoLevelTree. - #96

Merged
JulStraus merged 4 commits into
mainfrom
js/fix_objective_value_TwoLevelTree
Jun 15, 2026
Merged

Fix of objective_value when using TwoLevelTree.#96
JulStraus merged 4 commits into
mainfrom
js/fix_objective_value_TwoLevelTree

Conversation

@JulStraus

Copy link
Copy Markdown
Collaborator

This PR introduces a minor fix for the function objective_value to have a consistent behavior. This function should theoretically include, e.g., the probability of a branch but did not when using it on strategic periods or strategic nodes.

This is adjusted in this PR.

@JulStraus
JulStraus requested a review from trulsf June 15, 2026 11:19
@JulStraus JulStraus added the bug Something isn't working label Jun 15, 2026
@JulStraus
JulStraus marked this pull request as ready for review June 15, 2026 11:19
Comment thread docs/src/manual/discount.md Outdated
Comment thread src/discount.jl Outdated
Comment thread src/discount.jl

@trulsf trulsf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few minor comments, otherwise looks good to me.

Co-authored-by: Truls Flatberg <75753981+trulsf@users.noreply.github.com>
@JulStraus
JulStraus merged commit 2f7703a into main Jun 15, 2026
6 checks passed
@JulStraus
JulStraus deleted the js/fix_objective_value_TwoLevelTree branch June 15, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants