Coder Social home page Coder Social logo

Comments (3)

albheim avatar albheim commented on June 1, 2024

Having the same problem, any progress on this?

from nloptcontrol.jl.

lilianping avatar lilianping commented on June 1, 2024

Excuse me, is your problem solved?I also encountered a similar problem when installing NLOPT
`import Pkg; Pkg.add(path="https://github.com/JuliaMPC/NLOptControl.jl")
Fetching: [========================================>] 100.0 %36mFetching: [===> ] 5.2 % [===> ] 6.9 % [========> ] 17.6 %] 19.3 %Fetching: [==========> ] 24.1 %Fetching: [===========> ] 26.9 %37.8 % ] 40.7 %54.0 %58.5 %Fetching: [================================> ] 78.6 % [=================================> ] 82.0 % ] 87.5 % ] 96.5 %] 99.0 %
Unsatisfiable requirements detected for package OrdinaryDiffEq [1dea7af3]:
OrdinaryDiffEq [1dea7af3] log:
├─possible versions are: 4.0.0-6.0.3 or uninstalled
├─restricted to versions * by NLOptControl [290757bd], leaving only versions 4.0.0-6.0.3
│ └─NLOptControl [290757bd] log:
│ ├─possible versions are: 0.3.0 or uninstalled
│ └─NLOptControl [290757bd] is fixed to version 0.3.0
├─restricted by compatibility requirements with Parameters [d96e819e] to versions: [4.0.0-5.6.0, 5.17.0-6.0.3] or uninstalled, leaving only versions: [4.0.0-5.6.0, 5.17.0-6.0.3]
│ └─Parameters [d96e819e] log:
│ ├─possible versions are: 0.9.1-0.12.3 or uninstalled
│ ├─restricted to versions * by NLOptControl [290757bd], leaving only versions 0.9.1-0.12.3
│ │ └─NLOptControl [290757bd] log: see above
│ └─restricted by compatibility requirements with ContactImplicitMPC [842347fd] to versions: 0.12.0-0.12.3
│ └─ContactImplicitMPC [842347fd] log:
│ ├─possible versions are: 0.1.0-0.2.0 or uninstalled
│ └─restricted to versions * by an explicit requirement, leaving only versions 0.1.0-0.2.0
├─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 5.46.0-6.0.3 or uninstalled, leaving only versions: 5.46.0-6.0.3
│ └─StaticArrays [90137ffa] log:
│ ├─possible versions are: 0.8.0-1.2.13 or uninstalled
│ └─restricted by compatibility requirements with ContactImplicitMPC [842347fd] to versions: 1.2.0-1.2.13
│ └─ContactImplicitMPC [842347fd] log: see above
└─restricted by compatibility requirements with DataStructures [864edb3b] to versions: 4.0.0-5.42.3 or uninstalled — no versions left
└─DataStructures [864edb3b] log:
├─possible versions are: 0.9.0-0.18.11 or uninstalled
├─restricted by compatibility requirements with ReverseDiffSparse [89212889] to versions: 0.9.0-0.18.11
│ └─ReverseDiffSparse [89212889] log:
│ ├─possible versions are: 0.8.2-0.8.6 or uninstalled
│ ├─restricted to versions * by NLOptControl [290757bd], leaving only versions 0.8.2-0.8.6
│ │ └─NLOptControl [290757bd] log: see above
│ └─restricted by compatibility requirements with ForwardDiff [f6369f11] to versions: 0.8.5-0.8.6 or uninstalled, leaving only versions: 0.8.5-0.8.6
│ └─ForwardDiff [f6369f11] log:
│ ├─possible versions are: 0.9.0-0.10.24 or uninstalled
│ ├─restricted by compatibility requirements with ReverseDiffSparse [89212889] to versions: 0.9.0-0.10.24
│ │ └─ReverseDiffSparse [89212889] log: see above
│ ├─restricted by compatibility requirements with ContactImplicitMPC [842347fd] to versions: 0.10.0-0.10.24
│ │ └─ContactImplicitMPC [842347fd] log: see above
│ └─restricted by compatibility requirements with StaticArrays [90137ffa] to versions: 0.10.13-0.10.24 or uninstalled, leaving only versions: 0.10.13-0.10.24
│ └─StaticArrays [90137ffa] log: see above
├─restricted by compatibility requirements with JLD2 [033835bb] to versions: 0.17.0-0.18.11
│ └─JLD2 [033835bb] log:
│ ├─possible versions are: 0.1.0-0.4.16 or uninstalled
│ └─restricted by compatibility requirements with ContactImplicitMPC [842347fd] to versions: 0.4.0-0.4.16
│ └─ContactImplicitMPC [842347fd] log: see above
└─restricted by compatibility requirements with Compat [34da2185] to versions: 0.9.0-0.17.20 or uninstalled, leaving only versions: 0.17.0-0.17.20
└─Compat [34da2185] log:
├─possible versions are: 1.0.0-3.41.0 or uninstalled
└─restricted by compatibility requirements with ReverseDiffSparse [89212889] to versions: 1.0.0-2.2.1
└─ReverseDiffSparse [89212889] log: see above

Stacktrace:
[1] propagate_constraints!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; log_events::Bool)
@ Pkg.Resolve C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Resolve\graphtype.jl:1048
[2] propagate_constraints! (repeats 2 times)
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Resolve\graphtype.jl:989 [inlined]
[3] simplify_graph!(graph::Pkg.Resolve.Graph, sources::Set{Int64}; clean_graph::Bool)
@ Pkg.Resolve C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Resolve\graphtype.jl:1503
[4] simplify_graph! (repeats 2 times)
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Resolve\graphtype.jl:1503 [inlined]
[5] resolve_versions!(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:405
[6] targeted_resolve(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, preserve::Pkg.Types.PreserveLevel)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1210
[7] tiered_resolve(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1196
[8] _resolve
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1216 [inlined]
[9] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}, new_git::Vector{Base.UUID}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform)
@ Pkg.Operations C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\Operations.jl:1231
[10] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Iterators.Pairs{Symbol, Base.TTY, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.TTY}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:203
[11] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:79
[12] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:77
[13] #add#22
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:74 [inlined]
[14] add
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:74 [inlined]
[15] add(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::String, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Pkg\src\API.jl:97
[16] top-level scope
@ In[3]:1
[17] eval
@ .\boot.jl:360 [inlined]
[18] include_string(mapexpr::typeof(REPL.softscope), mod::Module, code::String, filename::String)
@ Base .\loading.jl:1094
`

from nloptcontrol.jl.

stephans3 avatar stephans3 commented on June 1, 2024

This package seems to be no longer developed.
If you search for a Model Predictive Control example using JuMP you may take a look here:
DynamicWalking2018.jl - Optimization with JuMP

from nloptcontrol.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.