Coder Social home page Coder Social logo

Comments (16)

mfalt avatar mfalt commented on June 12, 2024 2

@azev77 I created a PR (#25) that updates to julia 1, but I wans't able to figure out what is going wrong. Since I didn't write the original code, I'm not able to understand all parts. I think we have to wait on @huckl3b3rry87 to see if he can fix the last parts.

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024 1

@azev77 you can use it with julia 0.6.4, is there a reason you need the latest version of julia?

@mfalt sorry for the delay on this, I will try to look into this soon

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024 1

@azev77 very cool, I am interested in seeing the application of NLOptControl to economics. Are you designing an algorithm for options trading?

I will try to look at it this weekend

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

from nloptcontrol.jl.

alexjbuck avatar alexjbuck commented on June 12, 2024

Awesome! I wasn't sure if you were still using/supporting this or not, it had been a few months since the last commit.

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

from nloptcontrol.jl.

mfalt avatar mfalt commented on June 12, 2024

It would be great if this is upgraded to 1.0. If you have any problems with the PR or any updates that are unclear, I am happy to help you resolve them. I think this package could be very useful. We are already using it as part of a toolchain for a student-lab at our university.

The only thing that I think should be added is something along the lines of #5 , I am looking a bit at how to use ModelingToolkit.jl for this.

from nloptcontrol.jl.

azev77 avatar azev77 commented on June 12, 2024

@huckl3b3rry87 @alexjbuck @mfalt
Guys I just tried Pkg.add("NLOptControl") following the doc & unable to install.

I'm writing a note on optimal control for econ & would be awesome to show off your package.
Any idea on a time-line?

FYI:
julia> versioninfo()
Julia Version 1.3.0
Commit 46ce4d7933 (2019-11-26 06:09 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Xeon(R) CPU E5-1630 v3 @ 3.70GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
Environment:
JULIA_EDITOR = "C:\Users\azevelev\AppData\Local\atom\app-1.43.0\atom.exe" -a
JULIA_NUM_THREADS = 4

from nloptcontrol.jl.

azev77 avatar azev77 commented on June 12, 2024

1 Yeah, I need it for the latest Julia.
2 I'd be happy to contribute a few examples from economics to your docs once it works, if you're interested

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

@azev77 sounds good, yeah extra examples are always great

What is your timeline?

from nloptcontrol.jl.

azev77 avatar azev77 commented on June 12, 2024

I'm preparing a blog post on Julia for economics.
I wanna write it over the next two weeks. (A lot of it is already done.)

I can probably post my current version w/o your package, & update it when your package works.

from nloptcontrol.jl.

azev77 avatar azev77 commented on June 12, 2024

That would be awesome.
I'm writing a post on the advantages of Julia for an Econ audience.

The first example is a routine consumption-saving model every econ student solves (by hand) in grad school.
-then I spice it up w/ borrowing constraints
(currently I do all this w/ DifferentialEquations.jl, but the NLOptControl interface is sweet!)
-then I add endogenous labor & housing choice (with adjustment costs)

The second example is firm profit maximization.
Again, starting w/ simplest model, then adding layers.

The third example is the optimal-growth model.

To solve finance problems (such as options trading etc) I need some of the state variables to be stochastic. This is usually done by solving an HJB equation. EconPDEs is amazing for certain problems, but it doesn't handle boundaries well yet.

from nloptcontrol.jl.

azev77 avatar azev77 commented on June 12, 2024

@huckl3b3rry87 any luck with this?

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

from nloptcontrol.jl.

huckl3b3rry87 avatar huckl3b3rry87 commented on June 12, 2024

this should do it #30

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.