Comments (4)
Thanks for testing, that is definitely weird, thanks for the repro. Solver selection is planned, see #5 , but brute force should give guaranteed best solutions up to 12 entries. I haven't looked into the code for a while, do you have the means to debug yourself?
from cutsolver.
Just tested it out on a local installation, seems like it works on my end:
{
"job": {
"max_length": 6500,
"cut_width": 20,
"target_sizes": {
"1258": 2,
"3958": 2
}
},
"solver_type": "bruteforce",
"time_us": 137,
"lengths": [
[
3958,
1258
],
[
3958,
1258
]
]
}
Can you pull the newest image, restart the application and try again with these values?
from cutsolver.
from cutsolver.
Huh, weird that the other environment gives wrong results, but good that it works now.
Sounds interesting, feel free to send a reference if you intend to make it public.
from cutsolver.
Related Issues (20)
- Workers and a job queue
- Cache answers HOT 3
- offer constants readout as route?
- fix calculation HOT 3
- shrink docker image HOT 2
- reevaluate pipenv HOT 1
- improve travis tests HOT 2
- add more badges HOT 2
- add Dockerfile labels HOT 1
- evaluate size increase of wget HOT 7
- 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
- Extend CutSolver to accept multiple stock lengths/number of stock HOT 5
- Coverage and Docker image tests
- Fix Build tagging HOT 4
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.