Code Monkey home page Code Monkey logo

Comments (4)

boranzhao avatar boranzhao commented on June 8, 2024

I have the same question.

from parametron.jl.

freemin7 avatar freemin7 commented on June 8, 2024

I gained some more insight into the JuMP ecosystem. All the non linear stuff is currently handled by an oracle you call for function values, gradients and hessians.
So JuMP handles non-linear, non-quadratic terms very neglected and that might be fixed JuMP 2.0.
If someone from the team can confirm this, this would be great

from parametron.jl.

tkoolen avatar tkoolen commented on June 8, 2024

Sorry about the response time. I'm afraid nonlinear constraints / objectives are out of scope for Parametron. The main driving force for this package's development was the need for a way to very quickly solve a series of linear or quadratic programs with the same sparsity pattern, which JuMP didn't offer.

All the non linear stuff is currently handled by an oracle you call for function values, gradients and hessians.

I don't think that's completely fair. https://jump.dev/JuMP.jl/v0.21.1/nlp/ shows how JuMP is able to automatically differentiate the objective and constraint functions you give it, and @NLparameter can now be used to achieve similar warm starting / cheap problem modification behavior to what this package offers (though I'm not sure if they've gone to the same lengths to try to avoid allocations). In my experience, vector-valued constraint functions were always a bit of a hassle to implement in JuMP, but it's not impossible to work around.

from parametron.jl.

freemin7 avatar freemin7 commented on June 8, 2024

I understand that NLP isn't in scope for Parametron then. This is fair.

All the non linear stuff is currently handled by an oracle you call for function values, gradients and hessians

Should probably have said

All the non linear stuff is currently handled by an oracle you call for objective values, constraint value, gradient of constraints and hessian of the Laplacian.

for an more accurate picture. I will look into the warm starting capabilities and program modification as i might want to make that functionality available from solvers I'm wrapping.

from parametron.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.