Giter Site home page Giter Site logo

Comments (7)

RussTedrake avatar RussTedrake commented on August 15, 2024

i've confirmed that changing my bazel settings on the local install from --config=snopt_fortran back to --config=snopt fixes the issue on this machine. this confirms for me that it is a difference in snopt between versions.

from underactuated.

jwnimmer-tri avatar jwnimmer-tri commented on August 15, 2024

I guess we're not using the fortran snopt in the precompiled binaries yet?

That is correct; RobotLocomotion/drake#10422 is the overall tracking issue.

... it is a difference in snopt between versions.

In your builds that failed/passed when toggling --config=snopt_fortran/--config=snopt, which source release of SNOPT were you testing the acrobot dircol against? Assuming you were using Bazel builds, the question is what was env SNOPT_PATH set to?

We're going to need to categorize this failure as either one of the "currently known bugs in SNOPT Fortran" shown in RobotLocomotion/drake#10422, or else file a new issue for this failure mode if its different. It's possible that @hongkai-dai has some insight in that regard, or might be able to suggest some tolerance or tuning options that can mitigate this change.

from underactuated.

RussTedrake avatar RussTedrake commented on August 15, 2024

i have been testing on CI against the "latest" "continuous" drake-binaries
https://github.com/RussTedrake/underactuated/blob/master/drake_version.json

I also run nightly tests against "nightly" (I pick early AM to be after the drake nightlies come out). have not seen the failure. My CI does not set SNOPT_PATH. https://github.com/RussTedrake/underactuated/blob/master/.circleci/config.yml

On my machine (where I was seeing failures when I flipped to snopt_fortran), I build directly from master, and do set SNOPT_PATH="git".

from underactuated.

jwnimmer-tri avatar jwnimmer-tri commented on August 15, 2024

... testing on CI against the "latest" "continuous" drake-binaries; also ... against "nightly"; have not seen the failure. My CI does not set SNOPT_PATH.

With precompiled Drake, you are getting SNOPT 7.4 source archive built using F2C mode.

On my machine (where I was seeing failures when I flipped to snopt_fortran), I build directly from master, and do set SNOPT_PATH="git".

That's the SNOPT 7.4 source archive (as of RobotLocomotion/drake#10430) built using Fortran mode.

Given that data, it sounds to me like this issue is neither RobotLocomotion/drake#10423 (unbounded) nor RobotLocomotion/drake#10424 (bug in 7.6 fortran sources, not 7.4 fortran sources).

from underactuated.

RussTedrake avatar RussTedrake commented on August 15, 2024

To be clear, I don't think we can declare this new instance as a bug. The nonlinear optimization is not guaranteed to find a solution to this problem. But it is a degradation in performance. 7.4 seems to solve it well, and 7.6 does not.

from underactuated.

jwnimmer-tri avatar jwnimmer-tri commented on August 15, 2024

... and 7.6 does not.

nit: The above data only shows that 7.4/Fortran does not solve it well (but 7.4/F2C does). We haven't tested 7.6/Fortran yet.

from underactuated.

RussTedrake avatar RussTedrake commented on August 15, 2024

I believe this has been resolved, as since RobotLocomotion/drake#10422 has been completed. will reopen if more testing results in a different understanding.

from underactuated.

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.