oxfordcontrol / switchtimeopt.jl Goto Github PK
View Code? Open in Web Editor NEWSwitchTimeOpt.jl - Switching Time Optimization in Julia
License: Other
SwitchTimeOpt.jl - Switching Time Optimization in Julia
License: Other
I have started the SwitchedSystems.jl package for Switched Systems in Julia.
The package is not planned to be specific to any algorithm but rather give a common interface for different algorithms.
Therefore, it seems to make sense to add SwitchTimeOpt as a option for design switching control.
I am still unsure how to do this between:
In the second option, this would mean that Ipopt becomes an indirect requirement for SwitchedSystems.jl. This is not a big issue but it is a bit annoying. Would it be possible to remove it from the REQUIRE file and select your default solver using this method ?
As described in https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/ we are planning on removing packages that do not support 1.0 from the General registry. This package has been detected to not support 1.0 and is thus slated to be removed. The removal of packages from the registry will happen approximately a month after this issue is open.
To transition to the new Pkg system using Project.toml
, see https://github.com/JuliaRegistries/Registrator.jl#transitioning-from-require-to-projecttoml.
To then tag a new version of the package, see https://github.com/JuliaRegistries/Registrator.jl#via-the-github-app.
If you believe this package has erroneously been detected as not supporting 1.0 or have any other questions, don't hesitate to discuss it here or in the thread linked at the top of this post.
As a follow up of #1 , I have finally decided to split my SwitchedSystems.jl package into an HybridSystems package and a SwitchOnSafety package.
The first one attempts to be a generic interface for HybridSystems.jl It allows both
One way to think about it is that HybridSystems.jl is to hybrid systems what MathOptInterface is to optimization.
I would be interested to know what you think about it and whether you would like to use it for this package.
ODE.jl is slowly being phased out, so for performance I would suggest switching to DifferentialEquations.jl. DifferentialEquations.jl has a low dependency mode so that way you don't need to depend on everything at once. Instead of ode45(f,u0,tspan;kwargs...)
, you can simply translate things to sol = solve(ODEProblem(f,u0,tspan),Tsit5();kwargs)
and then use the sol
type.
Doing it like this, you only need a dependency on using DiffEqBase, OrdinaryDiffEq
. DiffEqBase was in ODE.jl anyways, and OrdinaryDiffEq.jl is the new solver you're using. This setup also gives you access to a whole load of other algorithms as well if you wanted the user to pass in the algorithm type. Note that here tspan
must be a tuple and the types are respected, so a change to tspan = (0.0,1.0)
instead of tspan = [0,1]
is required.
If you're interested, I'll setup the PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.