When testing the ModelAnalyzer.jl in a medium-sized case study in Tulipa, we found Numerical analysis found 79309 issues, but we know now what to do 😅 and the package will help us to improve the case study and input data (see TulipaEnergy/Tulipa-OBZ-CaseStudy#38).
During the process, we have the following feedback on the package:
This is the full report my_report.txt
Here is the LP file for reproducibility: https://filesender.surf.nl/?s=download&token=3ef84db3-7bfd-4101-a8b4-5af77b4761a2
Julia code:
using JuMP
using ModelAnalyzer
using HiGHS
# Create a JuMP model from lp file from OBZ case study
model = read_from_file("tulipa-obz-model-10rp.lp")
set_optimizer(model, HiGHS.Optimizer)
optimize!(model)
# Perform a numerical analysis of the model
data = ModelAnalyzer.analyze(ModelAnalyzer.Numerical.Analyzer(), model)
# print report
ModelAnalyzer.summarize(data; verbose=false)
Julia environment:
(TestModelAnalyzer) pkg> st
Status `C:\Users\tejadaarangoda\OneDrive - TNO\00_Sandbox\TestModelAnalyzer\Project.toml`
[87dc4568] HiGHS v1.16.0
[4076af6c] JuMP v1.25.0
[d1179b25] ModelAnalyzer v0.1.0 `https://github.com/jump-dev/ModelAnalyzer.jl#main`
I hope this information helps
When testing the ModelAnalyzer.jl in a medium-sized case study in Tulipa, we found
Numerical analysis found 79309 issues, but we know now what to do 😅 and the package will help us to improve the case study and input data (see TulipaEnergy/Tulipa-OBZ-CaseStudy#38).During the process, we have the following feedback on the package:
ERROR: MethodError: no method matching summarize(::ModelAnalyzer.Numerical.Data, ::Type{ModelAnalyzer.Numerical.VariableBoundAsConstraint})ERROR: MethodError: no method matching summarize(::ModelAnalyzer.Numerical.Data, ::Vector{ModelAnalyzer.Numerical.VariableBoundAsConstraint})ERROR: MethodError: no method matching summarize(::ModelAnalyzer.Numerical.Data, ::ModelAnalyzer.Numerical.VariableBoundAsConstraint)This is the full report my_report.txt
Here is the LP file for reproducibility: https://filesender.surf.nl/?s=download&token=3ef84db3-7bfd-4101-a8b4-5af77b4761a2
Julia code:
Julia environment:
I hope this information helps