We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code,
using GLPK optimizer = GLPK.Optimizer(method=GLPK.EXACT) using MathOptInterface const MOI = MathOptInterface λ = MOI.add_variables(optimizer, 2) l = MOI.SingleVariable.(λ) MOI.add_constraint(optimizer, 1.0l[1] + 1.0l[2], MOI.EqualTo(1.0)) MOI.add_constraint(optimizer, -1.0l[1], MOI.EqualTo(-1.0)) MOI.add_constraint(optimizer, l[2], MOI.EqualTo(1.0)) MOI.optimize!(optimizer)
throws the error
ERROR: LoadError: GLPKError("no bf solution found (use GLPK.factorize)") Stacktrace: [1] _bf_exists at /home/blegat/.julia/packages/GLPK/3DCgA/src/GLPK_checks.jl:271 [inlined] [2] macro expansion at /home/blegat/.julia/packages/GLPK/3DCgA/src/GLPK_checks.jl:53 [inlined] [3] get_bhead(::Prob, ::Int64) at /home/blegat/.julia/packages/GLPK/3DCgA/src/GLPK.jl:1619 [4] get_infeasibility_ray(::GLPK.Optimizer, ::Array{Float64,1}) at /home/blegat/.julia/packages/GLPK/3DCgA/src/infeasibility_certificates.jl:49 [5] optimize!(::GLPK.Optimizer) at /home/blegat/.julia/packages/GLPK/3DCgA/src/MOI_wrapper.jl:1334
See JuliaReach/LazySets.jl#1668
The text was updated successfully, but these errors were encountered:
Thanks to both of you!
Sorry, something went wrong.
odow
Successfully merging a pull request may close this issue.
The following code,
throws the error
See JuliaReach/LazySets.jl#1668
The text was updated successfully, but these errors were encountered: