SciML / StructuralIdentifiability.jl

Fast and automatic structural identifiability software for ODE systems
https://docs.sciml.ai/StructuralIdentifiability/stable/
MIT License
112 stars 17 forks source link

v0.5.9 compatibility with Catalyst #349

Closed MarcusGalea closed 2 months ago

MarcusGalea commented 2 months ago

Describe the bug 🐞

I wish to use the newest version (v0.5.9) of StructuralIdentifiability so I can use the keyword known_ic when calling assess_identifiability with Catalyst (mtk) models . Hence i've added the line

[compat]
StructuralIdentifiability =">=v0.5.9"

under to my Project.toml file, to ensure that I have the correct version. However, when I try to add Catalyst afterwards

] add Catalyst

I get this error

ERROR: Unsatisfiable requirements detected for package Catalyst [479239e8]:
 Catalyst [479239e8] log:
 ├─possible versions are: 5.0.0-14.3.2 or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions: 5.0.0-14.3.2
 ├─restricted by compatibility requirements with AbstractAlgebra [c3fe647b] to versions: [5.0.0-6.12.1, 11.0.0-14.3.2] or uninstalled, leaving only versions: [5.0.0-6.12.1, 11.0.0-14.3.2]
 │ └─AbstractAlgebra [c3fe647b] log:
 │   ├─possible versions are: 0.1.0-0.42.1 or uninstalled
 │   ├─restricted by compatibility requirements with StructuralIdentifiability [220ca800] to versions: 0.40.0-0.42.1
 │   │ └─StructuralIdentifiability [220ca800] log:
 │   │   ├─possible versions are: 0.1.0-0.5.9 or uninstalled
 │   │   └─restricted to versions 0.5.9-* by an explicit requirement, leaving only versions: 0.5.9
 │   └─restricted by compatibility requirements with Groebner [0b43b601] to versions: 0.40.0-0.41.11
 │     └─Groebner [0b43b601] log:
 │       ├─possible versions are: 0.1.0-0.7.5 or uninstalled
 │       └─restricted by compatibility requirements with StructuralIdentifiability [220ca800] to versions: 0.7.3-0.7.5
 │         └─StructuralIdentifiability [220ca800] log: see above
 ├─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 14.0.0-14.3.2 or uninstalled, leaving only versions: 14.0.0-14.3.2
 │ └─ModelingToolkit [961ee093] log:
 │   ├─possible versions are: 0.0.1-9.33.1 or uninstalled
 │   ├─restricted by compatibility requirements with Catalyst [479239e8] to versions: [3.13.0-3.21.0, 4.0.1-5.26.0, 6.2.0-8.76.0, 9.16.0-9.33.1]
 │   │ └─Catalyst [479239e8] log: see above
 │   └─restricted by compatibility requirements with StructuralIdentifiability [220ca800] to versions: 9.33.0-9.33.1 or uninstalled, leaving only versions: 9.33.0-9.33.1
 │     └─StructuralIdentifiability [220ca800] log: see above
 └─restricted by compatibility requirements with Symbolics [0c5d862f] to versions: 5.0.0-6.12.1 or uninstalled — no versions left
   └─Symbolics [0c5d862f] log:
     ├─possible versions are: 0.1.0-6.2.0 or uninstalled
     ├─restricted by compatibility requirements with StructuralIdentifiability [220ca800] to versions: 6.2.0 or uninstalled
     │ └─StructuralIdentifiability [220ca800] log: see above
     └─restricted by compatibility requirements with ModelingToolkit [961ee093] to versions: 6.0.0-6.2.0, leaving only versions: 6.2.0
       └─ModelingToolkit [961ee093] log: see above

It appears that Catalyst can't be added due to compatibility restrictions in Structural Identifiability, but only for version v0.5.9 (I had no issue getting Catalyst while I was using v0.5.8). Is there something I can do to fix this issue?

Environment (please complete the following information):

Status `C:\Users\MGAJ\OneDrive - Danmarks Tekniske Universitet\Novozymes\ReactionNetworkFitting_private\ReactionIdentifiability\Project.toml`
  [634d3b9d] DrWatson v2.15.0
  [220ca800] StructuralIdentifiability v0.5.9
