Giter Site home page Giter Site logo

Comments (3)

neil-lindquist avatar neil-lindquist commented on June 12, 2024

I've fixed the unbounded error; although, it now fails to find an optimal solution before running out of memory.
I'm guessing GLPK uses some advanced tricks to cut down the search space more effectively and know when a solution is effectively optimal.

I don't know what your end use is, but I'm guessing you could likely skip the integer constraints and just round to the nearest integer before you use them. The values of w ORE HKGWZ GPVTF QDVJ KHKGT XJWVT DCFZ NZVS PSHF are 8.289275e7 1.0e12 4.3484155e9 7.5524506e8 8.289275e7 4.1446378e8 3.6472812e9 1.2920908e10 2.7665457e9 1.3357246e10, so you'd be introducing an error less than 00.001% to those variables.

from linear-programming.

bd339 avatar bd339 commented on June 12, 2024

Great! I haven't had the chance to try it yet but it's not a big problem. I already got the solution from GLPK and it was very much a one-off kind of thing. I only opened these bugs to improve the quality of the implementation :)
GLPK found the solution in 0.1 secs. But it does mean that this library probably is not that practical for integer programming for me. Some of my ILPs even choke GLPK and I have to use a commercial solver.

from linear-programming.

neil-lindquist avatar neil-lindquist commented on June 12, 2024

Good to hear that this wasn't hindering you. And the issues have exposed some embarrassing holes in the test suite, so I really appreciate them.

Yea, this library isn't well tuned for large/hard problems.
Adding a CPLEX or Gurobi backend shouldn't be too hard, I just haven't made it enough of a priority.

from linear-programming.

Related Issues (11)

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.