Giter VIP home page Giter VIP logo

Comments (5)

odow avatar odow commented on September 27, 2024 1

See #11

You can get Ipopt to print it if you turn up the output level.

from rosetta-opf.

frapac avatar frapac commented on September 27, 2024

I agree that we should report the time spent in the callbacks (apparently the latest Ipopt version does not report that information anymore). On my side, I am using the following fields in JuMP:
https://github.com/jump-dev/JuMP.jl/blob/master/src/nlp.jl#L359-L364

knowing that JuMP:

  • (1) first run a forward and a reverse passes to evaluate the objective, the constraints, the gradient and the Jacobian
  • (2) then evaluate the Hessian of the Lagrangian apart with a forward-over-reverse pass.

Hence, if we exclude the time spent in the extraction, we know only the time spent in (1) (objective+gradient+constraint+Jacobian) and in (2) (Hessian). At least as far as I understand JuMP's AD.

from rosetta-opf.

odow avatar odow commented on September 27, 2024

You can get Ipopt to print it if you turn up the output level.

Actually, it's:

set_optimizer_attribute(model, "print_timing_statistics", "yes")

from rosetta-opf.

ccoffrin avatar ccoffrin commented on September 27, 2024

Is there anything actionable to do on this topic? As far as I can tell, we already collect as much of this as we can.

from rosetta-opf.

odow avatar odow commented on September 27, 2024

from rosetta-opf.

Related Issues (14)

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.