@areb0s/scip.js 1.0.8 → 1.1.0

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/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
- /** Input format: 'lp', 'mps', 'zpl' (default: 'lp') */
33
- format?: 'lp' | 'mps' | 'zpl';
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%) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@areb0s/scip.js",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "SCIP Optimization Solver compiled to WebAssembly - LP, MIP, and MINLP support",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",