Skip to content

Fix notebook 1.3 solve against current openTEPES master - #18

Merged
erikfilias merged 1 commit into
mainfrom
fix/notebook-1.3-completeproblem-flags
Jul 20, 2026
Merged

Fix notebook 1.3 solve against current openTEPES master#18
erikfilias merged 1 commit into
mainfrom
fix/notebook-1.3-completeproblem-flags

Conversation

@erikfilias

@erikfilias erikfilias commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Notebook 1.3 replicates the openTEPES_run pipeline call by call. Current openTEPES master sets pIndCompleteProblem, pIndSequentialSolving and pBdTol on the model before the solve, and StageIterativeSolving reads pIndCompleteProblem. The notebook did not set them, so the scheduled submodule-bump job failed with AttributeError: 'ConcreteModel' object has no attribute 'pIndCompleteProblem'.

This sets the three flags next to the existing pIndSectorDecomposition flag.

Verified against openTEPES master tip 4ec96bd4 on Python 3.12: the notebook solves to optimal, 159.211 MEUR, matching the committed output.

Notebook 1.3 replicates the openTEPES_run pipeline call by call. Current
openTEPES master sets pIndCompleteProblem, pIndSequentialSolving and pBdTol
on the model before the solve, and StageIterativeSolving now reads
pIndCompleteProblem. The notebook never set them, so the scheduled submodule
bump failed with 'ConcreteModel object has no attribute pIndCompleteProblem'.

Set the three flags next to the existing pIndSectorDecomposition flag.
Verified by running the notebook against openTEPES master tip 4ec96bd4 on
Python 3.12: it solves to optimal, 159.211 MEUR, matching the committed
output.
@erikfilias
erikfilias merged commit 3e99235 into main Jul 20, 2026
1 check passed
@erikfilias
erikfilias deleted the fix/notebook-1.3-completeproblem-flags branch July 20, 2026 09:49
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.

1 participant