-
-
Notifications
You must be signed in to change notification settings - Fork 22
Remove Groebner Basis dependency #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The following code: using StructuralIdentifiability
ode = @ODEmodel(
x0'(t) = -(a01 + a21) * x0(t) + a12 * x1(t),
x1'(t) = a21 * x0(t) - a12 * x1(t),
y(t) = x0(t)
)
assess_identifiability(ode)produces the error (note that this is using ERROR: Dimension of ideal is greater than zero, no solutions provided.
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:33
[2] msolve(I::MPolyIdeal{Singular.spoly{Singular.n_Q}}; initial_hts::Int64, nr_thrds::Int64, max_nr_pairs::Int64, la_option::Int64, info_level::Int64, precision::Int64)
@ Oscar ~/.julia/packages/Oscar/ViMMc/src/Rings/msolve/msolve.jl:145
[3] msolve(I::MPolyIdeal{Singular.spoly{Singular.n_Q}})
@ Oscar ~/.julia/packages/Oscar/ViMMc/src/Rings/msolve/msolve.jl:80
[4] check_field_membership(generators::Vector{Vector{fmpq_mpoly}}, rat_funcs::Vector{Union{AbstractAlgebra.Generic.Frac{fmpq_mpoly}, fmpq_mpoly}}, p::Float64; method::Symbol)
@ StructuralIdentifiability ~/projects/julia/StructuralIdentifiability.jl/src/global_identifiability.jl:85
[5] check_identifiability(io_equations::Vector{fmpq_mpoly}, parameters::Vector{fmpq_mpoly}, funcs_to_check::Vector{Any}, p::Float64; method::Symbol)
@ StructuralIdentifiability ~/projects/julia/StructuralIdentifiability.jl/src/global_identifiability.jl:126
[6] macro expansion
@ ./timing.jl:287 [inlined]
[7] assess_global_identifiability(ode::ODE{fmpq_mpoly}, funcs_to_check::Vector{Any}, p::Float64; var_change::Symbol, gb_method::Symbol)
@ StructuralIdentifiability ~/projects/julia/StructuralIdentifiability.jl/src/global_identifiability.jl:224
[8] assess_global_identifiability
@ ~/projects/julia/StructuralIdentifiability.jl/src/global_identifiability.jl:199 [inlined]
[9] macro expansion
@ ./timing.jl:287 [inlined]
[10] assess_identifiability(ode::ODE{fmpq_mpoly}, funcs_to_check::Vector{fmpq_mpoly}, p::Float64)
@ StructuralIdentifiability ~/projects/julia/StructuralIdentifiability.jl/src/StructuralIdentifiability.jl:113
[11] assess_identifiability (repeats 2 times)
@ ~/projects/julia/StructuralIdentifiability.jl/src/StructuralIdentifiability.jl:71 [inlined]
[12] top-level scope
@ REPL[5]:1If I use ERROR: At the moment f4 only supports finite fields.We used |
|
Thank you for checking! The catch with If I understand correctly, |
|
Hi ! Judging by |
|
Sasha, thanks for checking! |
|
I will close this since there is a more relevant solution #77 |
Relevant to #55, I started trying to play around with Oscar for Groebner Basis computation