Git Product home page Git Product logo

Comments (5)

bqpd avatar bqpd commented on August 12, 2024

The email transcript does not appear to be attached! (edit: now it is!)

Should appliedopt also be able to use the CVXopt GP solver?

from gpkit.

whoburg avatar whoburg commented on August 12, 2024

I'm prioritizing the exposure of mosek over cvxopt in hopes that we can "fail fast" on using python/numpy, in the event we can't get mosek working from Python. Cvxopt is probably a natural thing to eventually expose, but it comes with a ~30x performance hit (edit: performance hit does not actually appear to be this bad) on the simple problems we've tried. I want to verify we can call mosek right away to ensure we are setting ourselves up to solve big problems.

from gpkit.

bqpd avatar bqpd commented on August 12, 2024

I've got something working (besides the command line interface, that was silly but educational) but it seems that, since that they didn't build expopt as a dynamic library anywhere, it'll have to be built by us!

from gpkit.

bqpd avatar bqpd commented on August 12, 2024

Annoyingly, their expopt code leaks two debug statements straight to printf, instead of to the task's defined stream . :(

I got it working in the existing framework! But it's only twice as fast as CVXopt on my old computer?!
This even though the profiler says that it's spending >90% of its time running their C code...maybe:

  • @whoburg has a computer is much quicker than mine, or
  • that simple aircraft example wasn't the example we anticipated a 30x speedup for, or
  • Windows is terrible, or
  • their matlab implementation is pulling some additional tricks (e.g., multithreading).

from gpkit.

whoburg avatar whoburg commented on August 12, 2024

Re: leaking debug statements: once we've got something fairly stable working, I'd be willing to get in touch with them and see if they want to pull in your improvements. They are pretty responsive and might welcome it. Just need to make sure they credit @bqpd .

from gpkit.

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.