javascript-lp-solver 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/dist/index.browser.mjs +515 -774
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.cjs +515 -774
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +38 -33
- package/dist/index.mjs +515 -774
- package/dist/index.mjs.map +1 -1
- package/dist/solver.global.js +515 -774
- package/dist/solver.global.js.map +1 -1
- package/dist/types/main.d.ts +1 -1
- package/dist/types/polyopt.d.ts +1 -1
- package/dist/types/shims/external.d.ts +2 -6
- package/dist/types/tableau/index.d.ts +1 -4
- package/dist/types/tableau/min-heap.d.ts +4 -0
- package/dist/types/tableau/presolve.d.ts +0 -10
- package/dist/types/tableau/simplex.d.ts +16 -0
- package/dist/types/tableau/solution.d.ts +0 -1
- package/dist/types/tableau/tableau.d.ts +6 -0
- package/dist/types/tableau/types.d.ts +4 -21
- package/dist/types/test-utils/problem-generator.d.ts +2 -2
- package/package.json +9 -1
- package/scripts/ts-node-register.js +1 -1
package/README.md
CHANGED
|
@@ -169,15 +169,15 @@ worker.postMessage(model);
|
|
|
169
169
|
|
|
170
170
|
## Performance
|
|
171
171
|
|
|
172
|
-
Representative benchmarks
|
|
173
|
-
|
|
174
|
-
| Problem | Variables | Constraints | Integers | Time
|
|
175
|
-
| ---------------- | --------- | ----------- | -------- |
|
|
176
|
-
| Large Farm MIP | 100 | 35 | 100 |
|
|
177
|
-
| Monster LP | 552 | 600 | 0 |
|
|
178
|
-
| Monster II MIP | 924 | 888 | 112 |
|
|
179
|
-
| Stock Cutting | 31 | 5 | 31 |
|
|
180
|
-
| Vendor Selection | 1640 | 1641 |
|
|
172
|
+
Representative benchmarks (Intel i5-10400 @ 2.9GHz, Node.js 22, 10 runs averaged):
|
|
173
|
+
|
|
174
|
+
| Problem | Variables | Constraints | Integers | Avg Time |
|
|
175
|
+
| ---------------- | --------- | ----------- | -------- | -------- |
|
|
176
|
+
| Large Farm MIP | 100 | 35 | 100 | 61ms |
|
|
177
|
+
| Monster LP | 552 | 600 | 0 | 6ms |
|
|
178
|
+
| Monster II MIP | 924 | 888 | 112 | 136ms |
|
|
179
|
+
| Stock Cutting | 31 | 5 | 31 | 3ms |
|
|
180
|
+
| Vendor Selection | 1640 | 1641 | 40 | 656ms |
|
|
181
181
|
|
|
182
182
|
## Documentation
|
|
183
183
|
|