Problem installing SigmoidalProgramming

I tried installing SigmoidalProgramming in Julia 1.8.5 and it gave the following error.

julia> using SigmoidalProgramming
[ Info: Precompiling SigmoidalProgramming [ce2a0656-6bed-5c64-9e01-e7b1ac833b80]
ERROR: LoadError: You have installed version 1.17.7 of Clp, which is not supported by Clp.jl. If the version change was breaking, changes will need to be made to the Julia code. Please open an issue at https://github.com/jump-dev/Clp.jl.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] top-level scope
   @ C:\Users\meets\.julia\packages\Clp\nnuI6\src\Clp.jl:24
 [3] include
   @ .\Base.jl:419 [inlined]
 [4] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String)
   @ Base .\loading.jl:1554
 [5] top-level scope
   @ stdin:1
in expression starting at C:\Users\meets\.julia\packages\Clp\nnuI6\src\Clp.jl:1
in expression starting at stdin:1
ERROR: LoadError: Failed to precompile Clp [e2554f3b-3117-50c0-817c-e040a3ddf72d] to C:\Users\meets\.julia\compiled\v1.8\Clp\jl_B53A.tmp.
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:35
  [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
    @ Base .\loading.jl:1707
  [3] compilecache
    @ .\loading.jl:1651 [inlined]
  [4] _require(pkg::Base.PkgId)
    @ Base .\loading.jl:1337
  [5] _require_prelocked(uuidkey::Base.PkgId)
    @ Base .\loading.jl:1200
  [6] macro expansion
    @ .\loading.jl:1180 [inlined]
  [7] macro expansion
    @ .\lock.jl:223 [inlined]
  [8] require(into::Module, mod::Symbol)
    @ Base .\loading.jl:1144
  [9] include(mod::Module, _path::String)
    @ Base .\Base.jl:419
 [10] include(x::String)
    @ SigmoidalProgramming C:\Users\meets\.julia\packages\SigmoidalProgramming\kLcUj\src\SigmoidalProgramming.jl:1
 [11] top-level scope
    @ C:\Users\meets\.julia\packages\SigmoidalProgramming\kLcUj\src\SigmoidalProgramming.jl:6
 [12] include
    @ .\Base.jl:419 [inlined]
 [13] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
    @ Base .\loading.jl:1554
 [14] top-level scope
    @ stdin:1
in expression starting at C:\Users\meets\.julia\packages\SigmoidalProgramming\kLcUj\src\sp.jl:2
in expression starting at C:\Users\meets\.julia\packages\SigmoidalProgramming\kLcUj\src\SigmoidalProgramming.jl:1
in expression starting at stdin:1
ERROR: Failed to precompile SigmoidalProgramming [ce2a0656-6bed-5c64-9e01-e7b1ac833b80] to C:\Users\meets\.julia\compiled\v1.8\SigmoidalProgramming\jl_A698.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:35
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
   @ Base .\loading.jl:1707
 [3] compilecache
   @ .\loading.jl:1651 [inlined]
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1337
 [5] _require_prelocked(uuidkey::Base.PkgId)
   @ Base .\loading.jl:1200
 [6] macro expansion
   @ .\loading.jl:1180 [inlined]
 [7] macro expansion
   @ .\lock.jl:223 [inlined]
 [8] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:1144

I tired installing the older version of clp as specified by Sigmoidal programming git but that did not work. Can anyone help me?

I made a couple of changes so that it should work with the latest versions of JuMP and the solvers. You should be able to install it via my branch: Bump compat versions to support JuMP v1 by odow · Pull Request #14 · madeleineudell/SigmoidalProgramming.jl · GitHub

But note that SigmoidalProgramming is old, has no tests, and is not supported. I’ll suggest again that the best course of action is for you to download the code and fix it locally:

x-ref Using custom built Clp binaries for v1.0.1 · Issue #136 · jump-dev/Clp.jl · GitHub