@areb0s/scip.js 1.0.7 → 1.0.9
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 +152 -44
- package/dist/scip-core.js +1 -1
- package/dist/scip-wrapper.js +33 -17
- package/dist/scip.js +195 -36
- package/dist/scip.js.map +2 -2
- package/dist/scip.min.js +12 -12
- package/dist/scip.min.js.map +3 -3
- package/dist/scip.wasm +0 -0
- package/dist/types.d.ts +8 -2
- package/package.json +1 -1
package/dist/scip.wasm
CHANGED
|
Binary file
|
package/dist/types.d.ts
CHANGED
|
@@ -29,8 +29,14 @@ export interface InitOptions {
|
|
|
29
29
|
* Solver options
|
|
30
30
|
*/
|
|
31
31
|
export interface SolveOptions extends InitOptions {
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Input format (default: 'lp')
|
|
34
|
+
* - 'lp': LP format (linear problems only)
|
|
35
|
+
* - 'mps': MPS format (linear problems only)
|
|
36
|
+
* - 'zpl': ZIMPL format (supports MINLP, nonlinear expressions)
|
|
37
|
+
* - 'cip': CIP format (SCIP's native format)
|
|
38
|
+
*/
|
|
39
|
+
format?: 'lp' | 'mps' | 'zpl' | 'cip';
|
|
34
40
|
/** Time limit in seconds (default: 3600) */
|
|
35
41
|
timeLimit?: number;
|
|
36
42
|
/** Relative gap for MIP (e.g., 0.01 for 1%) */
|