Comments (7)
from nloptcontrol.jl.
Thanks. I tried, but the checkout does not work. (I am not an expert in Julia - so please forgive me if I am asking stupid questions).
julia> Pkg.checkout("ReverseDiffSparse")
ERROR: ReverseDiffSparse is not a git repo
Stacktrace:
[1] checkout(::String, ::String, ::Bool, ::Bool) at ./pkg/entry.jl:224
[2] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}})() at ./pkg/dir.jl:36
[3] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}}, ::String) at ./file.jl:70
[4] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at ./pkg/dir.jl:36
[5] #checkout#1(::Bool, ::Bool, ::Function, ::String, ::String) at ./pkg/pkg.jl:188
[6] checkout(::String) at ./pkg/pkg.jl:188
from nloptcontrol.jl.
from nloptcontrol.jl.
It seems to work now, thanks!
But I have another issue, which might be related. I tried to follow the tutorial https://github.com/JuliaMPC/NLOptControl.jl/blob/master/examples/tutorial.ipynb
, but I get the following error:
n=define(de;numStates=3,numControls=1,X0=X0,XF=XF);
MethodError: no method matching define(::Array{Expr,1}; numStates=3, numControls=1, X0=[0.0, 0.0, 0.0], XF=[2.0, -2.0, NaN])
Closest candidates are:
define(; numStates, numControls, X0, XF, XL, XU, CL, CU, XS, CS) at /Users/roi/.julia/v0.6/NLOptControl/src/setup.jl:25
Stacktrace:
[1] include_string(::String, ::String) at ./loading.jl:522
Do you know if there is a problem in the installation, or is it something else?
from nloptcontrol.jl.
from nloptcontrol.jl.
Thanks. I was able to run the examples.
I have another question: my differential equations have also explicit time dependence. E.g. x2[j] * sin(t)
. Is there a way to use the actual time value?
from nloptcontrol.jl.
from nloptcontrol.jl.
Related Issues (20)
- Is it working on julia 1.0? HOT 1
- About nonlinear constrain HOT 1
- How to set the final destination as a hard constrain HOT 1
- enabling scaling of the states and controls HOT 2
- NLOptControl and KNITRO HOT 3
- Defining Dynamics Model HOT 1
- Starting point for optimization HOT 2
- Info about upcoming removal of packages in the General registry
- package not found with Pkg.add() HOT 1
- Julia 1.0+ not supported HOT 16
- Is it possible to specify boundary conditions for the control function? HOT 1
- Key error HOT 15
- Docs: broken links
- Simple Optimal control problem HOT 14
- ERROR: The following package names could not be resolved HOT 2
- Tutorial examples are not working HOT 1
- Vector-equation dynamics/objective?
- Failing to precompile with NLOptControl and JuMP HOT 3
- How to use the "saveData(n)" function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nloptcontrol.jl.