jump-dev / Pajarito.jl

A solver for mixed-integer convex optimization
Mozilla Public License 2.0
129 stars 22 forks source link

Fail to Precompiling Pajarito #437

Closed duyanran closed 2 years ago

duyanran commented 3 years ago

Hi, there,

i'm new to Pajarito and trying to understand how it work but stuck with "using" it ...

i looked through issues you've been submitted before and most of the model was built by JuMP, how did it work with Convex? Since i couldn't test it myself, just wondering..

and it feels like if i want to solver a MISDP, i need to have two solver: one for mip(like GLPK) and one for sdp(like mosek)?

if anyone has any idea, contact me, please ~(Pajarito v0.7.0,JuMP v0.18.5)

julia> using Pajarito [ Info: Precompiling Pajarito [2f354839-79df-5901-9f0a-cdb2aac6fe30] ERROR: LoadError: LoadError: UndefVarError: Variable not defined Stacktrace: [1] getproperty(::Module, ::Symbol) at .\Base.jl:26 [2] top-level scope at C:\Users\duyanran\.julia\packages\Pajarito\TFExZ\src\conic_algorithm.jl:38 [3] include(::Module, ::String) at .\Base.jl:377 [4] include(::String) at C:\Users\duyanran\.julia\packages\Pajarito\TFExZ\src\Pajarito.jl:14 [5] top-level scope at C:\Users\duyanran\.julia\packages\Pajarito\TFExZ\src\Pajarito.jl:26 [6] include(::Module, ::String) at .\Base.jl:377 [7] top-level scope at none:2 [8] eval at .\boot.jl:331 [inlined] [9] eval(::Expr) at .\client.jl:449 [10] top-level scope at .\none:3 in expression starting at C:\Users\duyanran\.julia\packages\Pajarito\TFExZ\src\conic_algorithm.jl:38 in expression starting at C:\Users\duyanran\.julia\packages\Pajarito\TFExZ\src\Pajarito.jl:26 ERROR: Failed to precompile Pajarito [2f354839-79df-5901-9f0a-cdb2aac6fe30] to C:\Users\duyanran\.julia\compiled\v1.4\Pajarito\H9c3Q_koHwl.ji. Stacktrace: [1] error(::String) at .\error.jl:33 [2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1272 [3] _require(::Base.PkgId) at .\loading.jl:1029 [4] require(::Base.PkgId) at .\loading.jl:927 [5] require(::Module, ::Symbol) at .\loading.jl:922

odow commented 2 years ago

The current version of Pajarito is effectively unmaintained. We are working on a replacement. Closing in favor of #411