Intermittent “No model solution” after restarting Julia when using time-domain reduction in a myopic multistage model #917
Unanswered
huangzhenyue61-tech
asked this question in
Q&A
Replies: 1 comment 2 replies
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I am running a myopic multistage GenX model with time-domain reduction (TDR). I have encountered an intermittent issue: runs based on the same original input data and the same GenX, and solver settings do not always produce consistent results.
For example, the model solved successfully in two runs. However, after I closed Julia, reopened it, and ran the model again, Stage 1 returned

No model solution.Before each run, I deleted all previously generated TDR output files, so the time-domain reduction procedure was rerun from scratch every time.
GenX then continued to Stage 2 and raised a
MathOptInterface.ResultIndexBoundsErrorwhen attempting to access variable values from the Stage 1 model, which had no available primal solution.I would like to understand whether this behavior could be caused by:
- randomness or non-determinism in the TDR procedure;
- numerical instability in the solver;
- differences in the representative periods generated across runs;
- differences in model or random-number-generator state across Julia sessions;
- or an issue in the multistage workflow when the previous stage has no primal solution.
Environment
Gurobi Setting:
Feasib_Tol: 1.0e-05
Optimal_Tol: 1e-5
TimeLimit: 110000
Pre_Solve: 1
Method: 2
#Gurobi-specific solver settings
MIPGap: 1e-3
BarConvTol: 1.0e-06NumericFocus: 0.
Crossover: 0
PreDual: 0
AggFill: -1
OutputFlag: 0
Resource summary:
Thank you for your time. Any guidance on reproducing, diagnosing, or resolving this behavior would be greatly appreciated.
All reactions