Comments (3)
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.
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.
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)
- Add support for text input/output of problem descriptions
- > constraint does not behave as expected HOT 1
- Redundand constraint leads to wrong solution HOT 2
- Additional Examples HOT 1
- Feasible problem reported unbounded HOT 2
- UNBOUNDED-PROBLEM-ERROR raised for bounded problem. HOT 3
- Solution does not appear to be optimal HOT 8
- Supporting GLPK HOT 6
- Array index-out-of-bounds when solving ILP HOT 1
- Error while parsing arguments to MACROLET REDUCED-COST HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linear-programming.