Comments (5)
It should be technically possible, but I'm not working on it at the moment. I'm marking it as a possible extension, I'm more than happy to look at a pull requests for it though.
from cutsolver.
@erikhagemeijer have a look at the output example in my branch feature/multi-stocks : https://github.com/ModischFabrications/CutSolver/blob/feature/multi-stocks/tests/res/out/testresult_multi.json
This is what you would expect from the API, right? I might change a few things, but that's the rough sketch I have in mind
from cutsolver.
from cutsolver.
Perfect, I will continue work on the implementation then.
I will add your request to #68 , could be a nice addition there.
from cutsolver.
Relevant for replacement vs additional path solution is the execution time for old-style jobs.
new (only bruteforce migrated, others are have cheap workarounds):
Going from 4, 3, 2 to 5, 3, 2 in test_m increases runtime of bruteforce to 720ms and 83ms (wow!), seems like the new permutations increase performance a lot more than the new solver type slows it down. Old solution has speedup from 8s to 0.2s for 8, 3, 2, which makes even larger jobs possible.
New structure shows minor slowdown, but I think it's worth it, at least for the bruteforce solver. Unifying the codebase will also make testing more thorough and maintenance much easier.
from cutsolver.
Related Issues (20)
- Autolabel versions HOT 8
- evaluate black formatting HOT 1
- Calculate code coverage HOT 3
- Fix Autobuild/Better build script HOT 5
- Describe Example deployment HOT 11
- Find permanent hosting HOT 8
- Not optimized result HOT 4
- Coverage and Docker image tests
- Fix Build tagging HOT 4
- [Bug] Zero cutting width not working with FFD HOT 4
- [Bug] Bruteforce applies cuts a second time HOT 5
- Allow items with a length equal to stock length HOT 2
- Implement bruteforce with more native solution HOT 1
- Strip duplicates from bruteforce solver HOT 3
- Test for stable results
- Weight equally good solutions by some metric HOT 5
- Pass constants/thresholds by CLI
- group equal required and stocks HOT 2
- Freeze (100% cpu usage) on solve 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 cutsolver.