Status `C:\Users\MGAJ\OneDrive - Danmarks Tekniske Universitet\Novozymes\ReactionNetworkFitting_private\ReactionIdentifiability\Manifest.toml`
⌅ [c3fe647b] AbstractAlgebra v0.41.11
  [a9b6321e] Atomix v0.1.0
  [62783981] BitTwiddlingConvenienceFunctions v0.1.6
  [d360d2e6] ChainRulesCore v1.24.0
  [861a8166] Combinatorics v1.0.2
  [f70d9fcc] CommonWorldInvalidations v1.0.0
  [34da2185] Compat v4.16.0
  [a8cc5b0e] Crayons v4.1.1
  [9a962f9c] DataAPI v1.16.0
  [864edb3b] DataStructures v0.18.20
  [e2d170a0] DataValueInterfaces v1.0.0
  [634d3b9d] DrWatson v2.15.0
  [e2ba6199] ExprTools v0.1.10
  [5789e2e9] FileIO v1.16.3
  [0b43b601] Groebner v0.7.5
  [3e5b6fbb] HostCPUFeatures v0.1.17
  [615f187c] IfElse v0.1.1
  [18e54dd8] IntegerMathUtils v0.1.2
  [c8e1da08] IterTools v1.10.0
  [82899510] IteratorInterfaceExtensions v1.0.0
  [033835bb] JLD2 v0.4.51
  [692b3bcd] JLLWrappers v1.5.0
  [b964fa9f] LaTeXStrings v1.3.1
  [1914dd2f] MacroTools v0.5.13
  [102ac46a] MultivariatePolynomials v0.5.6
  [d8a4904e] MutableArithmetics v1.4.6
⌅ [2edaba10] Nemo v0.45.7
  [bac558e1] OrderedCollections v1.6.3
  [3e851597] ParamPunPam v0.4.1
  [aea7be01] PrecompileTools v1.2.1
  [21216c6a] Preferences v1.4.3
  [08abe8d2] PrettyTables v2.3.2
  [27ebfcd6] Primes v0.5.6
  [92933f4c] ProgressMeter v1.10.2
  [fb686558] RandomExtensions v0.4.4
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [6c6a2e73] Scratch v1.2.1
  [aedffcd0] Static v1.1.1
  [892a3eda] StringManipulation v0.3.4
  [220ca800] StructuralIdentifiability v0.5.9
  [3783bdb8] TableTraits v1.0.1
  [bd369af6] Tables v1.12.0
  [a759f4b9] TimerOutputs v0.5.24
  [3bb67fe8] TranscodingStreams v0.11.2
  [3a884ed6] UnPack v1.0.2
  [013be700] UnsafeAtomics v0.2.1
  [e134572f] FLINT_jll v300.100.300+0
⌅ [656ef2d0] OpenBLAS32_jll v0.3.24+0
  [0dad84c5] ArgTools v1.1.1
  [56f22d72] Artifacts
  [2a0f44e3] Base64
  [ade2ca70] Dates
  [8ba89e20] Distributed
  [f43a241f] Downloads v1.6.0
  [7b1f6079] FileWatching
  [b77e0a4c] InteractiveUtils
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2
  [8f399da3] Libdl
  [37e2e46d] LinearAlgebra
  [56ddb016] Logging
  [d6f4376e] Markdown
  [a63ad114] Mmap
  [ca575930] NetworkOptions v1.2.0
  [44cfe95a] Pkg v1.10.0
  [de0858da] Printf
  [3fa0cd96] REPL
  [9a3f8284] Random
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization
  [6462fe0b] Sockets
  [2f01184e] SparseArrays v1.10.0
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [8dfed614] Test
  [cf7118a7] UUIDs
  [4ec0a83e] Unicode
  [e66e0078] CompilerSupportLibraries_jll v1.1.1+0
  [781609d7] GMP_jll v6.2.1+6
  [deac9b47] LibCURL_jll v8.4.0+0
  [e37daf67] LibGit2_jll v1.6.4+0
  [29816b5a] LibSSH2_jll v1.11.0+1
  [3a97d323] MPFR_jll v4.2.0+1
  [c8ffd9c3] MbedTLS_jll v2.28.2+1
  [14a3606d] MozillaCACerts_jll v2023.1.10
  [4536629a] OpenBLAS_jll v0.3.23+4
  [bea87d4a] SuiteSparse_jll v7.2.1+1
  [83775a58] Zlib_jll v1.2.13+1
  [8e850b90] libblastrampoline_jll v5.8.0+1
  [8e850ede] nghttp2_jll v1.52.0+1
  [3f19e933] p7zip_jll v17.4.0+2
Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`

Julia Version 1.10.4
Commit 48d4fd4843 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 12 × AMD Ryzen 5 PRO 5650U with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =
ChrisRackauckas commented 2 months ago

v0.5.9 requires Symbolics v6, which Catalyst is not compatible with yet. Track https://github.com/SciML/Catalyst.jl/pull/1016