Skip to content

Fix problems with TwoLevelTree#94

Merged
JulStraus merged 4 commits into
mainfrom
fix/op_per_strat_TwoLevelTree
Jun 15, 2026
Merged

Fix problems with TwoLevelTree#94
JulStraus merged 4 commits into
mainfrom
fix/op_per_strat_TwoLevelTree

Conversation

@JulStraus

@JulStraus JulStraus commented Jun 15, 2026

Copy link
Copy Markdown
Member

This PR fixes an issue when using TwoLevelTree time structures. In this case, all variables indexed over strategic variables included the multiplication with the branch probability. As a consequence, emission limits were less meaningful. In addition, using the function scale_op_sp for equality constraints could lead to infeasible problems.

This is adjusted in this version.

The PR includes furthermore some minor additional adjustments.

@JulStraus JulStraus requested a review from hellemo June 15, 2026 12:23
@JulStraus JulStraus added the bug Something isn't working label Jun 15, 2026

@hellemo hellemo 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.

The explanation is perhaps a bit terse, but looks good to me in general.

Comment thread src/utils.jl Outdated
Comment thread docs/src/manual/optimization-variables.md Outdated
@JulStraus JulStraus merged commit 586386b into main Jun 15, 2026
5 checks passed
@JulStraus JulStraus deleted the fix/op_per_strat_TwoLevelTree branch June 15, 2026 13:16
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